ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 16 Aug 2016 18:19:55 -0500Problems Installing TOPCOMhttp://ask.sagemath.org/question/30062/problems-installing-topcom/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?
Fri, 16 Oct 2015 12:07:42 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/Comment by fidbc for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30066#post-id-30066Maybe it is a Sage installation through some distro package manager... (?)Fri, 16 Oct 2015 13:41:52 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30066#post-id-30066Comment by done_with_fish for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30064#post-id-30064I don't believe that Sage is installed as root. I've updated with the error obtained by trying to install topcom without sudo.Fri, 16 Oct 2015 12:26:35 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30064#post-id-30064Comment by FrédéricC for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30063#post-id-30063It is generally not a good idea to install Sage as a root user.Fri, 16 Oct 2015 12:12:06 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30063#post-id-30063Comment by done_with_fish for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30421#post-id-30421I reinstalled sage and now I'm getting a different error. I've updated my question with the new error.Tue, 03 Nov 2015 00:59:55 -0600http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30421#post-id-30421Comment by tmonteil for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30067#post-id-30067How did you install Sage on your computer ? Did you use the PPA ? Did you download the binaries ? id you compile it yourself ?Fri, 16 Oct 2015 17:05:17 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30067#post-id-30067Comment by FrédéricC for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30065#post-id-30065Well, /usr/lib certainly does not look like being inside your home dir...Fri, 16 Oct 2015 12:48:02 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=30065#post-id-30065Answer by pipedream0 for <p>I am trying to install the package TOPCOM in Sage. I am running ubuntu 14.04. </p>
<p>Issuing </p>
<pre><code>$ sage -i topcom
</code></pre>
<p>from my terminal returns</p>
<pre><code>make: *** No rule to make target 'all-toolchain'. Stop.
</code></pre>
<p>Any ideas what is going wrong?</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?answer=34397#post-id-34397I 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.
Tue, 09 Aug 2016 23:15:37 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?answer=34397#post-id-34397Comment by done_with_fish for <p>I am the sagemath PPA maintainer.</p>
<p>The PPA (and even the binary tarballs downloaded from sagemath) is not really intended for adding optional packages but it is possible.</p>
<pre><code>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.
</code></pre>
<p>You need sagemath-upstream-binary-full, which does include the src and build and git folders if you really want to do this.</p>
<p>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.</p>
http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=34497#post-id-34497Thanks for the answer. I ended up installing from source and everything worked.Tue, 16 Aug 2016 18:19:55 -0500http://ask.sagemath.org/question/30062/problems-installing-topcom/?comment=34497#post-id-34497