Hi,
I am using 9.1. It built fine by adding
export INCLUDE=${EBROOTGENTOO}/include:$INCLUDE; export
LIB=${EBROOTGENTOO}/lib &&
which explicitly sets the INCLUDE and LIB paths. Maybe this should be
exported by Sage's makefile when it tries to build pillow ?
Maxime
Le 20-07-10 à 11:15, Dima Pasechnik a écrit :
what version of Sage are you using? We were fixing pillow issues
lately. Could you try the latest beta?
On Fri, 10 Jul 2020, 15:42 Maxime Boissonneault,
<maxime.boissonnea...@calculquebec.ca
<mailto:maxime.boissonnea...@calculquebec.ca>> wrote:
Hi,
I am compiling Sage from source on Linux, on a supercomputer.
Libraries and headers are in non-standard locations. When the make
tries to build pillow, it fails with the following relevant part
of the log. Note that it initially finds zlib.h just fine.
However, it seems to fail to tell pillow where to take zlib from.
$ grep zlib
/tmp/eb-6u0oyvfw/easybuild-SageMath-9.1-20200709.205356.xAMAc.log
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
Checking whether SageMath should install SPKG zlib...
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: will use system package and not install SPKG zlib
checking whether any of atlas openblas zlib bzip2 is installed as
or will be installed as SPKG... yes; install cbc as well
checking installing zlib? ... no
checking whether any of gmp mpir zlib is installed as or will be
installed as SPKG... no
checking for python3 >= 3.7.3, < 3.8 with modules sqlite3, ctypes,
math, hashlib, crypt, readline, socket, zlib, distutils.core...
checking for python3 >= 3.7.3, < 3.8 with modules sqlite3, ctypes,
math, hashlib, crypt, readline, socket, zlib, distutils.core...
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/bin/python3.7
<http://soft.computecanada.ca/gentoo/2020/usr/bin/python3.7>
zlib-1.2.11.p0: using system package;
SPKG will not be installed
[gap-4.10.2.p1] checking zlib.h usability... yes
[gap-4.10.2.p1] checking zlib.h presence... yes
[gap-4.10.2.p1] checking for zlib.h... yes
[pillow-5.3.0.p0] Looking for `zlib` using pkg-config.
[pillow-5.3.0.p0] Looking for zlib
[pillow-5.3.0.p0] Checking for include file zlib.h in
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/sagemath/9.1/sage-9.1/local/var/tmp/sage/build/pillow-5.3.0.p0/src/src/libImaging
<http://soft.computecanada.ca/easybuild/software/2020/avx2/Core/sagemath/9.1/sage-9.1/local/var/tmp/sage/build/pillow-5.3.0.p0/src/src/libImaging>
[pillow-5.3.0.p0] Checking for include file zlib.h in
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/openjpeg-2.3
<http://soft.computecanada.ca/gentoo/2020/usr/include/openjpeg-2.3>
[pillow-5.3.0.p0] Checking for include file zlib.h in
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/freetype2
<http://soft.computecanada.ca/gentoo/2020/usr/include/freetype2>
[pillow-5.3.0.p0] Checking for include file zlib.h in
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/sagemath/9.1/sage-9.1/local/include
<http://soft.computecanada.ca/easybuild/software/2020/avx2/Core/sagemath/9.1/sage-9.1/local/include>
[pillow-5.3.0.p0] Checking for include file zlib.h in
/usr/local/include
[pillow-5.3.0.p0] Checking for include file zlib.h in /usr/include
[pillow-5.3.0.p0] Checking for include file zlib.h in
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/sagemath/9.1/sage-9.1/local/include
<http://soft.computecanada.ca/easybuild/software/2020/avx2/Core/sagemath/9.1/sage-9.1/local/include>
[pillow-5.3.0.p0] Checking for include file zlib.h in
/cvmfs/soft.computecanada.ca/gentoo/2020/usr/include/python3.7m
<http://soft.computecanada.ca/gentoo/2020/usr/include/python3.7m>
[pillow-5.3.0.p0] The headers or library files could not be found
for zlib,
[pillow-5.3.0.p0] __main__.RequiredDependencyException: zlib
[pillow-5.3.0.p0] The headers or library files could not be found
for zlib,
--
You received this message because you are subscribed to the Google
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/df67a49a-06ef-471d-88a3-8cad963daa20n%40googlegroups.com
<https://groups.google.com/d/msgid/sage-support/df67a49a-06ef-471d-88a3-8cad963daa20n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google
Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sage-support+unsubscr...@googlegroups.com
<mailto:sage-support+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/CAAWYfq1CvOdocLNSKFBCpryB0Tc1DXJqyr%3Dxiu6AdASYzjG6Xg%40mail.gmail.com
<https://groups.google.com/d/msgid/sage-support/CAAWYfq1CvOdocLNSKFBCpryB0Tc1DXJqyr%3Dxiu6AdASYzjG6Xg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/118b967a-7d6b-bb49-731e-0fa8ea12cfa6%40calculquebec.ca.