discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep build problem


From: Fred Kiefer
Subject: Re: GNUstep build problem
Date: Wed, 06 Jan 2010 16:22:22 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0

Am 06.01.2010 15:50, schrieb Andreas Höschler:
> Hi all,
> 
>>> Not sure whether this will help you, but your problems seem all to come
>>> from the ffcallback library, why not switch over to use ffi
>>> (http://sourceware.org/libffi/), which is better supported on most
>>> platforms anyway?
>>
>> I tried that.
>>
>>     gunzip libffi-3.0.9.tar.gz
>>     tar xvf libffi-3.0.9.tar
>>     cd libffi-3.0.9
>>     ./configure
>>     make
>>     make install
>>
>> "make" succeeded but "make install" gave me
>>
>>     make install
>>
>> Making install in include
>> make[1]: Entering directory `/usr/share/src/libffi-3.0.9/include'
>> make[2]: Entering directory `/usr/share/src/libffi-3.0.9/include'
>> make[2]: Nothing to be done for `install-exec-am'.
>> 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
> 
> OK, I tried 3.0.8 and that had the install-sh at least but so it seems
> in the wrong directory. I therefore did
> 
>     ln -s install-sh ./include/install-sh
> 
> Now I get a different error message:
> 
> -bash-3.00# make install messages=yes
> Making install in include
> make[1]: Entering directory `/usr/share/src/libffi-3.0.8/include'
> make[2]: Entering directory `/usr/share/src/libffi-3.0.8/include'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/lib/libffi-3.0.8/include" || .././install-sh -c -d
> "/usr/local/lib/libffi-3.0.8/include"
>  ./install-sh -c -m 644 'ffi.h' '/usr/local/lib/libffi-3.0.8/include/ffi.h'
> /bin/bash: line 4: ./install-sh: Number of symbolic links encountered
> during path name traversal exceeds MAXSYMLINKS
>  ./install-sh -c -m 644 'ffitarget.h'
> '/usr/local/lib/libffi-3.0.8/include/ffitarget.h'
> /bin/bash: line 4: ./install-sh: Number of symbolic links encountered
> during path name traversal exceeds MAXSYMLINKS
> make[2]: *** [install-nodist_includesHEADERS] Error 126
> make[2]: Leaving directory `/usr/share/src/libffi-3.0.8/include'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/usr/share/src/libffi-3.0.8/include'
> make: *** [install-recursive] Error 1
> 
> OK, then we try "cp install-sh  ./include/install-sh"
> 
> make[2]: Entering directory `/usr/share/src/libffi-3.0.8/man'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/usr/local/share/man/man3" || .././install-sh -c -d
> "/usr/local/share/man/man3"
>  ./install-sh -c -m 644 './ffi.3' '/usr/local/share/man/man3/ffi.3'
> /bin/bash: line 19: ./install-sh: No such file or directory
>  ./install-sh -c -m 644 './ffi_call.3'
> '/usr/local/share/man/man3/ffi_call.3'
> /bin/bash: line 19: ./install-sh: No such file or directory
>  ./install-sh -c -m 644 './ffi_prep_cif.3'
> '/usr/local/share/man/man3/ffi_prep_cif.3'
> /bin/bash: line 19: ./install-sh: No such file or directory
> make[2]: *** [install-man3] Error 127
> make[2]: Leaving directory `/usr/share/src/libffi-3.0.8/man'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/usr/share/src/libffi-3.0.8/man'
> make: *** [install-recursive] Error 1
> 
> Uaghh! libffi is obviously not compatible with Solaris! :-(  Back to
> ffcall ...

I don't think so. Your Solaris seems to be missing a proper install
program. There is are placement one in libffi 3.0.9 (the X install-sh
actually), no idea, why you could not see that. It may not fully work on
Solaris, but copying the library and the headers into the correct places
yourself should not be that hard.

>     tar xvf ffcall-1.8d.tar
>     cd ffcall-1.8d
>     ./configure
>     make
>     make install
>     cd ..
> 
> and back to base. I put the output of the base build into
> 
>     http://www.smartsoft.de/EAR/base_build.output.txt
> 
> If anyone cares to have a look on that. Thanks a lot,

Googling for the error message (relocations remain against allocatable
but non-writable sections) give the following result:

http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html

Hope this helps
Fred





reply via email to

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