On 5/17/13 10:33 AM, Max Harris wrote:
> After following the directions on this page
> <http://www.finkproject.org/download/srcdist.php>. I see this error in
> my screen when installing fink, I appreciate your help.
>
> ---------------------------------
>

<snip>

> make  -C "main" "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-1220/dpkg-1.10.21/intl
> -I../intl
> -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include
> -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21
> -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/main
> -I../include -I.. -I.
> -I/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib
> -F/System/Library/Frameworks/CoreFoundation.framework  -c main.c
> In file included from main.c:43:
> In file included from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38:
> In file included from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:146:
> /usr/include/MacTypes.h:693:63: error: expected function body after
> function declarator
> Debugger(void)
>                                                 
> __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, ...
>                                                               ^
> <scratch space>:167:1: note: instantiated from:
> __AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8
> ^

...

>
> Also include the following system information:
> Package manager version: 0.34.8
> Distribution version: selfupdate-point (bootstrap), 10.8, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.6.2
> Xcode command-line tools: 4.6.0.0.1.1365549073
> Max. Fink build jobs:  24
>
>
>

I didn't reproduce your error (10.8.3, Xcode 4.6.2/command-line 4.6.x).

At the same point in my own bootstrap, I had

gcc -I/tmp/sw/bootstrap/include -I/tmp/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=\"/tmp/sw/bootstrap/share/locale\" 
-I/tmp/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/intl 
-I../intl 
-I/tmp/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/include 
-I/tmp/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21 
-I/tmp/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/main 
-I../include -I.. -I. 
-I/tmp/sw/src/fink.build/dpkg-bootstrap-1.10.21-1220/dpkg-1.10.21/optlib 
-F/System/Library/Frameworks/CoreFoundation.framework  -c main.c


so it doesn't look like your build was picking up anything odd.

Googling around suggested that the culprit might be that your compiler 
isn't exactly what says it is.  The version we calculate for the Xcode 
command line tools is based only on the receipt left by the installation.

What do you get if you do

gcc --version

in a terminal window?

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
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