RE: Python question

Posted by Yi Zhao-2 on
URL: http://quantlib.414.s1.nabble.com/RE-Python-question-tp3787p3789.html

Thanks! The "run 'make install'" didn't put the file there --- so I did
it manually.
I modified the quantlib-config to include boost path.
It also seems necessary to modify the following lines in the file:
    --libs)
      echo -L${exec_prefix}/lib -lQuantLib
#      echo -L${exec_prefix}/lib -lQuantLib-0.3.10
 i.e. removing the version number.



> -----Original Message-----
> From: Luigi Ballabio [mailto:[hidden email]]
> Sent: Friday, May 20, 2005 8:00 AM
> To: Yi Zhao
> Cc: [hidden email]
> Subject: Re: [Quantlib-users] Python question
>
>
>
> On 05/19/2005 10:44:17 PM, Yi Zhao wrote:
> > Now I have successfully built the libQuantLib and
> > libQuantLibFunctions (though failed at "TestSuite" part) in cygwin  
> > environment. However, I still have trouble with building
> the python  
> > part: mainly because "quantlib-config: not found".
>
> You should run 'make install' in the QuantLib directory. It should  
> install quantlib-config in /usr/local/bin. Make sure it is in
> your PATH  
> variable.
>
>
> > /usr/local/include/ql/qldefines.hpp:28:28:
> boost/config.hpp: No such
> > file or directory
>
> It seems like it doesn't find your Boost installation. Try
>
> CXXFLAGS='-I/path/to/boost' python setup.py build
>
> Later,
> Luigi
>
> ----------------------------------------
>
> standards, n.:
>          The principles we use to reject other people's code.
>
>