Starting spd from a symlink fails

4 views
Skip to first unread message

Kevin Horton

unread,
May 18, 2009, 6:24:27 PM5/18/09
to spd...@googlegroups.com
The location of the spd binary is not in my path. I created a symlink to it from a location in my path, but an attempt to start spd using that symlink fails with:

% spd
**************************************************************************
You must compile Sage first using 'make' in the Sage root directory.
(If you have already compiled Sage, you must set the SAGE_ROOT variable in
the file '/home/user/apps/bin/spd').

I have successfully used symlinks to start sage, so I am baffled why this will not work with spd. I will add the spd binary directory to my path, or change from a symlink, to a shell script that sets the SAGE_ROOT before calling spd.


--
Kevin Horton
Ottawa, Canada

Ondrej Certik

unread,
May 18, 2009, 7:26:27 PM5/18/09
to spd...@googlegroups.com

It works for me:

ondrej@raven:~$ spd
bash: spd: command not found
ondrej@raven:~$ export PATH=~/ext/spd-3.4.2spd2-ubuntu-64bit:$PATH
ondrej@raven:~$ spd
---------------------------------------------------------------------------
| Source Python Distribution, Version 3.4.2spd2, Release Date: 2009-05-15 |
| Type notebook() for the GUI, and license() for information. |
---------------------------------------------------------------------------
In [1]:

how did you put the spd binary in your path?

Ondrej

Kevin Horton

unread,
May 18, 2009, 6:47:40 PM5/18/09
to spd...@googlegroups.com

I created a symlink at a location that is in my path, with the link
pointing at the spd binary.

Ondrej Certik

unread,
May 18, 2009, 8:27:49 PM5/18/09
to spd...@googlegroups.com

That works for me too:

ondrej@raven:~$ spd
bash: spd: command not found

ondrej@raven:~$ cd bin
ondrej@raven:~/bin$ ls
archive_servers sage sage_old spd_old
ondrej@raven:~/bin$ ln -s /home/ondrej/ext/spd-3.4.2spd2-ubuntu-64bit/spd .
ondrej@raven:~/bin$ cd


ondrej@raven:~$ spd
---------------------------------------------------------------------------
| Source Python Distribution, Version 3.4.2spd2, Release Date: 2009-05-15 |
| Type notebook() for the GUI, and license() for information. |
---------------------------------------------------------------------------
In [1]:


(I have the bin directory in my path). I remember thought that
sometimes I was having problems with it in Sage too. Not sure where
the problem is though and currently I can't reproduce it. I made an
issue for it though:

http://code.google.com/p/spdproject/issues/detail?id=18

If you figure out some more info about the problem, please fill it
into the issue.

Thanks,
Ondrej

Reply all
Reply to author
Forward
0 new messages