Make pytave available to Sage

Asked by albop

I was wondering whether any attempt had been made to make Pytave available to Sage (http://www.sagemath.org/)

Sage comes by default with a pipe-based interface to Octave which is buggy and slow. However interacting between a Sage worksheet and an Octave session is awesome ! It would greatly benefit from the Pytave work.

There is an experimental version of boost available as an SPKG extension for Sage, (just type sage -i boost) to install it, but I had no success building the pytave library for Sage.

Basically I have run a Sage subshell to run the commands describe in the INSTALL file , i.e :

sage -sh
autoreconf -- install
./configure

Then configure fails with :

checking python extra libraries... -lpthread -ldl -lutil
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... no
configure: WARNING:
========================================================================
Could not link test program to Python. Maybe the main Python library
has been installed in some non-standard library path. If so, pass it
to configure, via the LDFLAGS environment variable.

Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"

ERROR!
You probably have to install the development version of the Python
package for your distribution. The exact name of this package varies
among them.

Question information

Language:
English Edit question
Status:
Needs information
For:
Pytave Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Grundberg (individ) said :
#1

Thank you for your interest! I'm sorry, but I need to read the config.log file find out what is wrong. Maybe you can file a bug and attach the file to it.

Naturally, pytave have no concept of the SAGE thing. Unless the shell started by SAGE makes changes to the environment variables, it makes no difference.

Can you help with this problem?

Provide an answer of your own, or ask albop for more information if necessary.

To post a message you must log in.