Erreur with git while compiling sage on linux

79 views
Skip to first unread message

Paul Mercat

unread,
Jun 18, 2015, 7:00:10 PM6/18/15
to sage-...@googlegroups.com
Hi !

I try to compile sage on linux, and I get the following error.
Do you know what is the problem and how correct it ?

.
.
.
 GEN perl/PM.stamp
make[4]: Entering directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src/perl'
/usr/bin/perl Makefile.PL PREFIX='/home/paul.mercat/sage/local' INSTALL_BASE='' --localedir='/home/paul.mercat/sage/local/share/locale'
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.
make[4]: *** [perl.mak] Error 2
make[4]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src/perl'
make[3]: *** [perl/perl.mak] Error 2
make[3]: Leaving directory `/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0/src'
Error building git.

real    0m51.380s
user    0m38.300s
sys     0m9.057s
************************************************************************
Error installing package git-2.3.0
************************************************************************
explaining the problem and including the relevant part of the log file
  /home/paul.mercat/sage/logs/pkgs/git-2.3.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0 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/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0' && '/home/paul.mercat/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/home/paul.mercat/sage/local/var/lib/sage/installed/git-2.3.0] Error 1
make[2]: Leaving directory `/home/paul.mercat/sage/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/paul.mercat/sage/build'

real    389m1.753s
user    335m46.587s
sys     34m2.341s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: git-2.3.0
log file: /home/paul.mercat/sage/logs/pkgs/git-2.3.0.log
build directory: /home/paul.mercat/sage/local/var/tmp/sage/build/git-2.3.0

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.

Travis Scrimshaw

unread,
Jun 18, 2015, 9:18:07 PM6/18/15
to sage-...@googlegroups.com
Could you post the build log?

Best,
Travis

Volker Braun

unread,
Jun 19, 2015, 4:09:13 AM6/19/15
to sage-...@googlegroups.com
sudo yum install perl-ExtUtils-MakeMaker

Paul Mercat

unread,
Jun 19, 2015, 1:35:10 PM6/19/15
to sage-...@googlegroups.com
Here is the file config.log
Is there an other file that you want to see ?

Best,
Paul
config.log

Paul Mercat

unread,
Jun 19, 2015, 1:37:04 PM6/19/15
to sage-...@googlegroups.com
I don't have yum installed, and I don't have the roots privileges on this computer.

Volker Braun

unread,
Jun 19, 2015, 2:54:39 PM6/19/15
to sage-...@googlegroups.com
You are missing part of Perl. Perl is a requirement for Sage. Ask your administrator.

Paul Mercat

unread,
Jun 23, 2015, 5:27:28 AM6/23/15
to sage-...@googlegroups.com
Thank you, now it works !
Reply all
Reply to author
Forward
0 new messages