[sage-devel] Re: Error installing package ecl-15.3.7p0

2016-11-05 Thread Ralf Stephan


The workaround would be to deinstall the OpenSuSE package libffi-devel-gcc5

which falls back to installing an earlier version of libffi-devel.


Ultimately this must be resolved in libecl/libffi however.

Regards,

On Thursday, November 3, 2016 at 3:53:21 PM UTC+1, Ralf Stephan wrote:
>
> Okay I have what looks like the same problem on a similar system,
> and there libffi-devel-gcc5 is installed. I opened
> https://trac.sagemath.org/ticket/21811
>
> On Monday, May 9, 2016 at 3:08:58 PM UTC+2, Johannes Martin wrote:
>>
>> Hi,
>>
>> I cannot compile the source files of sage on
>> openSuse Leap 42
>>
>> Linux linux-noh5 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 
>> 2016 (0a392b2) x86_
>> 64 x86_64 x86_64 GNU/Linux
>>
>> The corresponding log-file shows the following information
>>
>> gcc -DECLDIR="\"/home/jmartin/Downloads/sage-7.1/local/lib/ecl-15.3.7\"" 
>> -I. -I/home/jmartin/
>> Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/build 
>> -I/home/jmartin/Downloads/
>> sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c -I../ecl/gc 
>> -DECL_API -DECL_NO_LEGAC
>> Y   -I/home/jmartin/Downloads/sage-7.1/local/include 
>> -I/home/jmartin/Downloads/sage-7.1/local
>> /include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2  -fPIC -Dlinux -c -o 
>> ffi.o ffi.o.c 
>>
>> /home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c/ffi.d:146:27
>> : error: 'FFI_SYSV' undeclared here (not in a function) 
>>  {@':cdecl', FFI_SYSV}, 
>>   ^ 
>> Makefile:81: recipe for target 'ffi.o' failed 
>> make[5]: *** [ffi.o] Error 1 
>> make[5]: Leaving directory 
>> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
>> 3.7p0/src/build/c' 
>> Makefile:109: recipe for target 'libeclmin.a' failed 
>> make[4]: *** [libeclmin.a] Error 2 
>> make[4]: Leaving directory 
>> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
>> 3.7p0/src/build' 
>> Makefile:70: recipe for target 'all' failed 
>> make[3]: *** [all] Error 2 
>> make[3]: Leaving directory 
>> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
>> 3.7p0/src' 
>> Error - Failed to build ECL ... exiting 
>>
>> real0m22.295s 
>> user0m17.176s 
>> sys 0m1.792s 
>>  
>> Error installing package ecl-15.3.7p0 
>> 
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Error installing package ecl-15.3.7p0

2016-11-03 Thread Ralf Stephan
Okay I have what looks like the same problem on a similar system,
and there libffi-devel-gcc5 is installed. I opened
https://trac.sagemath.org/ticket/21811

On Monday, May 9, 2016 at 3:08:58 PM UTC+2, Johannes Martin wrote:
>
> Hi,
>
> I cannot compile the source files of sage on
> openSuse Leap 42
>
> Linux linux-noh5 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 
> 2016 (0a392b2) x86_
> 64 x86_64 x86_64 GNU/Linux
>
> The corresponding log-file shows the following information
>
> gcc -DECLDIR="\"/home/jmartin/Downloads/sage-7.1/local/lib/ecl-15.3.7\"" 
> -I. -I/home/jmartin/
> Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/build 
> -I/home/jmartin/Downloads/
> sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c -I../ecl/gc 
> -DECL_API -DECL_NO_LEGAC
> Y   -I/home/jmartin/Downloads/sage-7.1/local/include 
> -I/home/jmartin/Downloads/sage-7.1/local
> /include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2  -fPIC -Dlinux -c -o 
> ffi.o ffi.o.c 
>
> /home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c/ffi.d:146:27
> : error: 'FFI_SYSV' undeclared here (not in a function) 
>  {@':cdecl', FFI_SYSV}, 
>   ^ 
> Makefile:81: recipe for target 'ffi.o' failed 
> make[5]: *** [ffi.o] Error 1 
> make[5]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build/c' 
> Makefile:109: recipe for target 'libeclmin.a' failed 
> make[4]: *** [libeclmin.a] Error 2 
> make[4]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build' 
> Makefile:70: recipe for target 'all' failed 
> make[3]: *** [all] Error 2 
> make[3]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src' 
> Error - Failed to build ECL ... exiting 
>
> real0m22.295s 
> user0m17.176s 
> sys 0m1.792s 
>  
> Error installing package ecl-15.3.7p0 
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Error installing package ecl-15.3.7p0

