discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep-base on Darwin


From: LHelldorf
Subject: Re: GNUstep-base on Darwin
Date: Mon, 23 Apr 2001 21:34:38 +0200



I tried today core.20010423.tar.bz2. Here is how it went:

./configure
- no problems
make - no problems
make install - the same bug as with core.20010420.tar.bz2

./mkinstalldirs  /opt/GNUstep/System /opt/GNUstep/System/Makefiles \

       /opt/GNUstep/System/Makefiles/powerpc \

       /opt/GNUstep/System/Makefiles/powerpc/darwin1.0 \

       /opt/GNUstep/System/Makefiles/Additional \

       /opt/GNUstep/System/Tools \

       /opt/GNUstep/System/share \

       /opt/GNUstep/System/Apps \

       /opt/GNUstep/System/Libraries/powerpc/darwin1.0 \

       /opt/GNUstep/System/Libraries/powerpc/darwin1.0/nx-gnu-gnu-xgps \

       /opt/GNUstep/System/Headers/powerpc/darwin1.0 \

       /opt/GNUstep/System/Tools/powerpc/darwin1.0 \

       /opt/GNUstep/System/Tools/powerpc/darwin1.0/nx-gnu-gnu-xgps \

       /opt/GNUstep/System/Library \

       /opt/GNUstep/System/Library/Colors \

       /opt/GNUstep/System/Library/PostScript \

       /opt/GNUstep/System/Library/Services \

       /opt/GNUstep/System/Documentation/Developer \

       /opt/GNUstep/System/Documentation/User \

       /opt/GNUstep/System/Documentation/info \

       /opt/GNUstep/System/Documentation/man \

       /opt/GNUstep/Local \

       /opt/GNUstep/Local/Users \

       /opt/GNUstep/Local/Users/Administrator \

       /opt/GNUstep/Network
make: execvp: ./mkinstalldirs: Permission denied

make: *** [install] Error 127


I fixed this one (chmod 777 mkinstalldirs) and it went fine. Of course I was a little stupid last time...

Then I went on with gnustep-base:
./configure - no problems again
make library-combo=nx-gnu-gnu-xgps resulted in the following:

