Ask Your Question
1

Problems Installing TOPCOM

asked 2015-10-16 12:07:42 -0600

done_with_fish gravatar image

updated 2015-11-03 02:43:32 -0600

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 12:12:06 -0600 )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 12:26:35 -0600 )edit

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

FrédéricC gravatar imageFrédéricC ( 2015-10-16 12:48:02 -0600 )edit

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

fidbc gravatar imagefidbc ( 2015-10-16 13:41:52 -0600 )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-16 17:05:17 -0600 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2016-08-09 23:15:37 -0600

pipedream0 gravatar image

updated 2016-08-09 23:16:25 -0600

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-16 18:19:55 -0600 )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 12:07:42 -0600

Seen: 537 times

Last updated: Aug 09 '16