On Thu, Oct 11, 2007 at 09:58:28PM +1000, Rodney Hoskinson wrote:
> On Thu, 27 Sep 2007 3:55:57 am Michal Hocko wrote:
[...]
> 
> Thanks for the help so far. I still can't get the compile to "see" the boost 
> libraries. Now, when the compiler starts compiling from the first boost 
> source code file, it can't find other boost source files. Please see where it 
> goes wrong below.
> 
> Others have successfully compiled on FreeBSD so I wonder what is wrong with 
> my setup?
> 
> 
> 
> pcbsd# make
> cd doc && ( gmake doc_dist|| make doc_dist )
> cd user && ( gmake all_no_pdf || make all_no_pdf )
> gmake[1]: Entering directory `/root/PDFedit/pdfedit-0.3.2/doc/user'
> gmake[1]: Nothing to be done for `all_no_pdf'.
> gmake[1]: Leaving directory `/root/PDFedit/pdfedit-0.3.2/doc/user'
> cd design && ( gmake all_no_pdf || make all_no_pdf )
> gmake[1]: Entering directory `/root/PDFedit/pdfedit-0.3.2/doc/design'
> gmake[1]: Nothing to be done for `all_no_pdf'.
> gmake[1]: Leaving directory `/root/PDFedit/pdfedit-0.3.2/doc/design'
> cd src && make
> cd xpdf && make libxpdf
> cd goo; make
> cd fofi; make
> cd splash; make
> cd xpdf; make libxpdf
> cd utils && make
> g++ -c -pipe -Wall -W -Wconversion -Wcast-qual -Wwrite-strings -ansi 
> -pedantic -Wno-unused-variable -Wunused-function -D_REENTRANT -DNDEBUG -O2 
> -I./ -I../ -I../xpdf/ -I../xpdf/xpdf -I../xpdf/goo -I../xpdf/splash 
> -I../xpdf/fofi -I/usr/local/include/boost -o delinearizator.o 
> delinearizator.cc
> In file included from ../utils/observer.h:149,
>                  from ../kernel/pdfwriter.h:90,
>                  from delinearizator.h:56,
>                  from delinearizator.cc:47:
> /usr/local/include/boost/shared_ptr.hpp:17:65: boost/config.hpp: No such file 
> or directory

You need to ad -I/usr/local/include without boost part, because boost
headers are included with specified directory (e.g. #include <boost/config.h>).

> /usr/local/include/boost/shared_ptr.hpp:25:28: boost/assert.hpp: No such file 
> or directory
[...]

-- 
Michal Hocko


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to