Hi Alexander,

Thanks for getting back to me.  Here is the output from gcc.  I'm a 64bit
Intel machine..

:~/fink-0.32.3$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.9.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


I did run xcode-select as you stated.

The make is still stuck on the same error.

There is something fundamental wrong, because nothing makes at all.

FWIW, I am able to make perl code from CPAN that requires C XS makefiles,
and made GNU  wget from source yesterday with no problems.

Look forward to your response, Thanks,

Scott D.


On 2/28/12 8:05 PM, "Alexander Hansen" <alexanderk.han...@gmail.com> wrote:

>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

Reply via email to