Re: Failure to build quantlib-python on Mandrake 9.1
Posted by "Thomas Plümpe" on
URL: http://quantlib.414.s1.nabble.com/Failure-to-build-quantlib-python-on-Mandrake-9-1-tp2670p2674.html
> >$ rpm -qa | grep -i quantlib
> >QuantLib-0.3.3-1
>
> I don't know how the rpms are packaged---did the above also install the
> include files? Wait, I'll check on the site... Nope. You should have
> installed QuantLib-devel-0.3.3-1 as well.
Right, that's been one of the problems.
> Hmm, removing the libs might not be enough. You might have old header files
> lying around in /usr/local/include or somewhere. Locate qldefines.hpp and
> check the definition of QL_VERSION inside it. If it's earlier than 0.3.3,
> remove the ql/ directory from your include path and install the
> QuantLib-devel rpm instead.
And that was the second problem. After removing /usr/local/include/ql
(which obviously had the 0.3.1 headers) the compilation went fine.
So, Liguo, it seems /usr/local/include is searched first, but that's
what I would expect if I were to download cvs-current and compile that.
Thanks a lot, guys, on to using it then...
Thomas