Objective-C error for GNUmail install attempt
Rainer Müller
raimue at macports.org
Wed Jan 19 16:50:04 PST 2011
On 2011-01-10 23:24 , Dushan Mitrovich wrote:
> This failed because gnustep-base install failed, because, according to
> the logfile,
> Objective-C doesn't seem to work properly.
I just tried this myself to get some more details.
According to config.log, the configure script is looking for the header
file objc/NXConstStr.h which apparently is not provided as expected.
| configure:8243: checking whether objc really works
| configure:8268: /usr/bin/gcc-4.2 -o conftest -pipe -O2 -arch x86_64
-I/opt/local/include -I/opt/local/
| In file included from conftest.c:33:
| ./config/config.objc.m:10:29: error: objc/NXConstStr.h: No such file
or directory
| In file included from conftest.c:33:
| ./config/config.objc.m:12: warning: cannot find interface declaration
for 'NXConstantString'
| configure:8271: $? = 1
| configure: program exited with status 1
I see the our ports of gcc44 and gcc45 ship this header file [1], but I
have no idea if it is really required to switch the compiler for all
gnustep ports...
Rainer
[1]
/opt/local/lib/gcc44/gcc/x86_64-apple-darwin10/4.4.5/include-gnu-runtime/objc/NXConstStr.h
More information about the macports-users
mailing list