RE: Problem building python module
Posted by Gerrit Van Dyk-2 on Apr 16, 2002; 6:10am
URL: http://quantlib.414.s1.nabble.com/Problem-building-python-module-tp1984p1987.html
>Ok, let's track this down. Can you check where limits is
>located in your
>system? Also, can you show me the full output of python setup.py build?
1) limits is located in /usr/include/g++-v3/ as limits
2) Here is the output from: python2 setup.py build
[gerrit@venus1 QuantLib-Python]$ python2 setup.py build
running build
running build_py
not copying QuantLib/__init__.py (output up-to-date)
not copying QuantLib/QuantLib.py (output up-to-date)
not copying QuantLib/defaults.py (output up-to-date)
running build_ext
my_init_posix: changing gcc to g++
building 'QuantLib.QuantLibc' extension
g++ -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include
-I/usr/local/include -I/usr/include -I/usr/include/python2.2 -c
QuantLib/quantlib_wrap.cpp -o build/temp.linux-i686-2.2/quantlib_wrap.o
-I/usr/local/include -I/usr/local/include
In file included from /usr/local/include/ql/quantlib.hpp:23,
from QuantLib/quantlib_wrap.cpp:704:
/usr/local/include/ql/qldefines.hpp:146:22: limits: No such file or
directory
error: command 'g++' failed with exit status 1
[gerrit@venus1 QuantLib-Python]$
Regards
Gerrit
-------------------------------------------------------------------------
This e-mail is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged,
proprietary to the company and protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this e-mail is strictly prohibited. Opinions, conclusions and
other information in this message that do not relate to the official
business of our company shall be understood as neither given nor endorsed by
it.