On Tue, Jan 15, 2008 at 09:19:21PM +1000, James Bird wrote:
> I copied the attached to the pdf-test directory and ran:
> 
> ./configure --prefix=/sw --with-boost=/sw/include
> 
> and got the following error:
> 
> checking for boostlib >= 1.20.0... configure: error: We could not  
> detect the boost libraries (version 1.20 or higher). If you have a  
> staged boost library (still not installed) please specify $BOOST_ROOT  
> in your environment and do not give a PATH to --with-boost option.  If  
> you are sure you have boost installed, then check your version number  
> looking in <boost/version.hpp>. See http://randspringer.de/boost for  
> more documentation.
> 
> in the config.log file I see:
> 
> configure:4557: checking for boostlib >= 1.20.0
> configure:4617: g++ -c -g -O2  -I/sw/include/include conftest.cpp >&5
> conftest.cpp:24:37: error: boost/version.hpp: No such file or directory
> conftest.cpp:33:12: error: #error Boost version is too old
> configure:4623: $? = 1
> 
> I checked that /sw/include/boost/version.hpp does exist. In it I see  
> #define BOOST_VERSION 103301.
> 
> In above why is configure looking in /sw/include/include? That  
> directory doesn't exist!

I am not autor of boost autoconf macros. I have downloaded and reused (as 
they are) them from the boost pages. But when I looked at the code
(config/boost_base.m4 file), it seems that --with-boost=DIR is expected
to contain libraries (if required) and headers. So I suggest to give
 ./configure --with-boost=/sw --prefix=/sw
in your case.
Does this help?

> 
> James.

-- 
Michal Hocko


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to