Ask Your Question
1

Problems Installing TOPCOM

asked 9 years ago

done_with_fish gravatar image

updated 9 years ago

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?

Preview: (hide)

Comments

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

FrédéricC gravatar imageFrédéricC ( 9 years ago )

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 ( 9 years ago )

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

FrédéricC gravatar imageFrédéricC ( 9 years ago )

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

fidbc gravatar imagefidbc ( 9 years ago )

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 ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

pipedream0 gravatar image

updated 8 years ago

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.

Preview: (hide)
link

Comments

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

done_with_fish gravatar imagedone_with_fish ( 8 years ago )

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: 9 years ago

Seen: 1,286 times

Last updated: Aug 10 '16