Objective-C error for GNUmail install attempt

Dushan Mitrovich dushanm at spinn.net
Mon Jan 10 14:24:54 PST 2011


After updating macports under Mac X.6.5 I tried to install GNUmail 
1.2.0pre3.
This failed because gnustep-base install failed, because, according to 
the logfile,
Objective-C doesn't seem to work properly.

Should I do a ports install of 'objc 3.2.8'?  There already are 
'libobjc' files in
/usr/lib, but I don't know if that's relevant.

Here are the response, and related log file, when I tried to install 
gnumail for
the 2nd time (after adding the line
   '. /opt/local/GNUstep/System/Library/Makefiles/GNUstep.sh'
to ~/.profile to enable GNUstep make to work).

Thanks for all suggestions.

- Dushan Mitrovich

     
-------------------------------------------------------------------------

[~]$
=> sudo port install gnumail @1.2.0pre3
Password:
--->  Computing dependencies for GNUMail
--->  Dependencies to be installed: Etoile SQLClient Performance 
gnustep-base oniguruma5 Pantomime
--->  Configuring gnustep-base
Error: Target org.macports.configure returned: configure failure: shell 
command failed (see log for details)
Error: Failed to install gnustep-base
Log for gnustep-base is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/main.log
Error: The following dependencies were not installed: Etoile SQLClient 
Performance gnustep-base oniguruma5 Pantomime
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

     
------------------------------------------------------------------------

CONTENT OF 'MAIN.LOG':

version:1
:debug:main Executing org.macports.main (gnustep-base)
:debug:main Skipping completed org.macports.fetch (gnustep-base)
:debug:main Skipping completed org.macports.checksum (gnustep-base)
:debug:main Skipping completed org.macports.extract (gnustep-base)
:debug:main Skipping completed org.macports.patch (gnustep-base)
:msg:main --->  Configuring gnustep-base
:debug:main Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Mon Jan 10 12:29:00 MST 2011
:debug:configure Executing org.macports.configure (gnustep-base)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 
-arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch 
x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' 
CXX='/usr/bin/g++-4.2' 
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/work/.CC_PRINT_OPTIONS' 
F90FLAGS='-O2 -m64' 
DYLD_LIBRARY_PATH='/opt/local/GNUstep/Local/Library/Libraries:/opt/local/GNUstep/System/Library/Libraries' 
LIBOBJC='-lobjc-gnu' LDFLAGS='-L/opt/local/lib -arch x86_64' 
FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' 
FFLAGS='-O2 -m64' OBJCFLAGS='-O2 -arch x86_64' CC_PRINT_OPTIONS='YES' 
PATH='/opt/local/GNUstep/Local/Tools:/opt/local/GNUstep/System/Tools:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' 
CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/work/gnustep-base-1.19.1" 
&& ./configure --prefix=/opt/local CC=/usr/bin/gcc-4.2 
GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles 
--disable-tls --enable-libffi 
--with-ffi-include=/opt/local/include/gcc42 
--with-ffi-library=/opt/local/lib/gcc42'
:info:configure checking build system type... i386-apple-darwin10.5.0
:info:configure checking host system type... i386-apple-darwin10.5.0
:info:configure checking target system type... i386-apple-darwin10.5.0
:info:configure checking for gcc... /usr/bin/gcc-4.2
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables...
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
:info:configure checking for /usr/bin/gcc-4.2 option to accept ANSI C... 
none needed
:info:configure checking how to run the C preprocessor... 
/usr/bin/gcc-4.2 -E
:info:configure checking for whoami... /usr/bin/whoami
:info:configure checking whether nested functions work... no
:info:configure checking the Objective-C runtime... GNU
:info:configure checking for custom shared objc library... NONE
:info:configure checking for egrep... grep -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking objc/objc.h usability... yes
:info:configure checking objc/objc.h presence... yes
:info:configure checking for objc/objc.h... yes
:info:configure configure: for gdomap network details
:info:configure checking for variable length socket addresses... found
:info:configure checking for gcc visibility attribute support... not present
:info:configure checking whether SO_REUSEADDR is broken... no
:info:configure checking for objc threading flags...
:info:configure checking whether byte ordering is bigendian... no
:info:configure checking for void*... yes
:info:configure checking size of void*... 8
:info:configure checking for short... yes
:info:configure checking size of short... 2
:info:configure checking for int... yes
:info:configure checking size of int... 4
:info:configure checking for long... yes
:info:configure checking size of long... 8
:info:configure checking for long long... yes
:info:configure checking size of long long... 8
:info:configure checking for float... yes
:info:configure checking size of float... 4
:info:configure checking for double... yes
:info:configure checking size of double... 8
:info:configure checking loading of constructor functions... yes
:info:configure checking dlfcn.h usability... yes
:info:configure checking dlfcn.h presence... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for dynamic linker type... simple
:info:configure checking for dladdr in -ldl... yes
:info:configure checking whether objc really works... no
:info:configure I don't seem to be able to use your Objective-C compiler 
to produce
:info:configure working binaries!  Please check your Objective-C 
compiler installation.
:info:configure If you are using gcc-3.x make sure that your compiler's 
libgcc_s and libobjc
:info:configure can be found by the dynamic linker - usually that 
requires you to play
:info:configure with LD_LIBRARY_PATH or /etc/ld.so.conf.
:info:configure Please refer to your compiler installation instructions 
for more help.
:info:configure configure: error: The Objective-C compiler does not work 
or is not installed properly.
:info:configure shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/work/gnustep-base-1.19.1" 
&& ./configure --prefix=/opt/local CC=/usr/bin/gcc-4.2 
GNUSTEP_MAKEFILES=/opt/local/GNUstep/System/Library/Makefiles 
--disable-tls --enable-libffi 
--with-ffi-include=/opt/local/include/gcc42 
--with-ffi-library=/opt/local/lib/gcc42 " returned error 1
:error:configure Target org.macports.configure returned: configure 
failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see 
log for details)
     while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for 
gnustep-base): org.macports.activate org.macports.configure 
org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install gnustep-base
:notice:configure Log for gnustep-base is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnustep_gnustep-base/main.log




More information about the macports-users mailing list