X11-1.4.2 on 64bit Fedora 8 fails to build

Christian Höner zu Siederdissen christian.hoener at uni-bielefeld.de
Tue Jul 1 11:37:35 EDT 2008


Hi,
  
I'm trying to get X11-1.4.1 compiled on a 64 bit x86 Fedora 8 system.
  
runhaskell Setup.hs configure --prefix $HOME/ghc
  
has no problems but

runhaskell Setup.hs build

produces:
  
Preprocessing library X11-1.4.2...
/usr/bin/ld: skipping incompatible /usr/lib/libXinerama.so when
searching for -lXinerama
/usr/bin/ld: cannot find -lXinerama
collect2: ld returned 1 exit status
linking dist/build/Graphics/X11/Types_hsc_make.o failed
command was: /scr/airline/choener/ghc-6.8.3/bin/ghc -optl-lXinerama
\ -optl-lXext -optl-lX11 -optl-L/usr/lib64
\ dist/build/Graphics/X11/Types_hsc_make.o -o
\ dist/build/Graphics/X11/Types_hsc_make


Trying something like

runhaskell Setup.hs configure --ld-options="-nostdlib -L/usr/lib64"
runhaskell Setup.hs build --ld-options="-nostdlib -L/usr/lib64"

does not change the fact that ld looks in the wrong place for
libXinerama. It looks in /usr/lib, but should look in /usr/lib64.

Btw. I don't have root on the machine.

Thanks,
Christian
Höner zu Siederdissen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080701/5f0a9665/attachment.bin


More information about the Glasgow-haskell-users mailing list