On Nov 8, 2005, at 1:54 AM, Sun Yijiang wrote:
I can now get temacs and emacs built in src, after some work:
1) setup env variables:
export GNUSTEP_SYSTEM_ROOT=/usr/GNUstep/System
export GNUSTEP_MAKEFILES=$GNUSTEP_SYSTEM_ROOT/Library/Makefiles
export CPATH=$GNUSTEP_SYSTEM_ROOT/Library/Headers:$CPATH
export LD_LIBRARY_PATH=/usr/GNUstep/System/Library/Libraries:
$LD_LIBRARY_PATH
I think this relates to gnustep's recent config change to stop using
environment variables. I'll look into it..
2) modify src/Makefile.in:
+#define GNUSTEP
#define THIS_IS_MAKEFILE
#define NO_SHORTNAMES
than configure and build:
# ./configure --prefix=xxx --with-ns --without-x
# make
I think it's better to define `GNUSTEP' in ./configure process.
Not sure if this is causing your particular segfault, but make sure
you add -DCANNOT_DUMP to C/CPPFLAGS (see nextstep/compile). And
GNUSTEP _should_ be being defined if you use the compile script.
(But probably in the long run GNUSTEP / COCOA should be defined in
the appropriate place in configure.in as you say.)
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev