Installing GHC
daniel.is.fischer at web.de
daniel.is.fischer at web.de
Sun Mar 18 17:15:28 EDT 2007
> -----Ursprüngliche Nachricht-----
> Von: Ian Lynagh <igloo at earth.li>
> Gesendet: 18.03.07 14:21:47
> An: daniel.is.fischer at web.de
> CC: glasgow-haskell-users at haskell.org
> Betreff: Re: Installing GHC
> On Sun, Mar 18, 2007 at 12:30:15PM +0100, daniel.is.fischer at web.de wrote:
> >
> > It is a debian package, only it doesn't work here. In the sidux forum, I've heard of people having no problems installing ghc, it's just me who gets bitten.
> > Here's a session:
> >
> > root at macduff:/home/dafis# apt-get -s install ghc6
> [...]
> > Inst ghc6 (6.6-3 Debian:unstable)
> > Conf ghc6 (6.6-3 Debian:unstable)
> > root at macduff:/home/dafis# apt-get install ghc6
> [...]
> > Entpacke ghc6 (aus .../archives/ghc6_6.6-3_i386.deb) ...
> > Richte ghc6 ein (6.6-3) ...
>
> OK, that does look suspiciously like it's using the Debian package.
>
> What do
>
> dpkg -L ghc6 | grep /bin
> dpkg -s ghc6
> ls -l /usr/bin/ghc /usr/bin/ghc6 /usr/lib/ghc-6.6/bin/ghc-6.6
> zcat /usr/share/doc/ghc6/changelog.Debian.gz | head -32
> ls -l /usr/local/bin/ghc /usr/local/lib/ghc-6.6/ghc-6.6
>
> say?
>
> You may just also have a locally installed ghc in /usr/local
Oh, damn, indeed. Although "make install" failed with an error with the generic linux binary, it did install the (non-working) binaries in /usr/local/bin, so the system didn't look in /usr/bin, where the working thing is.
So for the next few months I will remember to check whether make left anything behind if it dies with an error...
>
> > root at macduff:/home/dafis# ghc --version
> > /usr/local/lib/ghc-6.6/ghc-6.6: error while loading shared libraries: libreadline.so.4: cannot open shared object file: No such file or directory
>
>
> Thanks
> Ian
>
>
Thanks,
Daniel
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
More information about the Glasgow-haskell-users
mailing list