On Thu, May 11, 2023 at 2:07 PM Yan Bo Ti <yanbo...@gmail.com> wrote:
>
> Hello all, firstly, thank you for your hard work.
>
> I am trying to compile sage from source, because I can't seem to do sage -pip 
> install if I were to install it using pacman.
> But in the course of building sage, I encountered an error with libgd. Is it 
> possible to continue without installing libgd? I've included the log file in 
> this post. Thanks once again.

this is caused by a bug in libgd, which detects external libraries it
can use incorrectly in this case. Your log says

** Configuration summary for libgd 2.3.2:

   Support for gd/gd2 images:        yes
   Support for Zlib:                 yes
   Support for PNG library:          yes
   Support for JPEG library:         no
   Support for WebP library:         yes
   Support for HEIF library:         yes
   Support for AVIF library:         no
   Support for TIFF library:         yes
   Support for Freetype 2.x library: yes
   Support for Fontconfig library:   no
   Support for Xpm library:          no
   Support for liq library:          no
   Support for complex text:         no
   Support for pthreads:             yes

Of these, only PNG is needed. We'll be fixing this in
https://github.com/sagemath/sage/pull/35477
Meanwhile you may manually apply the fix from there:

Replace your build/pkgs/libgd/spkg-install.in with
https://raw.githubusercontent.com/sagemath/sage/212afefe219cbfa3b4f64c26ced60f63699b64b3/build/pkgs/libgd/spkg-install.in

and run ./configure && make



>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/71c95be5-5e3c-4899-9be0-5d0f72449a2cn%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq0gd%3Db8zkKmEMx%3DsiL3861uiiTQ%2BrwLWB4eBqnzQrHkMg%40mail.gmail.com.

Reply via email to