Login  Register

Trying to build bindings

Posted by Michael Cordingley on Dec 15, 2011; 8:00pm
URL: http://quantlib.414.s1.nabble.com/Trying-to-build-bindings-tp6337.html

Hi, I'm trying to build the python bindings for QuantLib in Gentoo
Linux, but I'm running into some issue that fails the build.  I'm
assuming that I can ignore the warnings, but something seems to be
killing the compiler after them.  I don't know what information to
include along with this, so please let me know what information I'm
missing that would be useful to figuring this out.

This is part of an effort to build a package to install the bindings
for other users of Gentoo, so I'll probably be back again later with
questions about Java and Ruby. :)

Thanks!

localhost QuantLib-SWIG-1.1 # ./configure
...
localhost QuantLib-SWIG-1.1 # cd Python
localhost Python # python setup.py build
running build
running build_py
running build_ext
building 'QuantLib._QuantLib' extension
i686-pc-linux-gnu-g++ -pthread -fPIC -I/usr/include/python2.7
-I/usr/include -c QuantLib/quantlib_wrap.cpp -o
build/temp.linux-i686-2.7/QuantLib/quantlib_wrap.o -Wno-unused
QuantLib/quantlib_wrap.cpp: In member function 'QuantLib::Real
UnaryFunction::operator()(QuantLib::Real) const':
QuantLib/quantlib_wrap.cpp:6325:67: warning: deprecated conversion
from string constant to 'char*'
QuantLib/quantlib_wrap.cpp: In member function 'QuantLib::Real
UnaryFunction::derivative(QuantLib::Real) const':
QuantLib/quantlib_wrap.cpp:6333:61: warning: deprecated conversion
from string constant to 'char*'
QuantLib/quantlib_wrap.cpp:6333:61: warning: deprecated conversion
from string constant to 'char*'
QuantLib/quantlib_wrap.cpp: In member function 'QuantLib::Real
BinaryFunction::operator()(QuantLib::Real, QuantLib::Real) const':
QuantLib/quantlib_wrap.cpp:6365:70: warning: deprecated conversion
from string constant to 'char*'
i686-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity
while improving strategic productivity.  Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users