Login  Register

RE: Problem building python module

Posted by Gerrit Van Dyk-2 on Apr 16, 2002; 4:22am
URL: http://quantlib.414.s1.nabble.com/Problem-building-python-module-tp1984p1988.html

Luigi wrote:

> At 11:02 AM 4/16/02 +0200, Gerrit Van Dyk wrote:
> >I am now trying to run "python2 setup.py build" but this
> returns a compile
> >error complaining about limits that could not be found.
> >The include statement is in
> /usr/local/include/ql/qldefines.hpp:146:22. This
> >include just includes <limits>.
>
> Gerrit,
>          I'll give it a shot. First of all, please take a look inside
> /usr/local/include/ql/config.hpp or wherever the QuantLib headers got
> installed and tell me whether there is a line inside reading
> #define HAVE_LIMITS 1
> (note: LIMITS, not CLIMITS neither LIMITS_H)
> Oh, and another piece of info: which gcc version are you running?
>
 
I am using gcc3(3.0.2) and g++3(3.0.2)

Yes there is a line #define HAVE_LIMITS 1, I have attached the file for
convenience

 
-------------------------------------------------------------------------
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.
 


config.hpp (2K) Download Attachment