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.

> 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
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib  -I/usr/X11R6/include  -g -O2 -Wall 
-MT gif2x11-gif2x11.o -MD -MP -MF .deps/gif2x11-gif2x11.Tpo -c -o 
gif2x11-gif2x11.o `test -f 'gif2x11.c' || echo './'`gif2x11.c
gif2x11.c: In function 'main':
gif2x11.c:146: warning: format not a string literal and no format arguments
mv -f .deps/gif2x11-gif2x11.Tpo .deps/gif2x11-gif2x11.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -I/usr/X11R6/include  -g -O2 
-Wall   -o gif2x11 gif2x11-gif2x11.o ../lib/libgif.la ../lib/libgetarg.a    
-L/usr/X11R6/lib -R/usr/X11R6/lib  -lX11   -L/usr/X11R6/lib -R/usr/X11R6/lib  
-lX11 
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 

> 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

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!

> Date: Tue, 16 Nov 2010 12:58:49 -0500
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: build issue with giflib on 10.6 was Re: [Fink-beginners] wine 
> dependency "libming1-dev" for package "graphviz-2.26.3-2" failure
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 11/16/10 12:42 PM, Joseph wrote:
> > Hello!
> > 
> > I am a complete newbie, so please go easy on me for my ignorance. Can
> > anyone help me?
> > 
> > I am trying to install wine on my Mac OS X 10.6.5 via fink and am
> > running into a problem.
> > 
> > In Terminal:
> > sudo fink install wine
> 
> (Don't use "sudo" before "fink"; the "fink" command will sudo for
> itself, and doing it manually may change environment variables)
> 
> > 
> > Can't resolve dependency "libming1-dev" for package "graphviz-2.26.3-2" (no
> > matching packages/versions found)
> > Exiting with failure.
> > 
> > 
> > At this point I have tried installing "libming1-dev" (and I have tried
> > running sudo fink selfupdate-rsync and sudo fink update all before doing
> > so):
> > 
> > sudo fink install libming1-dev
> > 
> > But I get the following error. (I think this section includes the
> > relevant information. If not, I can post the entire output.)
> > 
> 
> It doesn't.  See below.
> 
> > ld: warning: in /usr/X11R6/lib/libX11.dylib, file was built for
> > unsupported file format which is not the architecture being linked (i386)
> > Undefined symbols:
> >   "_XSelectInput", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XAllocColor", referenced from:
> >       _main in gif2x11-gif2x11.o
> >       _main in gif2x11-gif2x11.o
> >   "_XPutImage", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XSetWMProtocols", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XCreateBitmapFromData", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XDefineCursor", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XOpenDisplay", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XCreateImage", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XInternAtom", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XSetForeground", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XSetStandardProperties", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XFreeColors", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XQueryColors", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XMapWindow", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XSetBackground", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XNextEvent", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XFreePixmap", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XCreateWindow", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XCreateFontCursor", referenced from:
> >       _main in gif2x11-gif2x11.o
> >   "_XLookupString", referenced from:
> >       _main in gif2x11-gif2x11.o
> > ld: symbol(s) not found
> > collect2: ld returned 1 exit status
> > make[2]: *** [gif2x11] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > ### execution of make failed, exit code 2
> > Removing runtime build-lock...
> > Removing build-lock package...
> > /sw/bin/dpkg-lockwait -r fink-buildlock-giflib-4.1.6-2
> > (Reading database ... 4605 files and directories currently installed.)
> > Removing fink-buildlock-giflib-4.1.6-2 ...
> > Failed: phase compiling: giflib-4.1.6-2 failed
> > 
> 
> The problem is in giflib, not libming1-dev.  That you wanted
> libming1-dev and ultimately wine are irrelevant to what is going on here.
> 
> We will need the following pieces of information:
> 
> 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.
> 
> 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.
> 
> (1 & 2 are generally good to have for any bug report)
> 
> 3)  The results of running "file /usr/X11R6/lib/libX11.dylib" and "file
> - -L /usr/X11R6/lib/libX11.dylib".
> 
> - -- 
> 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/
> 
> iEYEARECAAYFAkzixlgACgkQB8UpO3rKjQ/EjQCeJJ4KaLO1zkZXxpB/AC8SWM/G
> 4gMAn3LvpI/1D5GkE8ewJekB+usFT6aD
> =+hLN
> -----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

Reply via email to