discuss-gnustep
[Top][All Lists]
Advanced

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

Building GNUstep on Solaris


From: Andreas Höschler
Subject: Building GNUstep on Solaris
Date: Tue, 19 Jan 2010 18:35:58 +0100

Hi all,

I have still no success building a recent GNUstep on Solaris. I have

        gcc -v
Using built-in specs.
Target: i386-pc-solaris2.10
Configured with: ../configure --with-gnu-as --with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-shared --disable-nls --enable-languages=c,c++,objc --disable-multilib --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.4.2 (GCC)

and with this gcc I built:

        gunzip binutils-2.20.tar.gz
        tar xvf binutils-2.20.tar
        cd binutils-2.20
        ./configure
        make
        make install
        cd ..

        tar xvf ffcall-1.8d.tar
        cd ffcall-1.8d
        ./configure
        make
        make install
        cd ..

        tar xvf freetype-2.1.10.tar
        cd freetype-2.1.10
        ./configure
        make
        make install
        cd ..

I also tried several versions of libffi but "make install" always fails with

test -z "/usr/local/lib/libffi-3.0.9/include" || .././install-sh -c -d "/usr/local/lib/libffi-3.0.9/include" ./install-sh -c -m 644 ffi.h ffitarget.h '/usr/local/lib/libffi-3.0.9/include'
/bin/bash: line 7: ./install-sh: No such file or directory
make[2]: *** [install-nodist_includesHEADERS] Error 127
make[2]: Leaving directory `/usr/share/src/libffi-3.0.9/include'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/share/src/libffi-3.0.9/include'
make: *** [install-recursive] Error 1

I checked out install-sh to see whether I could copy the files manually but this script is so long,... I gave up on this one! :-(

My first attempt to install GNUstep went as follows:

        cd /usr/src/gnustep-startup-0.23.0
        ./InstallGNUstep --verbose --prefix=/opt/GNUstep --builddir=/Build

------------------------------------------------------------------------ --------------
You are ready to install GNUstep. However, please pay special
attention to any warnings printed above and consider correcting
them if they seem important
This package installs these versions of the GNUstep libraries:
  GNUstep Make: checkout
  GNUstep Base: checkout
  GNUstep Gui/Back: checkout

Building in /usr/share/src/gnustep-startup-0.23.0/../core
Installing in /opt/GNUstep
Install Prefix:
Library combo: gnu-gnu-gnu
Press the Return key to begin building GNUstep:

******** Building GNUstep Make **********
./InstallGNUstep: make: does not exist
------------------------------------------------------------------------ --------------

I then tried the manual install:

        cd gnustep-make-2.2.0
        ./configure --prefix=/opt/GNUstep --enable-import
        make
        make install
        cd ..

        pico /opt/GNUstep/System/Library/Makefiles/config.make
        . /opt/GNUstep/System/Library/Makefiles/GNUstep.sh

        cd gnustep-base-1.19.3
./configure --with-openssl-include=/usr/local/ssl/include --with-openssl-library=/usr/local/ssl/lib
        make
        ...

This fails with

Compiling file NSZone.m ...
 Compiling file externs.m ...
 Compiling file objc-load.m ...
 Compiling file GSFileHandle.m ...
GSFileHandle.m: In function '-[GSFileHandle initForReadingAtPath:]':
GSFileHandle.m:955: warning: implicit declaration of function 'open'
GSFileHandle.m: In function '-[GSFileHandle initWithFileDescriptor:closeOnDealloc:]':
GSFileHandle.m:1126: warning: implicit declaration of function 'fcntl'
 Compiling file NSMessagePort.m ...
 Compiling file NSMessagePortNameServer.m ...
NSMessagePortNameServer.m: In function '-[NSMessagePortNameServer registerPort:forName:]': NSMessagePortNameServer.m:411: warning: format '%i' expects type 'int', but argument 3 has type 'pid_t'
 Compiling file GSFFCallInvocation.m ...
GSFFCallInvocation.m: In function 'GSInvocationCallback':
GSFFCallInvocation.m:869: warning: value computed is not used
GSFFCallInvocation.m:869: warning: value computed is not used
GSFFCallInvocation.m:1069: warning: value computed is not used
GSFFCallInvocation.m:1069: warning: value computed is not used
GSFFCallInvocation.m:1072: warning: value computed is not used
GSFFCallInvocation.m:1072: warning: value computed is not used
GSFFCallInvocation.m:1072: warning: value computed is not used
GSFFCallInvocation.m:1072: warning: value computed is not used
GSFFCallInvocation.m:1073: warning: value computed is not used
GSFFCallInvocation.m:1073: warning: value computed is not used
GSFFCallInvocation.m:1073: warning: value computed is not used
GSFFCallInvocation.m:1073: warning: value computed is not used
GSFFCallInvocation.m:1074: warning: value computed is not used
GSFFCallInvocation.m:1074: warning: value computed is not used
GSFFCallInvocation.m:1074: warning: value computed is not used
GSFFCallInvocation.m:1074: warning: value computed is not used
GSFFCallInvocation.m:1075: warning: value computed is not used
GSFFCallInvocation.m:1075: warning: value computed is not used
GSFFCallInvocation.m:1075: warning: value computed is not used
GSFFCallInvocation.m:1075: warning: value computed is not used
GSFFCallInvocation.m:1076: warning: value computed is not used
GSFFCallInvocation.m:1076: warning: value computed is not used
GSFFCallInvocation.m:1076: warning: value computed is not used
GSFFCallInvocation.m:1076: warning: value computed is not used
GSFFCallInvocation.m:1077: warning: value computed is not used
GSFFCallInvocation.m:1077: warning: value computed is not used
GSFFCallInvocation.m:1077: warning: value computed is not used
GSFFCallInvocation.m:1077: warning: value computed is not used
GSFFCallInvocation.m:1078: warning: value computed is not used
GSFFCallInvocation.m:1078: warning: value computed is not used
GSFFCallInvocation.m:1078: warning: value computed is not used
GSFFCallInvocation.m:1078: warning: value computed is not used
GSFFCallInvocation.m:1079: warning: value computed is not used
GSFFCallInvocation.m:1079: warning: value computed is not used
GSFFCallInvocation.m:1079: warning: value computed is not used
GSFFCallInvocation.m:1079: warning: value computed is not used
GSFFCallInvocation.m:1080: warning: value computed is not used
GSFFCallInvocation.m:1080: warning: value computed is not used
GSFFCallInvocation.m:1080: warning: value computed is not used
GSFFCallInvocation.m:1080: warning: value computed is not used
GSFFCallInvocation.m:1081: warning: value computed is not used
GSFFCallInvocation.m:1081: warning: value computed is not used
GSFFCallInvocation.m:1081: warning: value computed is not used
GSFFCallInvocation.m:1081: warning: value computed is not used
GSFFCallInvocation.m:1082: warning: value computed is not used
GSFFCallInvocation.m:1082: warning: value computed is not used
GSFFCallInvocation.m:1082: warning: value computed is not used
GSFFCallInvocation.m:1082: warning: value computed is not used
GSFFCallInvocation.m:1083: warning: value computed is not used
GSFFCallInvocation.m:1083: warning: value computed is not used
GSFFCallInvocation.m:1083: warning: value computed is not used
GSFFCallInvocation.m:1083: warning: value computed is not used
GSFFCallInvocation.m:1086: warning: value computed is not used
GSFFCallInvocation.m:1098: warning: value computed is not used
GSFFCallInvocation.m:1098: warning: value computed is not used
GSFFCallInvocation.m:1102: warning: value computed is not used
 Linking library libgnustep-base ...
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown> 0xa /usr/local/lib/libcallback.a(misc.o) <unknown> 0x2a /usr/local/lib/libcallback.a(misc.o) <unknown> 0x78 /usr/local/lib/libcallback.a(trampoline.o) free 0x4e /usr/local/lib/libcallback.a(trampoline.o) abort 0x19 /usr/local/lib/libcallback.a(misc.o) abort 0x39 /usr/local/lib/libcallback.a(misc.o) abort 0x82 /usr/local/lib/libcallback.a(trampoline.o) fprintf 0x14 /usr/local/lib/libcallback.a(misc.o) fprintf 0x34 /usr/local/lib/libcallback.a(misc.o) __iob 0xf /usr/local/lib/libcallback.a(misc.o) __iob 0x2f /usr/local/lib/libcallback.a(misc.o) __iob 0x6f /usr/local/lib/libcallback.a(trampoline.o) fwrite 0x7d /usr/local/lib/libcallback.a(trampoline.o) malloc 0x61 /usr/local/lib/libcallback.a(trampoline.o) ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[3]: *** [obj/libgnustep-base.so.1.19.3] Error 1
make[2]: *** [internal-library-all_] Error 2
make[1]: *** [libgnustep-base.all.library.variables] Error 2
make: *** [internal-all] Error 2

Puagh! :-( This was easier with older version of GNUstep. Anyone else with more success on Solaris?

Thanks a lot,

 Andreas





reply via email to

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