[MacPorts] #34102: configure: error: Could not find a working Foundation implementation (was: Error on build, please help. configure: error: Could not find a working Foundation implementation)
MacPorts
noreply at macports.org
Tue Apr 17 13:48:18 PDT 2012
#34102: configure: error: Could not find a working Foundation implementation
-------------------------------+--------------------------------------------
Reporter: cquiter@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.4
Keywords: | Port:
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):
* component: ports => base
Old description:
> Craigs-MacBook-Pro:MacPorts-2.0.4 cquiter$ ./configure
> checking build system type... x86_64-apple-darwin11.3.0
> checking host system type... x86_64-apple-darwin11.3.0
> checking target system type... x86_64-apple-darwin11.3.0
> checking MacPorts version... 2.0.4
> checking for sw_vers... /usr/bin/sw_vers
> checking for defaults... /usr/bin/defaults
> checking for xcode-select... /usr/bin/xcode-select
> checking Mac OS X version... 10.7.3
> checking Xcode location... /
> checking Xcode version... 4.3.2
> checking for gcc... gcc
> 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 accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... yes
> checking whether gcc accepts -g... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether make sets $(MAKE)... yes
> checking whether ln -s works... yes
> checking for mtree... /usr/sbin/mtree
> checking for chown... /usr/sbin/chown
> checking for cp... /bin/cp
> checking for cpio... /usr/bin/cpio
> checking for diff... /usr/bin/diff
> checking for dscl... /usr/bin/dscl
> checking for dseditgroup... /usr/sbin/dseditgroup
> checking for file... /usr/bin/file
> checking for bzr... no
> checking for cvs... /usr/bin/cvs
> checking for svn... /usr/bin/svn
> checking for git... /usr/bin/git
> checking for hg... no
> checking for gzip... /usr/bin/gzip
> checking for lipo... /usr/bin/lipo
> checking for patch... /usr/bin/patch
> checking for rmdir... /bin/rmdir
> checking for rsync... /usr/bin/rsync
> checking for openssl... /usr/bin/openssl
> checking for sed... /usr/bin/sed
> checking for tar... /usr/bin/tar
> checking for unzip... /usr/bin/unzip
> checking for zip... /usr/bin/zip
> checking for bsdmake... /usr/bin/bsdmake
> checking for make... /usr/bin/make
> checking for hdiutil... /usr/bin/hdiutil
> checking for launchd... yes
> checking for launchctl... /bin/launchctl
> checking for xcodebuild... /usr/bin/xcodebuild
> checking for gnutar... /usr/bin/gnutar
> checking for gnumake... /usr/bin/gnumake
> checking for gnupatch... no
> checking for gpatch... no
> checking for bzip2... /usr/bin/bzip2
> checking for lzma... no
> checking for xz... no
> checking for lsbom... /usr/bin/lsbom
> checking for mkbom... /usr/bin/mkbom
> checking for pax... /bin/pax
> checking for xar... /usr/bin/xar
> checking for open... /usr/bin/open
> checking for sed... (cached) /usr/bin/sed
> checking which sed flag to use for extended regexp... -E (BSD)
> checking for tar... (cached) /usr/bin/tar
> checking whether tar supports -q... yes (bsdtar)
> checking for tar... (cached) /usr/bin/tar
> checking for gnutar... (cached) /usr/bin/gnutar
> checking for which tar variant to use... /usr/bin/gnutar
> checking for /usr/bin/gnutar --no-same-owner support... yes
> checking for patch... (cached) /usr/bin/patch
> checking for gpatch... no
> checking for GNU (FSF) patch... /usr/bin/patch
> checking how to mark unused variables...
> checking for gcc symbol visibility attribute...
> __attribute__((visibility("hidden")))
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads...
> -D_THREAD_SAFE
> checking how to run the Objective C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -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 objc/objc.h usability... yes
> checking objc/objc.h presence... yes
> checking for objc/objc.h... yes
> checking if linking libobjc requires pthreads... no
> checking for Apple Objective-C runtime... yes
> checking for GNU Objective C runtime... no
> configure: Using Apple Objective-C runtime
> checking for Apple Foundation library... no
> configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your
> environment, preventing the use of GNUstep's Foundation library
> configure: error: Could not find a working Foundation implementation
New description:
{{{
Craigs-MacBook-Pro:MacPorts-2.0.4 cquiter$ ./configure
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking target system type... x86_64-apple-darwin11.3.0
checking MacPorts version... 2.0.4
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.7.3
checking Xcode location... /
checking Xcode version... 4.3.2
checking for gcc... gcc
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 accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for mtree... /usr/sbin/mtree
checking for chown... /usr/sbin/chown
checking for cp... /bin/cp
checking for cpio... /usr/bin/cpio
checking for diff... /usr/bin/diff
checking for dscl... /usr/bin/dscl
checking for dseditgroup... /usr/sbin/dseditgroup
checking for file... /usr/bin/file
checking for bzr... no
checking for cvs... /usr/bin/cvs
checking for svn... /usr/bin/svn
checking for git... /usr/bin/git
checking for hg... no
checking for gzip... /usr/bin/gzip
checking for lipo... /usr/bin/lipo
checking for patch... /usr/bin/patch
checking for rmdir... /bin/rmdir
checking for rsync... /usr/bin/rsync
checking for openssl... /usr/bin/openssl
checking for sed... /usr/bin/sed
checking for tar... /usr/bin/tar
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for bsdmake... /usr/bin/bsdmake
checking for make... /usr/bin/make
checking for hdiutil... /usr/bin/hdiutil
checking for launchd... yes
checking for launchctl... /bin/launchctl
checking for xcodebuild... /usr/bin/xcodebuild
checking for gnutar... /usr/bin/gnutar
checking for gnumake... /usr/bin/gnumake
checking for gnupatch... no
checking for gpatch... no
checking for bzip2... /usr/bin/bzip2
checking for lzma... no
checking for xz... no
checking for lsbom... /usr/bin/lsbom
checking for mkbom... /usr/bin/mkbom
checking for pax... /bin/pax
checking for xar... /usr/bin/xar
checking for open... /usr/bin/open
checking for sed... (cached) /usr/bin/sed
checking which sed flag to use for extended regexp... -E (BSD)
checking for tar... (cached) /usr/bin/tar
checking whether tar supports -q... yes (bsdtar)
checking for tar... (cached) /usr/bin/tar
checking for gnutar... (cached) /usr/bin/gnutar
checking for which tar variant to use... /usr/bin/gnutar
checking for /usr/bin/gnutar --no-same-owner support... yes
checking for patch... (cached) /usr/bin/patch
checking for gpatch... no
checking for GNU (FSF) patch... /usr/bin/patch
checking how to mark unused variables...
checking for gcc symbol visibility attribute...
__attribute__((visibility("hidden")))
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking how to run the Objective C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 objc/objc.h usability... yes
checking objc/objc.h presence... yes
checking for objc/objc.h... yes
checking if linking libobjc requires pthreads... no
checking for Apple Objective-C runtime... yes
checking for GNU Objective C runtime... no
configure: Using Apple Objective-C runtime
checking for Apple Foundation library... no
configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your
environment, preventing the use of GNUstep's Foundation library
configure: error: Could not find a working Foundation implementation
}}}
--
Comment:
Please remember to use WikiFormatting.
"Could not find a working Foundation implementation" has been reported to
us a couple times before (#28452, #30298) but we were never able to find
out why it happened.
Do you have anything in /usr/local? If so, that might be interfering; try
moving it aside.
Do you have /System/Library/Frameworks/Foundation.framework? Do you have
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h? If
not, reinstall OS X.
Compiling MacPorts manually should of course work, but out of curiosity,
why do you want to do so instead of using our pre-made disk images?
Since we are about to release MacPorts 2.1.0, you could also test whether
version 2.1.0 beta 1 works better, but I don't recall us making any
changes with regard to this configure check so I doubt it.
--
Ticket URL: <https://trac.macports.org/ticket/34102#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list