Ask Your Question
0

Compilation problem from GIT

asked 2015-05-18 19:37:36 +0100

Dox gravatar image

updated 2015-05-19 20:45:02 +0100

Hello! I've been trying for a while to install sagemath from the git repo, but it continues to fail.

I'm doing the following:

$ mkdir Software
$ cd Software git clone
$ git://github.com/sagemath/sage.git
$ cd sage
$ export MAKE="make -j6"
$ make

Everything seems OK, but at some point (for details see the log file)

***************************************************************
Error building Sage.

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

package: flintqs-20070817.p8
log file: /home/oscar/Software/sage/sage/logs/pkgs/flintqs-20070817.p8.log
build directory: /home/oscar/Software/sage/sage/local/var/tmp/sage/build/flintqs-20070817.p8

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.

Makefile:19: recipe for target 'build' failed
make: *** [build] Error 1

Can anyone what is the problem?

By the way I'm running Debian (testing) on a Samsung laptop with i7 processor.

edit retag flag offensive close merge delete

Comments

We'll need to see the log file listed there in order to tell. You could post it online somewhere but for now it's pretty hard to tell from this minimal listing.

kcrisman gravatar imagekcrisman ( 2015-05-18 20:02:56 +0100 )edit

@kcrisman Thank you for the response, I've updated the post with a link to the install.log file. Cheers.

Dox gravatar imageDox ( 2015-05-18 21:04:32 +0100 )edit

Sorry, I meant specifically /home/oscar/Software/sage/sage/logs/pkgs/flintqs-20070817.p8.log because your build was in parallel so it would be a little annoying to find exactly what happened in the full install log.

kcrisman gravatar imagekcrisman ( 2015-05-19 15:43:48 +0100 )edit

@kcrisman Oh, I'm sorry... didn't know! I've updated the link to the expected file. Thank you!

Dox gravatar imageDox ( 2015-05-19 20:46:10 +0100 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2015-05-19 21:41:46 +0100

tmonteil gravatar image

updated 2015-05-19 21:43:33 +0100

I guess that you have exported the bash variable CP to /home/oscar/Documents/LatexFiles/UTFSM/Papers, that Sage understands that you are setting an alternative to the cp command. Hence, you should type unset CP before compiling Sage (in the same shell, this is only a local effect).

edit flag offensive delete link more

Comments

@tmonteil I'm trying your suggestion right now! I'll share the result later. Thank you.

Dox gravatar imageDox ( 2015-05-20 14:20:23 +0100 )edit

@tmonteil Yes, that was the problem. I compile the source without further problems and I got the 6.7 version of sagemath. Than you so much.

Dox gravatar imageDox ( 2015-05-20 15:26:21 +0100 )edit
2

answered 2015-05-20 21:50:35 +0100

mrblasto gravatar image

Although this question has been answered and it helped the original questioner, I also had a problem compiling GIT which aborted building Sage. After searching and finding only pieces of Git and Mac compilation problems I was able to get the build to work by exporting NO_APPLE_COMMON_CRYPTO=1 in the command shell and by issuing make NO_CURL=1 instead of just make. Note that exporting NO_CURL=1 didn't work. My machine is an early 2008 Macbook Pro running OSX 7.5. Hopefully this will save someone else a few hours of frustration.

edit flag offensive delete link more

Comments

Nice! See e.g. http://stackoverflow.com/questions/63... - I wonder why this isn't ordinarily a problem?

kcrisman gravatar imagekcrisman ( 2015-05-21 14:20:39 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-05-18 19:37:36 +0100

Seen: 765 times

Last updated: May 20 '15