PDFedit kompilieren

konstantin

Well-Known Member
Hi!

Ich versuche PDFedit bei mir zu kompilieren.

These libraries are required to build and install PDF Editor:
qt3 Qt GUI Toolkit (Version 3.x)
boost Boost C++ Libraries (smart_ptr, iostreams)
xlib X Window System libraries

Hab ich installiert.

Code:
# export QTDIR=/usr/local/share/qt/
# export QMAKESPEC=freebsd-g++
# ./configure --prefix=/home/konstantin/localdata/bin/pdfedit/pdfedit-0.3.1/installdir                           
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/smart_ptr.hpp usability... no
checking boost/smart_ptr.hpp presence... no
checking for boost/smart_ptr.hpp... no
configure: error: You need boost library to compile PDFedit

Muss ich dem noch sagen, wo sich boost befindet? Die Dateien sind ja da!
Code:
# pkg_info -xL boost | grep  boost/smart_ptr.hpp
/usr/local/include/boost/smart_ptr.hpp

Kann mir da wohl hier irgendwer helfen? Ansonsten muss ich wohl die Mailinglist von PDFedit befragen ...

Anbei hab ich die Logdatei begefügt.

Gruß
Konstantin
 

Attachments

Last edited:
Probier mal

Code:
# ./configure -I /usr/local/include/boost

oder

Code:
# ./configure -L /usr/local/include/boost

Ich weiß nicht mehr welches es war.
 
Deine Antwort hat mich auf die richtige Fährte gebracht.

So muss es heißen:
Code:
./configure --prefix=/home/konstantin/localdata/bin/pdfedit/pdfedit-0.3.1/installdir CPPFLAGS="-I /usr/local/include"

Danke dir!
 
Schön, dass mein Halbwissen hilfreich war.

Wie läuft das Programm denn? Musstest du irgendwas patchen?

Sonst kann man da ja auch einen Port draus machen.
 
Die Idee mit dem Port hatte ich auch schon. (Auch wenn das noch Neuland für mich ist. Gab da aber ja hier schon ein paar Threads zu ...)

Die Konfiguration läuft wie oben beschrieben durch. Beim make bricht er allerdings mit irgendeinem Problem mit boost ab. (Hatte das heute morgen nur kurz ausprobiert.)

Ich werde die Sache heute Abend, wenn ich wieder zu Hause bin, (oder spätestens morgen) mal nachgehen und ggf. die Fehlermeldung hier posten. Ist halt das erste Mal, dass ich Software selbst aus den Quellen kompiliere.

Auf der Homepage stand allerdings, dass das kompilieren unter FreeBSD laufen soll:
Tested platforms
PDF Editor has been compiled and tested on following platforms:
Gentoo Linux x86 - ok
Gentoo Linux x86_64 - ok
FreeBSD 6.0 x86 - ok
Ubuntu Linux 5.10 x86 - ok
Debian unstable (sarge) x86 - ok
Debian unstable x86_64 - ok
(http://pdfedit.petricek.net/pdfedit.user_doc#install_part)

Aus dem Grund glaube ich, dass das Problem eher meine fehlende Erfahrung im kompilieren ist. ;-)
 
Back
Top