Re: Configure error QL 0.3.7
Posted by
mrtreibe on
URL: http://quantlib.414.s1.nabble.com/Configure-error-QL-0-3-7-tp3108p3112.html
Could you elaborate on the specific error that its giving you. ie. missing
libboost_unit_test_suite.so? Also how did you install boost? From rpms, debs?
Mark.
Quoting Michael Oczkowski <
[hidden email]>:
> OK, well that worked for the configure, but not for the make! So I
> started over and defined
>
> export CPPFLAGS="-I /usr/local/include/boost-1_31"
> export LDFLAGS="-L /usr/local/lib"
>
> Then configure worked fine and make made it until test_suite before
> mysteriously failing. A line of the output showed
> g++ -g -O2 /usr/local/bin -o quantlib-test-suite.exe ...
>
> Of course it complained that /usr/local/bin is a directory. As it turns
> out, you have to remove the space in the definition of LDFLAGS?! So,
> removing the space from the LDFLAGS in the Makefile under test-suite/ made
> it work! Or you could just define in the beginning
>
> export LDFLAGS="-L/usr/local/lib"
>
> Then the failed line above became
> g++ -g -O2 -o quantlib-test-suite.exe *.o -L/usr/local/lib -lboost...
>
> Mike
>
----------------------------------------
This mail sent through www.mywaterloo.ca