On 6/24/14, 3:43 PM, Scott Hannahs wrote: > % xcode-select --version > xcode-select version 2311. > > But xcode-select in /usr/bin is a symlink to xcrun. This is installed as > part of the base OS X 10.8.5. > It does not get changed by Xcode 5 which is a drag install from the developer > disk image. Dragging the Xcode 5 application to the Applications folder will > not change x-code select. > > Either way, I did a command line tool update by running Xcode and then using > the preferences to update the command line tools. > > Re-install Xcode 5.1.1 as a drag install from developer download. Open and > install system components. > > Same issues. Many packages install. > Ghostscript for example works fine and updates. Same with numpy-py27, openssl > > The PATH looks correct? > % fink dumpinfo -ePATH python27 > Information about 10616 packages read in 1 seconds. > PATH=/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin > > This is the same path for ghostscript which compiles correctly. But this is > a shell execute path and not a header file path. > > Three packages that I normal install don't work and all have issues finding > an Apple specific header file. These are Libcurl, python27 and > gnuplot-minimal. > > Libcurl: > libtool: compile: gcc -DHAVE_CONFIG_H -I../include/curl -I../include > -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS > -isystem /sw/include -I/sw/include -I/sw/include -fvisibility=hidden -Os > -Qunused-arguments -MT libcurl_la-timeval.lo -MD -MP -MF > .deps/libcurl_la-timeval.Tpo -c timeval.c -fno-common -DPIC -o > .libs/libcurl_la-timeval.o > libtool: compile: gcc -DHAVE_CONFIG_H -I../include/curl -I../include > -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS > -isystem /sw/include -I/sw/include -I/sw/include -fvisibility=hidden -Os > -Qunused-arguments -MT libcurl_la-file.lo -MD -MP -MF > .deps/libcurl_la-file.Tpo -c file.c -fno-common -DPIC -o > .libs/libcurl_la-file.o > In file included from file.c:52: > ../lib/urldata.h:163:10: fatal error: 'Security/Security.h' file not found > #include <Security/Security.h> > ^ > > python (python27): > gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -fwrapv -O3 -Wall > -Wstrict-prototypes -I. -IInclude -I./Include -I/sw/include > -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7/Include > -I/sw/src/fink.build/python27-2.7.7-3/Python-2.7.7 -c > ./Mac/Modules/_scproxy.c -o > build/temp.macosx-10.8-x86_64-2.7/./Mac/Modules/_scproxy.o > ./Mac/Modules/_scproxy.c:6:10: fatal error: > 'SystemConfiguration/SystemConfiguration.h' file not found > #include <SystemConfiguration/SystemConfiguration.h> > ^ > 1 error generated. > > gnuplot-minimal: > ngcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/sw/bin\" > -DX11_DRIVER_DIR=\"/sw/lib/gnuplot/4.6\" > -DQT_DRIVER_DIR=\"/sw/lib/gnuplot/4.6\" > -DGNUPLOT_SHARE_DIR=\"/sw/share/gnuplot/4.6\" > -DGNUPLOT_PS_DIR=\"/sw/share/gnuplot/4.6/PostScript\" > -DGNUPLOT_JS_DIR=\"/sw/share/gnuplot/4.6/js\" > -DGNUPLOT_LUA_DIR=\"/sw/share/gnuplot/4.6/lua\" > -DCONTACT=\"gnuplot-b...@lists.sourceforge.net\" > -DHELPFILE=\"/sw/share/gnuplot/4.6/gnuplot.gih\" -DGNUPLOT_X11=\"`echo > gnuplot_x11 | sed 's,x,x,'`\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" > -I/sw/include -I/sw/include -I/sw/include -I/sw/include -g -O2 -ObjC -MT > time.o -MD -MP -MF $depbase.Tpo -c -o time.o time.c &&\ > mv -f $depbase.Tpo $depbase.Po > In file included from term.c:1436: > In file included from ./term.h:163: > In file included from ../term/aquaterm.trm:97: > /sw/include/aquaterm/AQTAdapter.h:9:9: fatal error: 'Foundation/NSString.h' > file not found > #import <Foundation/NSString.h> > ^ > > Thanks for all the work in looking into this. I am quite confused if the > missing header files are due to my installation of Xcode or that those > particular packages do not look for them in the new internal locations that > Xcode 5 now stores them and are looking in the old /System/Library locations. > > -Scott > >
As I said, we don't touch the include and link paths directly, except as individual packages require modifications. I asked about the PATH because that's the only thing which has potentially been changed in fink recently (it was only supposed to have been changed on 10.9, in any case). And, actually, the presence/absence of XCode.app does change things. We've seen situations where builds work with no Xcode.app, or matched Xcode.app and CLI tools, but fail with mismatched Xcode.app and CLI tools. Maybe check "xcode-select -p" -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel