error compiling package giac-1.4.9.45

63 views
Skip to first unread message

David Coudert

unread,
Jan 28, 2018, 6:00:13 AM1/28/18
to sage-devel
I have a compilation error with package giac-1.4.9.45 during the compilation of SageMath version 8.2.beta4 on a linux computer (make build -j1).

See attached log file.

Any help is more than welcome.
David.

giac-1.4.9.45.log

François Bissey

unread,
Jan 28, 2018, 6:07:25 AM1/28/18
to sage-...@googlegroups.com
Rebuild gcc. see https://trac.sagemath.org/ticket/24599
> --
> 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+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
> <giac-1.4.9.45.log>
>
> ----
> David Coudert
> Equipe-Projet COATI
> Centre de Recherche INRIA Sophia Antipolis - Méditerranée
> Université Côte d’Azur, Inria, CNRS, I3S, France
> http://www-sop.inria.fr/members/David.Coudert
>
>
>
>
>
>
>
> --
> 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+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

David....@inria.fr

unread,
Jan 28, 2018, 6:19:11 AM1/28/18
to sage-devel
what is the smart way to do that (i.e., without make dist-clean) ?

François Bissey

unread,
Jan 28, 2018, 6:46:48 AM1/28/18
to sage-...@googlegroups.com
./sage -f gcc
it will rebuild mpir/mpfr/mpc after gcc but that’s ok.

David Coudert

unread,
Jan 28, 2018, 10:41:26 AM1/28/18
to sage-...@googlegroups.com
Thanks. I have recompiled gcc.

However, the compilation of giac is still failing :( 
See attached log.

David.

giac-1.4.9.45.log

François Bissey

unread,
Jan 28, 2018, 1:40:08 PM1/28/18
to sage-...@googlegroups.com
Different problem. There seem to be an issue with libpng.
> --
> 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+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
> <giac-1.4.9.45.log>
>
>> Le 28 janv. 2018 à 12:46, François Bissey <frp.b...@gmail.com> a écrit :
>>
>> ./sage -f gcc
>> it will rebuild mpir/mpfr/mpc after gcc but that’s ok.
>
> ----
> David Coudert
> Equipe-Projet COATI
> Centre de Recherche INRIA Sophia Antipolis - Méditerranée
> Université Côte d’Azur, Inria, CNRS, I3S, France
> http://www-sop.inria.fr/members/David.Coudert
>
>
>
>
>
>
>

François Bissey

unread,
Jan 28, 2018, 1:48:20 PM1/28/18
to sage-...@googlegroups.com
OK after checks, it means it tries to link with libpng-1.2 rather than
a newer one like we have in sage now (1.6). Can you send the config.log
from giac?

François

David Coudert

unread,
Jan 28, 2018, 2:59:12 PM1/28/18
to sage-...@googlegroups.com
I don’t know where to find this file.

David.

Le 28 janv. 2018 à 19:48, François Bissey <frp.b...@gmail.com> a écrit :

OK after checks, it means it tries to link with libpng-1.2 rather than
a newer one like we have in sage now (1.6). Can you send the config.log
from giac?

François

François Bissey

unread,
Jan 28, 2018, 3:36:53 PM1/28/18
to sage-...@googlegroups.com
/home/dcoudert/sage/local/var/tmp/sage/build/giac-1.4.9.45/src/config.log
if I am not mistaken.

François

David Coudert

unread,
Jan 28, 2018, 4:20:23 PM1/28/18
to sage-...@googlegroups.com
right. Here it is.
Thanks.
David.

config.log

François Bissey

unread,
Jan 28, 2018, 4:29:35 PM1/28/18
to sage-...@googlegroups.com
What version of libpng is installed? Can you post the output of
ls -la /home/dcoudert/sage/local/lib/libpng*
> --
> 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+...@googlegroups.com.
> To post to this group, send email to sage-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
> <config.log>
>> You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/CHAgwg0spMg/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.

David Coudert

unread,
Jan 28, 2018, 6:11:48 PM1/28/18
to sage-...@googlegroups.com
-rw-r--r-- 1 dcoudert 1689776 déc.  14 17:36 /home/dcoudert/sage/local/lib/libpng16.a
lrwxrwxrwx 1 dcoudert      19 déc.  14 17:36 /home/dcoudert/sage/local/lib/libpng16.so -> libpng16.so.16.29.0
lrwxrwxrwx 1 dcoudert      19 déc.  14 17:36 /home/dcoudert/sage/local/lib/libpng16.so.16 -> libpng16.so.16.29.0
-rwxr-xr-x 1 dcoudert  908936 déc.  14 17:36 /home/dcoudert/sage/local/lib/libpng16.so.16.29.0


Le 28 janv. 2018 à 22:29, François Bissey <frp.b...@gmail.com> a écrit :

What version of libpng is installed? Can you post the output of
ls -la /home/dcoudert/sage/local/lib/libpng*


François Bissey

unread,
Jan 28, 2018, 6:30:26 PM1/28/18
to sage-...@googlegroups.com

> On 29/01/2018, at 12:11, David Coudert <david....@inria.fr> wrote:
>
> -rw-r--r-- 1 dcoudert 1689776 déc. 14 17:36 /home/dcoudert/sage/local/lib/libpng16.a
> lrwxrwxrwx 1 dcoudert 19 déc. 14 17:36 /home/dcoudert/sage/local/lib/libpng16.so -> libpng16.so.16.29.0
> lrwxrwxrwx 1 dcoudert 19 déc. 14 17:36 /home/dcoudert/sage/local/lib/libpng16.so.16 -> libpng16.so.16.29.0
> -rwxr-xr-x 1 dcoudert 908936 déc. 14 17:36 /home/dcoudert/sage/local/lib/libpng16.so.16.29.0
>

No `libpng.so`? If not, that’s the problem, sage’s install of libpng
is broken or giac should be made to find libpng16.so first.
Let’s try re-installing libpng first:
./sage -f libpng

François

David Coudert

unread,
Jan 29, 2018, 2:26:04 AM1/29/18
to sage-...@googlegroups.com
Working !!!

I reinstalled libpng (./sage -f libpng), so now I have libpng.so and libpng.a
Then `make build -j1`. It recompiles many stuff but it went to the end.

Thank you very much for your help.

David.
Reply all
Reply to author
Forward
0 new messages