rm -f Headers/Foundation
rm -f Source/Foundation
ln -s gnustep/base Headers/Foundation
Making all in Source...
rm -f dynamic-load.h
cp ./null-load.h dynamic-load.h
sed -e "s/@XX@/array/g" ../Headers/gnustep/base/o_x_bas.h.in > ../Headers/gnustep/base/o_array_bas.h
sed -e "s/@YY@/array/g" ../Headers/gnustep/base/o_x_cbs.h.in > ../Headers/gnustep/base/o_array_cbs.h
sed -e "s/@XX@/hash/g" ../Headers/gnustep/base/o_x_bas.h.in > ../Headers/gnustep/base/o_hash_bas.h
sed -e "s/@YY@/hash/g" ../Headers/gnustep/base/o_x_cbs.h.in > ../Headers/gnustep/base/o_hash_cbs.h
sed -e "s/@XX@/list/g" ../Headers/gnustep/base/o_x_bas.h.in > ../Headers/gnustep/base/o_list_bas.h
sed -e "s/@YY@/list/g" ../Headers/gnustep/base/o_x_cbs.h.in > ../Headers/gnustep/base/o_list_cbs.h
sed -e "s/@XX@/map/g" ../Headers/gnustep/base/o_x_bas.h.in > ../Headers/gnustep/base/o_map_bas.h
sed -e "s/@YY@/map/g" ../Headers/gnustep/base/o_x_cbs.h.in > ../Headers/gnustep/base/o_map_cbs.h
/opt/GNUstep/System/Makefiles/mkinstalldirs powerpc/darwin1.0
mkdir -p powerpc
mkdir -p powerpc/darwin1.0
mv mframe/mframe.h powerpc/darwin1.0
touch powerpc/darwin1.0/mframe.h
/opt/GNUstep/System/Makefiles/mkinstalldirs powerpc/darwin1.0
mv ./../Headers/gnustep/base/config.h powerpc/darwin1.0
touch powerpc/darwin1.0/config.h
/opt/GNUstep/System/Makefiles/mkinstalldirs powerpc/darwin1.0
mv ./../Headers/gnustep/base/GSConfig.h powerpc/darwin1.0
touch powerpc/darwin1.0/GSConfig.h
Making all for library libgnustep-base...
mkdir -p ./static_obj
mkdir -p ./static_obj/powerpc
mkdir -p ./static_obj/powerpc/darwin1.0
mkdir -p ./static_obj/powerpc/darwin1.0/nx-gnu-gnu
rm -f obj
ln -s ./static_obj/powerpc/darwin1.0/nx-gnu-gnu obj
gcc md5.c -c  -DGNUSTEP_INSTALL_PREFIX=/opt/GNUstep/System -DGNUSTEP_TARGET_DIR=\"powerpc/darwin1.0\" -DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin1.0\" -DLIBRARY_COMBO=\"nx-gnu-gnu\"   -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1   -DNeXT_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGSWARN  -O2 -fnext-runtime   -I../Headers/gnustep -I../Headers -I./powerpc/darwin1.0    -I. -I/opt/GNUstep/System/Headers -I/opt/GNUstep/System/Headers -I/Local/Users/Administrator/GNUstep/Library/Headers -I/opt/GNUstep/Local/Library/Headers -I/opt/GNUstep/Network/Library/Headers -I/opt/GNUstep/System/Library/Headers -I/opt/GNUstep/Network/Headers/gnustep -I/Local/Users/Administrator/GNUstep/Headers/gnustep -I/opt/GNUstep/Local/Headers/gnustep -I/opt/GNUstep/System/Headers/gnustep  -I/opt/GNUstep/Network/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep/Headers/powerpc/darwin1.0 -I/opt! /GNUstep/Local/Headers/powerpc/darwin1.0 -I/opt/GNUstep/System/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep/Head
ers -I/opt/GNUstep/Local/Headers -I/opt/GNUstep/Network/Headers -I/opt/GNUstep/System/Headers -o static_obj/powerpc/darwin1.0/nx-gnu-gnu/md5.o
gcc numbers.c -c  -DGNUSTEP_INSTALL_PREFIX=/opt/GNUstep/System -DGNUSTEP_TARGET_DIR=\"powerpc/darwin1.0\" -DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin1.0\" -DLIBRARY_COMBO=\"nx-gnu-gnu\"   -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1   -DNeXT_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGSWARN  -O2 -fnext-runtime   -I../Headers/gnustep -I../Headers -I./powerpc/darwin1.0    -I. -I/opt/GNUstep/System/Headers -I/opt/GNUstep/System/Headers -I/Local/Users/Administrator/GNUstep/Library/Headers -I/opt/GNUstep/Local/Library/Headers -I/opt/GNUstep/Network/Library/Headers -I/opt/GNUstep/System/Library/Headers -I/opt/GNUstep/Network/Headers/gnustep -I/Local/Users/Administrator/GNUstep/Headers/gnustep -I/opt/GNUstep/Local/Headers/gnustep -I/opt/GNUstep/System/Headers/gnustep  -I/opt/GNUstep/Network/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep/Headers/powerpc/darwin1.0 -I! /opt/GNUstep/Local/Headers/powerpc/darwin1.0 -I/opt/GNUstep/System/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep/
Headers -I/opt/GNUstep/Local/Headers -I/opt/GNUstep/Network/Headers -I/opt/GNUstep/System/Headers -o static_obj/powerpc/darwin1.0/nx-gnu-gnu/numbers.o
gcc o_vscanf.c -c  -DGNUSTEP_INSTALL_PREFIX=/opt/GNUstep/System -DGNUSTEP_TARGET_DIR=\"powerpc/darwin1.0\" -DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin1.0\" -DLIBRARY_COMBO=\"nx-gnu-gnu\"   -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1   -DNeXT_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGSWARN  -O2 -fnext-runtime   -I../Headers/gnustep -I../Headers -I./powerpc/darwin1.0    -I. -I/opt/GNUstep/System/Headers -I/opt/GNUstep/System/Headers -I/Local/Users/Administrator/GNUstep/Library/Headers -I/opt/GNUstep/Local/Library/Headers -I/opt/GNUstep/Network/Library/Headers -I/opt/GNUstep/System/Library/Headers -I/opt/GNUstep/Network/Headers/gnustep -I/Local/Users/Administrator/GNUstep/Headers/gnustep -I/opt/GNUstep/Local/Headers/gnustep -I/opt/GNUstep/System/Headers/gnustep  -I/opt/GNUstep/Network/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep/Headers/powerpc/darwin1.0 -! I/opt/GNUstep/Local/Headers/powerpc/darwin1.0 -I/opt/GNUstep/System/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep
/Headers -I/opt/GNUstep/Local/Headers -I/opt/GNUstep/Network/Headers -I/opt/GNUstep/System/Headers -o static_obj/powerpc/darwin1.0/nx-gnu-gnu/o_vscanf.o
o_vscanf.c: In function `o_vscanf':
o_vscanf.c:313: warning: implicit declaration of function `objc_malloc'
o_vscanf.c:313: warning: assignment makes pointer from integer without a cast
o_vscanf.c:358: warning: implicit declaration of function `objc_realloc'
o_vscanf.c:358: warning: assignment makes pointer from integer without a cast
o_vscanf.c:358: warning: assignment makes pointer from integer without a cast
o_vscanf.c:559: warning: assignment makes pointer from integer without a cast
o_vscanf.c:593: warning: assignment makes pointer from integer without a cast
o_vscanf.c:593: warning: assignment makes pointer from integer without a cast
o_vscanf.c:122: warning: `number_signed' might be used uninitialized in this function
o_vscanf.c:124: warning: `num' might be used uninitialized in this function
o_vscanf.c:125: warning: `unum' might be used uninitialized in this function
o_vscanf.c:129: warning: `str' might be used uninitialized in this function
o_vscanf.c:129: warning: `strptr' might be used uninitialized in this function
o_vscanf.c:130: warning: `strsize' might be used uninitialized in this function
gcc GSCompatibility.m -c  -DGNUSTEP_INSTALL_PREFIX=/opt/GNUstep/System -DGNUSTEP_TARGET_DIR=\"powerpc/darwin1.0\" -DGNUSTEP_TARGET_CPU=\"powerpc\" -DGNUSTEP_TARGET_OS=\"darwin1.0\" -DLIBRARY_COMBO=\"nx-gnu-gnu\"   -Wall -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1   -DNeXT_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGSWARN -O2 -Wno-import -fnext-runtime   -I../Headers/gnustep -I../Headers -I./powerpc/darwin1.0    -I. -I/opt/GNUstep/System/Headers -I/opt/GNUstep/System/Headers -I/Local/Users/Administrator/GNUstep/Library/Headers -I/opt/GNUstep/Local/Library/Headers -I/opt/GNUstep/Network/Library/Headers -I/opt/GNUstep/System/Library/Headers -I/opt/GNUstep/Network/Headers/gnustep -I/Local/Users/Administrator/GNUstep/Headers/gnustep -I/opt/GNUstep/Local/Headers/gnustep -I/opt/GNUstep/System/Headers/gnustep  -I/opt/GNUstep/Network/Headers/powerpc/darwin1.0 -I/Local/Users/Administrator/GNUstep/Headers/powerp! c/darwin1.0 -I/opt/GNUstep/Local/Headers/powerpc/darwin1.0 -I/opt/GNUstep/System/Headers/powerpc/darwin1.0 -I/Local/Users/Adm
inistrator/GNUstep/Headers -I/opt/GNUstep/Local/Headers -I/opt/GNUstep/Network/Headers -I/opt/GNUstep/System/Headers  -o static_obj/powerpc/darwin1.0/nx-gnu-gnu/GSCompatibility.o
In file included from ../Headers/Foundation/NSObjCRuntime.h:87,
                 from ../Headers/Foundation/Foundation.h:29,
                 from GSCompatibility.m:25:
../Headers/gnustep/base/objc-gnu2next.h:134: syntax error before `void'
../Headers/gnustep/base/objc-gnu2next.h:135: syntax error before `void'
../Headers/gnustep/base/objc-gnu2next.h:136: syntax error before `void'
../Headers/gnustep/base/objc-gnu2next.h:137: syntax error before `void'
../Headers/gnustep/base/objc-gnu2next.h:138: syntax error before `void'
../Headers/gnustep/base/objc-gnu2next.h:139: syntax error before `void'
In file included from ../Headers/Foundation/NSDebug.h:30,
                 from ../Headers/Foundation/Foundation.h:31,
                 from GSCompatibility.m:25:
../Headers/Foundation/NSObject.h:220: parse error before `NXTypedStream'
../Headers/Foundation/NSObject.h:221: parse error before `NXTypedStream'
In file included from ../Headers/Foundation/NSDistributedNotificationCenter.h:30,
                 from ../Headers/Foundation/Foundation.h:52,
                 from GSCompatibility.m:25:
../Headers/Foundation/NSLock.h:56: parse error before `objc_mutex_t'
../Headers/Foundation/NSLock.h:74: parse error before `objc_condition_t'
../Headers/Foundation/NSLock.h:120: parse error before `objc_mutex_t'
GSCompatibility.m:30: warning: static declaration for `rint' follows non-static
make[3]: *** [static_obj/powerpc/darwin1.0/nx-gnu-gnu/GSCompatibility.o] Error 1
make[2]: *** [libgnustep-base.build] Error 2
make[1]: *** [libgnustep-base.all.library.variables] Error 2
make: *** [internal-all] Error 2


and here is the config.log of gnustep-base:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:603: checking host system type
configure:644: checking target system type
configure:684: checking build system type
configure:755: checking for gcc
configure:868: checking whether the C compiler (gcc   ) works
configure:884: gcc -o conftest    conftest.c  1>&5
configure:910: checking whether the C compiler (gcc   ) is a cross-compiler
configure:915: checking whether we are using GNU C
configure:943: checking whether gcc accepts -g
configure:975: checking how to run the C preprocessor
configure:1058: checking for whoami
configure:1093: checking for Cygwin environment
configure:1125: checking for mingw32 environment
configure:1153: checking for EMX OS/2 environment
configure:1184: checking for executable suffix
configure:1231: checking whether we are using the NeXT compiler
configure:1271: checking whether nested functions work
configure:1280: gcc -o conftest -g -O2   conftest.c  1>&5
/darwin/build/egcs-814.1-1.1.roots/egcs-814.1-1.1/gcc/config/rs6000/rs6000.c:6241: Internal compiler error in function rs6000_initialize_trampoline
configure: failed program was:
#line 1276 "configure"
#include "confdefs.h"
#include "./config/config.nested.c"
configure:1312: checking whether we are running under NEXTSTEP
configure:1321: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1478: checking for objc/objc.h
configure:1526: checking for objc threading flags
configure:1538: checking whether byte ordering is bigendian
configure:1638: checking size of void*
configure:1683: checking size of short
configure:1724: checking size of int
configure:1765: checking size of long
configure:1806: checking size of long long
configure:1847: checking size of float
configure:1888: checking size of double
configure:2111: checking loading of constructor functions
configure:2152: checking for dlfcn.h
configure:2186: checking for dl.h
configure:2221: checking for windows.h
configure:2256: checking for dld/defs.h
configure:2328: checking if +load method is executed before main
configure:2340: gcc -o conftest -g -O2  -I/opt/GNUstep/System/Headers -x objective-c  -L/opt/GNUstep/System/Libraries/powerpc/darwin1.0 conftest.c  -lobjc     1>&5
In file included from configure:2337:
./config/config.loadtest.m:3: objc/NXConstStr.h: No such file or directory
configure: failed program was:
#line 2336 "configure"
#include "confdefs.h"
#include "./config/config.loadtest.m"
configure:2376: checking for objc_condition_timedwait
configure:2376: checking for objc_thread_add
configure:2452: checking for ANSI C header files
configure:2556: checking for size_t
configure:2591: checking for inline
configure:2635: checking for ANSI C header files
configure:2742: checking for string.h
configure:2742: checking for memory.h
configure:2786: checking for values.h
configure:2830: checking for sys/stat.h
configure:2830: checking for sys/vfs.h
configure:2830: checking for sys/statfs.h
configure:2830: checking for sys/statvfs.h
configure:2830: checking for pwd.h
configure:2830: checking for grp.h
configure:2870: checking for sys/mount.h
configure:2870: checking for sys/types.h
configure:2870: checking for windows.h
configure:2870: checking for locale.h
configure:2870: checking for langinfo.h
configure:2911: checking for statvfs
configure:2911: checking for symlink
configure:2911: checking for readlink
configure:2911: checking for geteuid
configure:2911: checking for getlogin
configure:2911: checking for getpwnam
configure:2911: checking for getpwuid
configure:2911: checking for rint
configure:2974: checking for sys/time.h
configure:2974: checking for sys/rusage.h
configure:2974: checking for ucbinclude/sys/resource.h
configure:3018: checking for sys/socket.h
configure:3018: checking for netinet/in.h
configure:3062: checking for syslog.h
configure:3101: checking for syslog
configure:3161: checking for vsprintf
configure:3161: checking for vasprintf
configure:3223: gcc -o conftest -g -O2  -I/opt/GNUstep/System/Headers  -L/opt/GNUstep/System/Libraries/powerpc/darwin1.0 conftest.c  1>&5
configure:3273: checking for getcwd
configure:3331: checking for dirent.h that defines DIR
configure:3369: checking for opendir in -ldir
configure:3459: checking for getopt.h
configure:3502: checking for valloc
configure:3562: checking for times
configure:3622: checking for mkstemp
configure:3678: checking for shmctl
configure:3734: checking for mmap
configure:3794: checking for inet_aton
configure:3854: checking for killpg
configure:3854: checking for setpgrp
configure:3854: checking for setpgid
configure:3908: checking whether setpgrp takes no argument
configure:3976: checking for libc.h
configure:3976: checking for limits.h
configure:3976: checking for malloc.h
configure:3976: checking for memory.h
configure:3976: checking for string.h
configure:3976: checking for signal.h
configure:3976: checking for sys/file.h
configure:3976: checking for sys/fcntl.h
configure:3976: checking for sys/ioctl.h
configure:3976: checking for sys/stropts.h
configure:3976: checking for unistd.h
configure:3976: checking for utime.h
configure:3976: checking for libguile.h
configure:4019: checking for usleep
configure:4079: checking for strerror
configure:4137: checking whether stdint.h defines uintmax_t
configure:4146: gcc -c -g -O2  -I/opt/GNUstep/System/Headers conftest.c 1>&5
configure:4140: stdint.h: No such file or directory
configure: failed program was:
#line 4139 "configure"
#include "confdefs.h"
#include <stdint.h>
int main() {
int i = sizeof(uintmax_t);
; return 0; }
configure:4170: checking for wchar.h
configure:4211: checking for register_printf_function
configure:4295: checking for realpath
configure:4354: checking program_invocation_name in C Library
configure:4374: gcc -o conftest -g -O2  -I/opt/GNUstep/System/Headers  -L/opt/GNUstep/System/Libraries/powerpc/darwin1.0 conftest.c  1>&5
/usr/bin/ld: Undefined symbols:
_program_invocation_name
configure: failed program was:
#line 4362 "configure"
#include "confdefs.h"

#include <string.h>
int
main (int argc, char *argv[])
{
  extern char *program_invocation_name;
  return (strcmp (program_invocation_name, argv[0]));
}

configure:4412: checking kernel support for /proc filesystem
configure:4447: checking link to exe of process in /proc
configure:4478: checking /proc/267/cmdline terminated by nul
configure:4487: gcc -o conftest -g -O2  -I/opt/GNUstep/System/Headers  -L/opt/GNUstep/System/Libraries/powerpc/darwin1.0 conftest.c  1>&5
configure: failed program was:
#line 4483 "configure"
#include "confdefs.h"
#include "./config/config.proccmd.c"
configure:4513: checking short/int needs to be word aligned
configure:4522: gcc -o conftest -g -O2  -I/opt/GNUstep/System/Headers  -L/opt/GNUstep/System/Libraries/powerpc/darwin1.0 conftest.c  1>&5
configure:4550: checking use of pass-through arguments
configure:4572: checking use of fake-main definition
configure:4632: checking for ffi.h
configure:4666: checking for forwarding callback in runtime
configure:4686: checking for callback.h
configure:4725: checking FFI library usage
configure:4790: checking for xml2-config
configure:4827: checking for xml-config
configure:4865: checking for libxml - version >= 2.2.3
configure:5061: checking for openssl/ssl.h
configure:5104: checking for CRYPTO_malloc in -lcrypto
configure:5241: checking for gmp.h
configure:5391: checking for iconv
configure:5461: checking for main in -liconv



Greetings, Lars





reply via email to

[Prev in Thread] Current Thread [Next in Thread]