-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/16/10 1:28 PM, Joseph wrote: > Thank you very much for your help! > > (I feel I should add that I was previously using MacPorts but > uninstalled it after reading about conflicts with Fink.) > >> 1) The output of "fink list -v | head -n 2" so that we can tell whether >> you're on 32-bit or 64-bit Fink. > > Unknown option: v > Failed: fink list: unknown option > Type 'fink list --help' for more information.
D'oh! I botched that one. It should have been: fink -V | head -n 2 ; but I can now infer that you're using 32-bit Fink. > >> 2) The full line of the build output just before the errors started to >> show up. Don't post the whole output yet. This helps us see if you're >> linking to non-Fink stuff. > > I hope this is what you are looking for. > > creating gifrotat <snip> > gcc -I/usr/X11R6/include -g -O2 -Wall -o .libs/gif2x11 > gif2x11-gif2x11.o ../lib/.libs/libgif.dylib -L/usr/X11R6/lib > ../lib/libgetarg.a -lX11 > The errors start immediately thereafter? >> 3) The results of running "file /usr/X11R6/lib/libX11.dylib" and "file >> - -L /usr/X11R6/lib/libX11.dylib". > > "file /usr/X11R6/lib/libX11.dylib" output: > > /usr/X11R6/lib/libX11.dylib: Mach-O 64-bit dynamically linked shared > library x86_64 > > "file- -L /usr/X11R6/lib/libX11.dylib" output: > > -bash: file-: command not found > Ooops. I introduced one too many dashes there. No matter. I get the following: $ /usr/bin/file /usr/X11R6/lib/libX11.dylib /usr/X11R6/lib/libX11.dylib: Mach-O universal binary with 3 architectures /usr/X11R6/lib/libX11.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/X11R6/lib/libX11.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/X11R6/lib/libX11.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc > P.s. >> (Don't use "sudo" before "fink"; the "fink" command will sudo for >> itself, and doing it manually may change environment variables) > > Duly noted! > So the problem is that your libX11 is only 64-bit rather than universal, which isn't a normal state of affairs, and so a 32-bit Fink setup can't link against it. You probably should try reinstalling X11 (X11User.pkg) from your Snow Leopard media. Otherwise, you could switch to a 64-bit Fink setup. If you go that route, http://finkers.wordpress.com/2009/08/31/starting-anew/ has helpful information on how to minimize the annoyance. - -- Alexander Hansen, Ph.D. Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzjD2kACgkQB8UpO3rKjQ+KJwCeLDDRyvMYKID4Gzub3Kv8mA8v W34Anik7Tr9xxcRv0GDRc6Tp2PhlKK5B =IrkX -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
