On 4/20/12 1:04 PM, Tyler Williamson wrote:
> Okay, well now that that is taken care of, I still want to try and
> install Fink. I went ahead and ran the install again, and got a
> different error message this time:
> 
> gcc -I/sw2/bootstrap/include -I/sw2/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=\"/sw2/bootstrap/share/locale\"
> -I/sw2/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/intl
> -I../intl
> -I/sw2/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/include
> -I/sw2/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21
> -I/sw2/src/fink.build/dpkg-bootstrap-1.10.21-1218/dpkg-1.10.21/main
> -I../include -I.. -I.
> -I/sw2/src/fink.build/dpkg-bootstrap-1.10.21-1218/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:
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:108:16:
> fatal error: 
>      
> 'CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h' file
>       not found
>       #include <C...
>                ^
> 1 error generated.
> make[2]: *** [main.o] Error 1
> make[1]: *** [all-main] Error 2
> make: *** [all-recursive] Error 2
> ### execution of make failed, exit code 2
> phase compiling: dpkg-bootstrap-1.10.21-1218 failed
> 
> I searched in the directories indicated, and even in my Mac Spotlight,
> but did not find the "Mactypes.h" file anywhere.
> 

OK, let's take this back to the mailing list, too.

That missing file appears to be installed by the DevSDK package:

$ pkgutil --file-info
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h
volume: /
path:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h

pkgid: com.apple.pkg.DevSDKLeo
pkg-version: 4.0.0.9000000000.1.1306847324
install-time: 1332610682
uid: 0
gid: 0
mode: 644

I believe that in Xcode 4.3.x, the DevSDK package gets installed as part
of the Command Line Tools for Xcode.  It's possible that something went
amiss when you installed those (we've seen similar issues off and on in
various OS X versions over the years).

I'd recommend downloading the "Late March 2012" version of the Command
line Tools for Xcode from connect.apple.com and try running the
installer from that. Or if you have it already, try it again.
It would probably be a good idea to run

sudo pkgutil --forget com.apple.pkg.DevSDKLeo

first, so that Installer will think this is a new install rather than an
upgrade.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-beginners mailing list
[email protected]
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