2016-05-09 Thread Volker Braun
Do you have libffi-devel installed (however the package is talled on Suse)?


On Monday, May 9, 2016 at 3:08:58 PM UTC+2, Johannes Martin wrote:
>
> Hi,
>
> I cannot compile the source files of sage on
> openSuse Leap 42
>
> Linux linux-noh5 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 
> 2016 (0a392b2) x86_
> 64 x86_64 x86_64 GNU/Linux
>
> The corresponding log-file shows the following information
>
> gcc -DECLDIR="\"/home/jmartin/Downloads/sage-7.1/local/lib/ecl-15.3.7\"" 
> -I. -I/home/jmartin/
> Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/build 
> -I/home/jmartin/Downloads/
> sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c -I../ecl/gc 
> -DECL_API -DECL_NO_LEGAC
> Y   -I/home/jmartin/Downloads/sage-7.1/local/include 
> -I/home/jmartin/Downloads/sage-7.1/local
> /include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2  -fPIC -Dlinux -c -o 
> ffi.o ffi.o.c 
>
> /home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c/ffi.d:146:27
> : error: 'FFI_SYSV' undeclared here (not in a function) 
>  {@':cdecl', FFI_SYSV}, 
>   ^ 
> Makefile:81: recipe for target 'ffi.o' failed 
> make[5]: *** [ffi.o] Error 1 
> make[5]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build/c' 
> Makefile:109: recipe for target 'libeclmin.a' failed 
> make[4]: *** [libeclmin.a] Error 2 
> make[4]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build' 
> Makefile:70: recipe for target 'all' failed 
> make[3]: *** [all] Error 2 
> make[3]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src' 
> Error - Failed to build ECL ... exiting 
>
> real0m22.295s 
> user0m17.176s 
> sys 0m1.792s 
>  
> Error installing package ecl-15.3.7p0 
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Error installing package ecl-15.3.7p0

2016-05-09 Thread Dima Pasechnik
can we see the complete install.log? (from SAGEROOT/logs/ ) ?

On Monday, May 9, 2016 at 2:08:58 PM UTC+1, Johannes Martin wrote:
>
> Hi,
>
> I cannot compile the source files of sage on
> openSuse Leap 42
>
> Linux linux-noh5 4.1.20-11-default #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 
> 2016 (0a392b2) x86_
> 64 x86_64 x86_64 GNU/Linux
>
> The corresponding log-file shows the following information
>
> gcc -DECLDIR="\"/home/jmartin/Downloads/sage-7.1/local/lib/ecl-15.3.7\"" 
> -I. -I/home/jmartin/
> Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/build 
> -I/home/jmartin/Downloads/
> sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c -I../ecl/gc 
> -DECL_API -DECL_NO_LEGAC
> Y   -I/home/jmartin/Downloads/sage-7.1/local/include 
> -I/home/jmartin/Downloads/sage-7.1/local
> /include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2  -fPIC -Dlinux -c -o 
> ffi.o ffi.o.c 
>
> /home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.3.7p0/src/src/c/ffi.d:146:27
> : error: 'FFI_SYSV' undeclared here (not in a function) 
>  {@':cdecl', FFI_SYSV}, 
>   ^ 
> Makefile:81: recipe for target 'ffi.o' failed 
> make[5]: *** [ffi.o] Error 1 
> make[5]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build/c' 
> Makefile:109: recipe for target 'libeclmin.a' failed 
> make[4]: *** [libeclmin.a] Error 2 
> make[4]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src/build' 
> Makefile:70: recipe for target 'all' failed 
> make[3]: *** [all] Error 2 
> make[3]: Leaving directory 
> '/home/jmartin/Downloads/sage-7.1/local/var/tmp/sage/build/ecl-15.
> 3.7p0/src' 
> Error - Failed to build ECL ... exiting 
>
> real0m22.295s 
> user0m17.176s 
> sys 0m1.792s 
>  
> Error installing package ecl-15.3.7p0 
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.