Problems installing TOPCOM-0.17.4.spkg in Sage 6.3 Operating System: OS X 10.6.8

78 views
Skip to first unread message

Nana

unread,
Aug 23, 2014, 9:04:25 PM8/23/14
to sage-s...@googlegroups.com


Dear All,


I'll appreciate your help with the following problem, I am a complete inexpert.


I installed sage for the first time in my computer. My aim is to use the package TOPCOM to compute triangulations.


My machine is a MacBook Pro Intel Core i7. with operating system 10.6.8 Snow Leopard.
Xcode 3.2.6 is  installed. And the sage version is 6.3, Release Date: 2014-08-10.  


Searching in the internet I found that a way of installing topcom is via the command:

./sage -f /Applications/sage/upstream/TOPCOM-0.17.4.spkg (adress)

but the installation can not be completed.  I installed a new mpir 2.6.0p4 
as a previous output suggested but this didn't fixed the problem.


The log file is (also attached)


TOPCOM-0.17.4
====================================================
Extracting package /Applications/sage/upstream/TOPCOM-0.17.4.spkg
-rw-r--r--  1 nana  admin  901874 Aug 23 19:29 /Applications/sage/upstream/TOPCOM-0.17.4.spkg
Finished extraction
****************************************************
Host system:
Darwin Quyllur.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/Applications/sage/local/libexec/gcc/x86_64-apple-darwin10.8.0/4.7.3/lto-wrapper
Target: x86_64-apple-darwin10.8.0
Configured with: ../src/configure --prefix=/Applications/sage/local --with-local-prefix=/Applications/sage/local --with-gmp=/Applications/sage/local --with-mpfr=/Applications/sage/local --with-mpc=/Applications/sage/local --with-system-zlib --disable-multilib --disable-nls  
Thread model: posix
gcc version 4.7.3 (GCC) 
****************************************************
WARNING: spkg-install is not executable, making it executable
./spkg-install: line 11: cd: /Applications/sage/spkg/standard/: No such file or directory
./spkg-install: line 11: ./newest_version: No such file or directory
Failed to find mpir.  Please install the mpir spkg

real 0m0.004s
user 0m0.001s
sys 0m0.002s
************************************************************************
Error installing package TOPCOM-0.17.4
************************************************************************
explaining the problem and including the relevant part of the log file
  /Applications/sage/logs/pkgs/TOPCOM-0.17.4.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/sage/local/var/tmp/sage/build/TOPCOM-0.17.4 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/Applications/sage/local/var/tmp/sage/build/TOPCOM-0.17.4' && '/Applications/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************


Thanks in advance, and good weekend!



Nana


TOPCOM-0.17.4.log

Dima Pasechnik

unread,
Aug 24, 2014, 6:06:50 PM8/24/14
to sage-s...@googlegroups.com
On 2014-08-24, Nana <nan...@gmail.com> wrote:
> ------=_Part_339_2112628720.1408842265295
> Content-Type: multipart/alternative;
> boundary="----=_Part_340_456277542.1408842265295"
>
> ------=_Part_340_456277542.1408842265295
> Content-Type: text/plain; charset=UTF-8
>
>
>
> Dear All,
>
>
> I'll appreciate your help with the following problem, I am a complete
> inexpert.
>
>
> I installed sage for the first time in my computer. My aim is to use the
> package TOPCOM to compute triangulations.
>
>
> My machine is a MacBook Pro Intel Core i7. with operating system 10.6.8
> Snow Leopard.
> Xcode 3.2.6 is installed. And the sage version is 6.3, Release Date:
> 2014-08-10.
>
>
> Searching in the internet I found that a way of installing topcom is via
> the command:
>
> ./sage -f /Applications/sage/upstream/TOPCOM-0.17.4.spkg (adress)

normally, one just does

./sage -i topcom

this will download topcom spkg and install it.

Can you try this?

Volker Braun

unread,
Aug 24, 2014, 6:12:29 PM8/24/14
to sage-s...@googlegroups.com
We transitioned the old topcom spkg to a new-style package. Dima's suggestion will probably fix the build issue by using a newer version of the build script.

Nana

unread,
Aug 25, 2014, 1:42:28 AM8/25/14
to sage-s...@googlegroups.com

Thanks a lot Dima,


Earlier today I checked more in the older discussions (https://groups.google.com/forum/#!topic/sage-devel/S5zQ5O7HBc0), and I found a message from leif:

to delete the TOPCOM *spkg* in /Applications/sage/upstream/, and instead place 

http://www.sagemath.org/packages/upstream/topcom/topcom-0.17.4.tar.bz2 

and  afterwards retry 'sage -i topcom'


This solved the problem. So, your indication was in the right path.

Thanks a again!


Nana

Nana

unread,
Aug 25, 2014, 1:44:29 AM8/25/14
to sage-s...@googlegroups.com


Hi!


Yes, this was the way, but i first had to delete the spkg and put on the folder the http://www.sagemath.org/packages/upstream/topcom/topcom-0.17.4.tar.bz2 
as was suggested in a previous discussion https://groups.google.com/forum/#!topic/sage-devel/S5zQ5O7HBc0.

thanks a lot!


Nana

Volker Braun

unread,
Aug 25, 2014, 6:19:25 AM8/25/14
to sage-s...@googlegroups.com
"sage -i topcop" automatically downloads the tarball, no need to do it by hand.
Reply all
Reply to author
Forward
0 new messages