|
From: Michael O. <mi...@wa...> - 2004-07-28 16:32:54
|
I tried "export CPPFLAGS=-I /usr/local/include/boost-1_31" but then another error came up relating to linking to one of the libraries. Doing "export CPPFLAGS=-I /usr/local/include/boost-1_31 -L /usr/local/lib" did the trick. Thanks! Mike > There are two possible solutions for this. Either make a symbolic link from > /usr/local/include/boost-1_31/boost to /usr/local/include/boost or modify the > CPPFLAGS environment variable to include -I /usr/local/include/boost-1_31 (ie. > type "export CPPFLAGS=-I /usr/local/include/boost-1_31". > > Mark. > > Quoting Michael Oczkowski <mi...@wa...>: > > > I am trying to install QuantLib v. 0.3.7 under Cygwin using Boost 1.31.0 > > and gcc 3.3.1. After installing Boost using default settings, running > > configure with the default settings for QuantLib ends in the following > > error (from config.log): > > > > configure:24957: checking for Boost development files > > configure:24978: g++ -c -g -O2 conftest.cc >&5 > > conftest.cc:62:29: boost/version.hpp: No such file or directory > > conftest.cc:63:37: boost/shared_ptr.hpp: No such file or directory > > conftest.cc:64:33: boost/assert.hpp: No such file or directory > > conftest.cc:65:43: boost/current_function.hpp: No such file or directory > > configure:24984: $1 = 1 > > configure: failed program was: > > ... > > #include <boost/version.hpp> > > ... > > configure:25004: result: no > > configure:25006: error: Boost development files not found > > > > > > This version of boost installs the header files by default in > > /usr/local/include/boost-1_31/boost > > > > and the library files in > > /usr/local/lib > > > > Any suggestions on how I can get configure to find the Boost installation? > > > > > > > > ------------------------------------------- > > Mike Oczkowski, Ph.D. > > Francis Marion University > > ------------------------------------------- > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Quantlib-users mailing list > > Qua...@li... > > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > > > > ---------------------------------------- > This mail sent through www.mywaterloo.ca > ------------------------------------------- Mike Oczkowski, Ph.D. Assistant Professor of Computational Physics Francis Marion University Dept. of Physics and Astronomy P.O. Box 100547 Florence, SC 29501 (843) 661-1444 MOc...@fm... ------------------------------------------- |