Installing MacPorts with a non-standard XCode install

Ryan Schmidt ryandesign at macports.org
Wed Mar 23 10:45:05 PDT 2011


On Mar 23, 2011, at 09:23, Loren Spice wrote:
> On Wed, 3/23/11, Ryan Schmidt  wrote:
>> Hmm, why specify the SDK at all? You shouldn't need it.
> I didn't even know it was there; but, when ./configure complained early on about needing stdio.h, I went looking for it:
> {{{
> $ ( cd $XCODE; find . -name stdio.h
> ./Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/include/c++/4.2.1/tr1/stdio.h
> ./Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/include/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/usr/include/c++/4.2.1/tr1/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/usr/include/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/usr/include/c++/4.2.1/tr1/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/usr/include/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/c++/4.2.1/tr1/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/include/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/c++/4.2.1/tr1/stdio.h
> ./Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/include/stdio.h
> ./SDKs/MacOSX10.5.sdk/usr/include/stdio.h
> ./SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/tr1/stdio.h
> ./SDKs/MacOSX10.6.sdk/usr/include/stdio.h
> }}}
> 
> I don't *think* that's the problem, since the ./configure gets past all that stuff, and then just aborts when it can't find tclConfig.sh (for which I can't blame it, since I can't find it either).

stdio.h is in /usr/include/stdio.h
tclConfig.sh is in /usr/lib/tclConfig.sh

These are standard things to have on your system; if you don't have them, something is awry with your system, either Mac OS X itself, or Xcode (not sure which provides these).





More information about the macports-users mailing list