On 6/25/13 2:19 AM, Shahar Shani-Kadmiel wrote: > I ran selfupdate but I keep getting an error. > > Thanks, > > Shahar > > System info: > Package manager version: 0.34.8 > Distribution version: selfupdate-cvs Tue Jun 25 12:11:29 2013, 10.7, x86_64 > Trees: local/main stable/main > Xcode.app: 4.6.2 > Xcode command-line tools: 4.6.0.0.1.1358221012 > Max. Fink build jobs: 1 > > sudo -u fink-bld [ENV] sh -c /tmp/fink.pbCeY > /tmp/fink.J7Xv1 > #!/bin/sh -ev > if [ -x /usr/bin/gcc-4.2 ]; then > export CC="gcc-4.2" CXX="g++-4.2" > fi > ./configure --prefix=/sw/opt/libgeos3.3.6 > checking build system type... x86_64-apple-darwin11.4.2 > checking host system type... x86_64-apple-darwin11.4.2 > checking target system type... x86_64-apple-darwin11.4.2 > checking for a BSD-compatible install... /sw/bin/ginstall -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for gcc... gcc-4.2 > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc-4.2 accepts -g... yes > checking for gcc-4.2 option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc-4.2... gcc3 > checking how to print strings... printf > checking for a sed that does not truncate output... /usr/bin/sed > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for fgrep... /usr/bin/grep -F > checking for ld used by gcc-4.2... > /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld > checking if the linker > (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm > checking the name lister (/usr/bin/nm) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 196608 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert x86_64-apple-darwin11.4.2 file names to > x86_64-apple-darwin11.4.2 format... func_convert_file_noop > checking how to convert x86_64-apple-darwin11.4.2 file names to toolchain > format... func_convert_file_noop > checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld > option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... dlltool > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... no > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm output from gcc-4.2 object... ok > checking for sysroot... no > checking for mt... no > checking if : is a manifest tool... no > checking for dsymutil... dsymutil > checking for nmedit... nmedit > checking for lipo... lipo > checking for otool... otool > checking for otool64... no > checking for -single_module linker flag... yes > checking for -exported_symbols_list linker flag... yes > checking for -force_load linker flag... yes > checking how to run the C preprocessor... gcc-4.2 -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc-4.2 supports -fno-rtti -fno-exceptions... no > checking for gcc-4.2 option to produce PIC... -fno-common -DPIC > checking if gcc-4.2 PIC flag -fno-common -DPIC works... yes > checking if gcc-4.2 static flag -static works... no > checking if gcc-4.2 supports -c -o file.o... yes > checking if gcc-4.2 supports -c -o file.o... (cached) yes > checking whether the gcc-4.2 linker > (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared > libraries... yes > checking dynamic linker characteristics... darwin11.4.2 dyld > checking how to hardcode library paths into programs... immediate > checking for dlopen in -ldl... yes > checking whether a program can dlopen itself... yes > checking whether a statically linked program can dlopen itself... yes > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking whether we are using the GNU C++ compiler... no > checking whether g++-4.2 accepts -g... no > checking dependency style of g++-4.2... none > checking how to run the C++ preprocessor... /lib/cpp > configure: error: in `/sw/src/fink.build/libgeos3.3.6-3.3.6-1/geos-3.3.6': > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details
There's a couple of things going on. 1) The gdal build procedure is being kept in in sync between 10.7 and later and 10.6 and earlier. This is probably not the best idea. 2) There isn't a "gcc-4.2" in the Xcode 4.6.x command-line tools. My assumption is that you had Xcode 4.1 or earlier installed at some point, and your gcc-4.2 came from that. The "gcc-4.2" executable didn't get removed when you updated, but some, if not all, of the support files _were_ removed, and it's broken--that's what the /lib/cpp failure is indicating. Just get rid of /usr/bin/gcc-4.2 since it's essentially useless. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
