Ask Your Question
1

Problems Installing TOPCOM

asked 2015-10-16 19:07:42 +0100

done_with_fish gravatar image

updated 2015-11-03 09:43:32 +0100

slelievre gravatar image

I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04.

Issuing

$ sage -i topcom

from my terminal returns

make: *** No rule to make target 'all-toolchain'. Stop.

Any ideas what is going wrong?

edit retag flag offensive close merge delete

Comments

It is generally not a good idea to install Sage as a root user.

FrédéricC gravatar imageFrédéricC ( 2015-10-16 19:12:06 +0100 )edit

I don't believe that Sage is installed as root. I've updated with the error obtained by trying to install topcom without sudo.

done_with_fish gravatar imagedone_with_fish ( 2015-10-16 19:26:35 +0100 )edit

Well, /usr/lib certainly does not look like being inside your home dir...

FrédéricC gravatar imageFrédéricC ( 2015-10-16 19:48:02 +0100 )edit

Maybe it is a Sage installation through some distro package manager... (?)

fidbc gravatar imagefidbc ( 2015-10-16 20:41:52 +0100 )edit

How did you install Sage on your computer ? Did you use the PPA ? Did you download the binaries ? id you compile it yourself ?

tmonteil gravatar imagetmonteil ( 2015-10-17 00:05:17 +0100 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-08-10 06:15:37 +0100

pipedream0 gravatar image

updated 2016-08-10 06:16:25 +0100

I am the sagemath PPA maintainer.

The PPA (and even the binary tarballs downloaded from sagemath) is not really intended for adding optional packages but it is possible.

It is dangerous to build everything as root, as you found from the sage error!
Changing the ownership may essentially break apt, or on a multi-user system be insecure for your user.

You need sagemath-upstream-binary-full, which does include the src and build and git folders if you really want to do this.

If you regularly use optional packages, it is preferred to install from source, (fix permissions on a multi-user system to a new user like sagemath or root), sage -i your packages (fix permissions after), and join the low-traffic sage-release mailing list which will announce new releases, and use sage -upgrade which will only download and compile parts that changed.

edit flag offensive delete link more

Comments

Thanks for the answer. I ended up installing from source and everything worked.

done_with_fish gravatar imagedone_with_fish ( 2016-08-17 01:19:55 +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-10-16 19:07:42 +0100

Seen: 1,252 times

Last updated: Aug 10 '16