installing scikits in sage

34 views
Skip to first unread message

Tobias Weich

unread,
Oct 11, 2013, 8:46:58 AM10/11/13
to sage-s...@googlegroups.com
Hi!
 
I would like to install an additional scikit (bvp_solver) in sage. Installing it outside of sage works fine but it would be great to use it from within sage. I tried to follow the suggestion in https://groups.google.com/forum/?hl=de#!newtopic/sage-support/sage-support/yeTPcq1ufD0
and tried:

sage -sh
easy_install scikits
.bvp_solver

but got after many warnings the following errors

/usr/lib/x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `
main'
collect2: error: ld returned 1 exit status
/usr/lib/x86_64-linux-gnu/crt1.o: In function `_start'
:
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
error: Setup script exited with error: Command "/usr/local/sage-5.8/local/bin/gfortran -Wall build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/scikits/bvp_solver/lib/bvp_solverfmodule.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/fortranobject.o build/temp.linux-x86_64-2.7/scikits/bvp_solver/lib/BVP_M.o build/temp.linux-x86_64-2.7/scikits/bvp_solver/lib/BVP_INTERFACE.o build/temp.linux-x86_64-2.7/scikits/bvp_solver/lib/lampak.o build/temp.linux-x86_64-2.7/scikits/bvp_solver/lib/BVP_LA.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/scikits/bvp_solver/lib/bvp_solverf-f2pywrappers2.o -L/usr/local/sage-5.8/local/lib -lpython2.7 -lgfortran -o build/lib.linux-x86_64-2.7/scikits/bvp_solver/bvp_solverf.so" failed with exit status 1
/usr/local/sage-5.8/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py:252: RuntimeWarning: Parent module 'numpy.distutils' not found while handling absolute import
  from numpy.distutils import log

I tried to attach the full output with all warnings to this post, but google didn't like the text file and claimed it is of type "application/octet-stream"???

Any ideas how to make this work?

P.S. All this has been tried under sage 5.10


Reply all
Reply to author
Forward
0 new messages