Hi!
I am new to the group. Could not find a way to attach log file to the post.
Hence pasting it below.
I was trying to build Sage from source on openSuse 12.2 64-bit intel i5 
machine. Installation failed with the following error message. There was some 
file not found for flint-2.3.pl. The installation ran for few hours before 
ending with error. I have set SAGE_KEEP_BUILT_SPKGS=yes in .bashrc. Can I rerun 
make and avoid losing the already compiled packages?

Regards,
Amit Singh

The log:

Found package flint-2.3.p1 in spkg/standard/flint-2.3.p1.spkg
flint-2.3.p1
====================================================
Extracting package /home/amit/Software/sage-5.12/spkg/standard/flint-2.3.p1.spkg
-rw-r--r-- 1 amit users 742578 May 15  2013 
/home/amit/Software/sage-5.12/spkg/standard/flint-2.3.p1.spkg
Finished extraction
****************************************************
Host system:
Linux linux-2nmt.site 3.4.63-2.44-desktop #1 SMP PREEMPT Wed Oct 2 11:18:32 UTC 
2013 (d91a619) x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/amit/Software/sage-5.12/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../src/configure --prefix=/home/amit/Software/sage-5.12/local 
--with-local-prefix=/home/amit/Software/sage-5.12/local 
--with-gmp=/home/amit/Software/sage-5.12/local 
--with-mpfr=/home/amit/Software/sage-5.12/local 
--with-mpc=/home/amit/Software/sage-5.12/local --with-system-zlib 
--disable-multilib --disable-nls  
Thread model: posix
gcc version 4.7.3 (GCC) 
****************************************************
Patching FLINT.
patching file configure
patching file configure
Configuring FLINT.
Configuring...x86_64-Linux
Testing __builtin_popcountl...yes
Testing native popcount...yes
Building FLINT shared library.
make[3]: Entering directory 
`/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1/src'
if [ "1" -eq "1" ]; then \
        make libflint.so; \
fi
make[4]: Entering directory 
`/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1/src'
gcc -fPIC -O2 -g -ansi -pedantic -Wall -mpopcnt  -funroll-loops 
-I/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1/src 
-I/home/amit/Software/sage-5.12/local/include 
-I/home/amit/Software/sage-5.12/local/include 
-I/home/amit/Software/sage-5.12/local/include -c clz_tab.c -o build/clz_tab.lo;
/home/amit/Software/sage-5.12/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/cc1: 
error while loading shared libraries: libmpc.so.3: cannot open shared object 
file: No such file or directory
make[4]: *** [build/clz_tab.lo] Error 1
make[4]: Leaving directory 
`/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1/src'
make[3]: *** [library] Error 2
make[3]: Leaving directory 
`/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1/src'
Error: Failed to build FLINT shared library.

real    0m0.370s
user    0m0.239s
sys     0m0.105s
************************************************************************
Error installing package flint-2.3.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/amit/Software/sage-5.12/logs/pkgs/flint-2.3.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1 and type 'make' or 
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/amit/Software/sage-5.12/spkg/build/flint-2.3.p1' && 
'/home/amit/Software/sage-5.12/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to