Hi.

Sorry for delay.

On Wed, Sep 19, 2007 at 01:51:39AM +1000, Root wrote:
> I'm using PCBSD 1.4 beta, based on FreeBSD 6.2-stable.
> Boost is installed:
> 
> pcbsd# pkg_info|grep boost
> boost-1.34.1        Free peer-reviewed portable C++ source libraries
> 
> OK, I used the FreeBSD instructions in the readme.
> To get the configure to work, I had to use:
> 
>  ./configure -- CPPFLAGS="-I /usr/local/include" LDFLAG="-L 
> /usr/local/include"
> 
[...]
> 
> 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 -o delinearizator.o delinearizator.cc

Seems like include path from configure doesn't get to the
src/utils/Makefile. It would be good to report this as bug to our bug
tracker (http://pdfedit.petricek.net/bt/main_page.php) and add your boost 
path to the INCPATH variable in the mean time (src/utils/Makefile - however 
I assume that same has to be done also for src/{kernel,gui}/Makefile).

> In file included from ../kernel/pdfwriter.h:90,
>                  from delinearizator.h:56,
>                  from delinearizator.cc:47:
> ../utils/observer.h:149:26: shared_ptr.hpp: No such file or directory
> In file included from ../kernel/pdfwriter.h:90,
>                  from delinearizator.h:56,
>                  from delinearizator.cc:47:
> ../utils/observer.h:225: error: `boost' has not been declared
> ../utils/observer.h:225: error: ISO C++ forbids declaration of `shared_ptr' 
> with no type
> ../utils/observer.h:225: error: expected `;' before '<' token
> ../utils/observer.h:230: error: `boost' has not been declared
> ../utils/observer.h:230: error: expected `)' before '<' token
> ../utils/observer.h:250: error: `boost' has not been declared
> ../utils/observer.h:250: error: ISO C++ forbids declaration of `shared_ptr' 
> with no type
[...]

Best regards.
-- 
Michal Hocko


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to