thanks. installs OK now - it never occurred to me that I somehow had an "incomplete" installation of Xcode 3.0... reinstalling xcode did the trick steve
On 3 Jun 2008, at 12:00, Ryan Schmidt wrote: > > On Jun 3, 2008, at 00:59, Steve Renals wrote: > >> I'm having problems installing packages which require Xcode >> MacOSX10.4u.sdk on Leopard. A good example of a package with which I >> am having problems is aquaterm. >> >> I'm running 10.5.3 on a macbook pro, and have Xcode 3.0 installed, >> and >> MacPorts 1.6. >> >> I install Xcode 2.5 alongside 3.0; it defaults to install as / >> Xcode2.5 ; packages requiring Xcode2.5 seem to expect /Developer/ >> SDKs/ >> MacOSX10.4u.sdk, so I symlink to /Xcode2.5/SDKs/MacOSX10.4u.sdk. >> This gets me one step further, but the build process picks up / >> Developer/usr/bin/gcc-4.0 (Xcode 3) (rather than /Xcode2.5/usr/bin/ >> gcc-4.0 ?) and compiling with this 'wrong' gcc fails (excerpt below). >> >> How can I build Xcode2.5 packages on leopard with both Xcode2.5 and >> Xcode3.0 installed? More specifically how do I make the build pick >> up >> the Xcode2.5 compiler? > > Why do you believe that just because something requires > MacOSX10.4u.sdk that it also requires Xcode 2.5? I've not heard that > before. I was able to install aquaterm just fine on Mac OS X 10.5.3 > with Xcode 3.0 on a MacBook Pro just now, and I don't have Xcode 2.5 > installed. But I do have MacOSX10.4u.sdk in /Developer/SDKs. It's > not a symlink; it's a normal directory placed there by the Xcode 3.0 > installer package. If you don't have that normal directory, you > should reinstall Xcode 3.0. Then try installing aquaterm again. > > I do use MacPorts trunk, not 1.6.0, so maybe that's relevant too. > > >> /Developer/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -pipe - >> Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 - >> mtune=G4 -mmacosx-version-min=10.1 -gdwarf-2 -I/opt/local/var/ >> macports/ >> build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/ >> AquaTerm.build/Deployment/AQTFwk.build/AquaTerm.hmap -Wmost -Wno- >> four- >> char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/ >> Deployment -I/opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/ >> Deployment/include -I/opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_aqua_aquaterm/work/aquaterm/build/ >> AquaTerm.build/Deployment/AQTFwk.build/DerivedSources -isysroot / >> Developer/SDKs/MacOSX10.4u.sdk -c /Developer/SDKs/MacOSX10.4u.sdk/ >> System/Library/Frameworks/AppKit.framework/Headers/AppKit.h -o / >> Library/Caches/com.apple.Xcode.0/SharedPrecompiledHeaders/AppKit- >> fnqlhyfibnglwocvctysklolcwvr/AppKit.h.gch >> >> In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ >> Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:12, >> from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ >> Frameworks/Foundation.framework/Headers/Foundation.h:6, >> from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ >> Frameworks/AppKit.framework/Headers/AppKit.h:10: >> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: >> stdarg.h: No such file or directory >> In file included from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ >> Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16, >> from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ >> Frameworks/Foundation.framework/Headers/Foundation.h:6, >> from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/ >> Frameworks/AppKit.framework/Headers/AppKit.h:10: >> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/float.h:8:24: error: >> float.h: No such file or directory > > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
