[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
more darwin install
From: |
Jim McLoughlin |
Subject: |
more darwin install |
Date: |
Thu, 6 Feb 2003 22:27:51 -0800 |
Hi folks
I am slowly trying to get gnustep working on a darwin partition in my
spare time, and am at the following impasse...
I successfully compiled gcc 3.2.1 as per the instructions and installed
it into /opt/gcc. I used fink to install the required 3rd party
libraries - libtiff, libxml2, etc (fink lives in /sw on my darwin
partition). I installed gnustep-make with no problem into /opt/GNUstep
- I configured it with CC=/opt/gcc/bin/gcc CPP=/opt/gcc/bin/cpp to make
sure GNUstep is using my compiled gcc3.2.1.
A quick question - do I need to keep passing CC=... CPP=... flags
through to base, gui, and back even thought make was configured that
way?
Anyway, when I try to configure base, I get the following errors:
conftest.c:2: parse error before "me"
configure:2169: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2283: checking how to run the C preprocessor
configure:2401: result: /opt/gcc/bin/cpp
configure:2426: /opt/gcc/bin/cpp conftest.c
configure:2432: $? = 0
configure:2464: /opt/gcc/bin/cpp conftest.c
configure:2463:28: ac_nonexistent.h: No such file or directory
configure:2470: $? = 1
configure: failed program was:
| #line 2455 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
One other disturbing thing I saw in configure.log - even though I
changed the darwin.h header to use GNU objective C runtime, and created
the dynamic library link, I see
configure:2627: checking the Objective-C runtime
configure:2630: result: NeXT
I'm assuming some solutions to my problems my involve:
- passing the location of fink libraries (/sw/lib) as additional
libraries to configure? If so, what is the proper syntax for this. In
linux, I think I put these in my ld.conf, but darwin doesn't load them
this way.
- passing the location of the 3.2.1 libobjc as an additional library
(will it be found if I've pointed to the right gcc location)?
(I can also email base's configure.log to anyone, but didn't want to
clog the list)
thanks for any help
Jim M
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- more darwin install,
Jim McLoughlin <=