This is now https://trac.sagemath.org/ticket/30103

On Friday, July 10, 2020 at 7:42:45 AM UTC-7, Maxime Boissonneault 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
> 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
> [pillow-5.3.0.p0] Checking for include file zlib.h in /cvmfs/
> 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
> [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
> [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
> [pillow-5.3.0.p0] Checking for include file zlib.h in /cvmfs/
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/d16d14fb-e716-42cf-938e-6a177fa2cadao%40googlegroups.com.

Reply via email to