On Tue, Feb 28, 2012 at 12:35 PM, Deindorfer, Scott <scott.deindor...@teamaol.com> wrote: > Hi, > > I have a Mac Lion and am trying to compile fink from source. > > I am using fink-0.32.3, which says that it's lion compatible. I have Xcode > 4.3 installed and installed gcc from the developer tools offered in Xcode. > My /usr/bin/make and my /usr/bin/gnumake are the same file. > > Here is the basic info: > > Also include the following system information: > Package manager version: 0.32.3 > Distribution version: selfupdate-point (bootstrap), 10.7, x86_64 > Trees: local/main stable/main > Xcode: 4.3 > Max. Fink build jobs: 1 > > here is the gcc error. > > make -C "optlib" "all" > gcc -I/sw/bootstrap/include -I/sw/bootstrap/include -Wall -Wwrite-strings > -Wpointer-arith -Wimplicit -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual > -Wcast-align -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H > -D_GNU_SOURCE -DLOCALEDIR=\"/sw/bootstrap/share/locale\" > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/intl -I../intl > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/include > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21 > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/optlib > -I../include -I.. -I. > -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/optlib > -F/System/Library/Frameworks/CoreFoundation.framework -c getopt.c > getopt.c:582:30: warning: implicit declaration of function 'strcmp' is > invalid in C99 [-Wimplicit-function-declaration] > if (optind != argc && !strcmp (argv[optind], "--")) > > Any help would be very much appreciated. > > Thanks, > > Scott D. >
I just bootstrapped fink-0.31.3 using Xcode 4.3 a couple days ago with no problems. I did make sure to run "sudo xcode-select -switch /Applications/Xcode.app" first. What do you get from running "gcc --version" in a terminal window? -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners