Re: Python question

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/RE-Python-question-tp3787p3792.html

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.