see
http://doc.sagemath.org/html/en/installation/source.html#linux-recommended-installation
as well as
https://trac.sagemath.org/ticket/27330

On Fri, 26 Jul 2019 13:41 Dima Pasechnik, <[email protected]> wrote:

> install gcc, g++, gfortran packages from your Cygwin64; you also don't
> need to build zlib, Sage can use the installed zlib, as well as many other.
>
> On Fri, 26 Jul 2019 13:20 Miguel Karlsruhe, <[email protected]>
> wrote:
>
>> Hi group,
>>
>> Running 'make' of Sage-8.8-Ubuntu_18.04-x86_64.tar.bz2 under Cygwin64
>> shell (Windows 10), I get the following building error:
>>
>> [zlib-1.2.11.p0] Building zlib-1.2.11.p0
>> [zlib-1.2.11.p0] make[3]: Entering directory
>> '/home/SageMath/local/var/tmp/sage/build/zlib-1.2.11.p0/src'
>> [zlib-1.2.11.p0] gcc  -O3 -Wall -c -o adler32.o adler32.c
>> [zlib-1.2.11.p0] /home/SageMath/local/bin/gcc:
>> /home/SageMath/local/bin/gcc: cannot execute binary file
>> [zlib-1.2.11.p0] make[3]: *** [Makefile:85: adler32.o] Error 126
>> [zlib-1.2.11.p0] make[3]: Leaving directory
>> '/home/SageMath/local/var/tmp/sage/build/zlib-1.2.11.p0/src'
>> [zlib-1.2.11.p0]
>> ********************************************************************************
>> [zlib-1.2.11.p0] Error building zlib-1.2.11.p0
>> [zlib-1.2.11.p0]
>> ********************************************************************************
>> [zlib-1.2.11.p0]
>> [zlib-1.2.11.p0] real   0m0.949s
>> [zlib-1.2.11.p0] user   0m0.105s
>> [zlib-1.2.11.p0] sys    0m0.412s
>> [zlib-1.2.11.p0]
>> ************************************************************************
>> [zlib-1.2.11.p0] Error installing package zlib-1.2.11.p0
>> [zlib-1.2.11.p0]
>> ************************************************************************
>> [zlib-1.2.11.p0] Please email sage-devel (
>> http://groups.google.com/group/sage-devel)
>> [zlib-1.2.11.p0] explaining the problem and including the log file
>> [zlib-1.2.11.p0]   /home/SageMath/logs/pkgs/zlib-1.2.11.p0.log
>> [zlib-1.2.11.p0] Describe your computer, operating system, etc.
>> [zlib-1.2.11.p0] If you want to try to fix the problem yourself, *don't*
>> just cd to
>> [zlib-1.2.11.p0] /home/SageMath/local/var/tmp/sage/build/zlib-1.2.11.p0
>> and type 'make' or whatever is appropriate.
>> [zlib-1.2.11.p0] Instead, the following commands setup all environment
>> variables
>> [zlib-1.2.11.p0] correctly and load a subshell for you to debug the error:
>> [zlib-1.2.11.p0]   (cd
>> '/home/SageMath/local/var/tmp/sage/build/zlib-1.2.11.p0' &&
>> '/home/SageMath/sage' --sh)
>> [zlib-1.2.11.p0] When you are done debugging, you can type "exit" to
>> leave the subshell.
>> [zlib-1.2.11.p0]
>> ************************************************************************
>> make[2]: *** [Makefile:2163:
>> /home/SageMath/local/var/lib/sage/installed/zlib-1.2.11.p0] Error 1
>> make[2]: Leaving directory '/home/SageMath/build/make'
>> make[1]: *** [Makefile:1852: base-toolchain] Error 2
>> make[1]: Leaving directory '/home/SageMath/build/make'
>>
>> real    0m18.784s
>> user    0m1.174s
>> sys     0m3.768s
>> ***************************************************************
>> Error building Sage.
>>
>> The following package(s) may have failed to build (not necessarily
>> during this run of 'make base-toolchain'):
>>
>> * package: zlib-1.2.11.p0
>>   log file: /home/SageMath/logs/pkgs/zlib-1.2.11.p0.log
>>   build directory: /home/SageMath/local/var/tmp/sage/build/zlib-1.2.11.p0
>>
>> The build directory may contain configuration files and other potentially
>> helpful information. WARNING: if you now run 'make' again, the build
>> directory will, by default, be deleted. Set the environment variable
>> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
>>
>> make: *** [Makefile:33: base-toolchain] Error 1
>>
>> #####
>>
>> Environmental variable: echo $SAGE_KEEP_BUILT_SPKGS
>> yes
>>
>> #####
>>
>> Any help? Thanks a lot,
>> Miguel
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-devel/586886c6-2437-4d25-a78a-4a8c8b008aa6%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-devel/586886c6-2437-4d25-a78a-4a8c8b008aa6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3v4%3Do2sZGD%2BJwNGHef2UTjEt%3D2VPQ9aTkdm7sWjjf9MQ%40mail.gmail.com.

Reply via email to