On Wed, Jul 20, 2011 at 4:09 PM, Jose Guzman <sjm.guz...@googlemail.com> wrote:
> Hi everybody,
>
> I am trying to install a Python module in Sage that uses autotools as its
> build system. I would like to install it in my local Sage, so I type:
>
>>>> ./configure --prefix=$HOME/sage-4.7/local
>>>> PYTHON=$HOME/sage-4.7/local/bin/python
>>>> make
>>>> make install
>
> which returns:
>  >>> /bin/bash $HOME/dev/stfio/./shave-libtool '/bin/bash ./libtool'
> --mode=install /usr/bin/install -c   libstfio.la
> '$HOME/sage-4.7/local/lib/python2.6/dist-packages/stfio'
>
> libtool: install: warning: remember to run `libtool --finish
> /usr/local/lib/python2.6/dist-packages/stfio'
>
> However, when executing Sage, the package is not recognized. Is this the
> correct subdirectory to install the package? Should I configure any Sage
> variable?

I would recommend running "sage -sh" to set up all your paths and
environment variables, then doing an install like you normally would
(with the --prefix still being "sage-N.n/local/."

- Robert

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to