Is it possible to get this work? Is there something else I can provide to help diagnose problems?

Begin forwarded message:

From: James Bird <james@windmillcentre.com>
Date: 23 January 2008 7:27:09 PM
To: pdfedit-support@lists.sourceforge.net
Subject: Re: [Pdfedit-support] Installation on Mac OSX Leopard - Boost Libraries not found

Hello again, I've been away for a time... now back to this.

I tried 'make' and got the following:

cd /Users/James/Software/PDFEditor/pdfedit-test/src && make
cd /Users/James/Software/PDFEditor/pdfedit-test/src/xpdf && make libxpdf
cd goo && make
make[3]: Nothing to be done for `all'.
cd fofi && make
make[3]: Nothing to be done for `all'.
cd splash && make
make[3]: Nothing to be done for `all'.
cd xpdf && make libxpdf
make[3]: Nothing to be done for `libxpdf'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/utils && make
make[2]: Nothing to be done for `all'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/kernel && make
make[2]: Nothing to be done for `all'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/kpdf-kde-3.3.2 && make staticlib
make[2]: Nothing to be done for `staticlib'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/qsa && make staticlib
make -f Makefile.qsa
cd src && make -f Makefile
cd qsa && make -f Makefile
make[5]: Nothing to be done for `first'.
/bin/sh /Users/James/Software/PDFEditor/pdfedit-test/tools/generate_online_help.sh "/Users/James/Software/PDFEditor/pdfedit-test/doc" "/Users/James/Software/PDFEditor/pdfedit-test/src/gui"
Online help seems to be generated.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/gui && /sw/lib/qt3/bin/qmake pdfedit.pro -o Makefile.qt
WARNING: doc_kernel_images.path is not defined: install target not created

WARNING: doc_design.path is not defined: install target not created

WARNING: doc_design_images.path is not defined: install target not created

WARNING: pdfedit_manual.path is not defined: install target not created

cd /Users/James/Software/PDFEditor/pdfedit-test/src/gui && make -f Makefile.gui
make[2]: Nothing to be done for `first'.

It seems there are no errors. So I ran make install and got a whole lot of "permission denied' errors. So I ran:
sudo make install
and got:

cd /Users/James/Software/PDFEditor/pdfedit-test/src && make
cd /Users/James/Software/PDFEditor/pdfedit-test/src/xpdf && make libxpdf
cd goo && make
make[3]: Nothing to be done for `all'.
cd fofi && make
make[3]: Nothing to be done for `all'.
cd splash && make
make[3]: Nothing to be done for `all'.
cd xpdf && make libxpdf
make[3]: Nothing to be done for `libxpdf'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/utils && make
make[2]: Nothing to be done for `all'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/kernel && make
make[2]: Nothing to be done for `all'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/kpdf-kde-3.3.2 && make staticlib
make[2]: Nothing to be done for `staticlib'.
cd /Users/James/Software/PDFEditor/pdfedit-test/src/qsa && make staticlib
make -f Makefile.qsa
cd src && make -f Makefile
cd qsa && make -f Makefile
( cd /src/moc && make )
/bin/sh: line 0: cd: /src/moc: No such file or directory
make[5]: *** [/bin/moc] Error 1
make[4]: *** [sub-qsa] Error 2
make[3]: *** [sub-src] Error 2
make[2]: *** [run-make] Error 2
make[1]: *** [qsa] Error 2
make: *** [source] Error 2

James.

On 16/01/2008, at 11:05 PM, Michal Hocko wrote:

On Wed, Jan 16, 2008 at 08:48:42PM +1000, James Bird wrote:
I ran ./configure --prefix=/sw --with-boost=/sw and got the attached
config.log file. There still seems to be some complaints of missing files.
Are these critical?

I have looked in the log and it seems that it finished with OK, so no
critical errors were found. Note that some options may fail and they are
just not used in such case.

I tried make install but I do not see any executable in
/sw/bin. That is where I should look isn't it?

And what about compilation. Can you try to do simple make and see if it
was successfull?

On 15/01/2008, at 10:54 PM, Michal Hocko wrote:

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


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