gelöst Installation von rrdtool schlug fehl
Hallo,
ich will auf meinem Notebook NMIS installieren und benötige dafür das RRDTOOL.
wenn ich es ausführen will so wie es in der Anleitung (./configure --enable-shared -prefix=/usr/local/rrdtool) teht kommt folgende Meldung:
./configure --enable-shared -prefix=/usr/local/rrdtool
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
....
....
....
checking for fpclassify... no
checking for fpclassify with <math.h>... no
checking for finite... yes
checking for isinf... yes
checking if IEEE math works out of the box... yes
checking for cgiInit in -lcgi... no
checking for pkg-config... pkg-config
checking for cgiInit in -lcgi... no
configure: WARNING:
so that compiler and the linker can find libcgi and its header files. If
you have not installed cgilib, you can get it either from its original home on
http://www.infodrom.org/projects/cgilib
You can find also find an archive copy on
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs
The last tested version of cgilib is 0.5.
LIBS=-lm -lcgi
LDFLAGS= -L/root/cgilib-0.5
CPPFLAGS= -I/root/cgilib-0.5
checking for art_vpath_add_point in -lart_lgpl_2... yes
checking libart_lgpl/libart.h usability... yes
checking libart_lgpl/libart.h presence... yes
checking for libart_lgpl/libart.h... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
configure: error: Please fix the library issues listed above and try again.
ich habe mal einen teil rausgenommen da es sonst zu viel gewesen wäre....
ich habe jetzt schon ein wenig gegoogelt aber habe noch nichts brauchbares gefunden....ich hab schon einige lösungsansätze gefunden aber irgendwie hat noch keiner etwas gebracht...
ich hab schon neue dateien erstell und kopiert....aber es hat nicht wirklich was geklappt...
kann mir jemand weiterhelfen? wie kann ich das problem lösen?
MfG
Jack
ich will auf meinem Notebook NMIS installieren und benötige dafür das RRDTOOL.
wenn ich es ausführen will so wie es in der Anleitung (./configure --enable-shared -prefix=/usr/local/rrdtool) teht kommt folgende Meldung:
./configure --enable-shared -prefix=/usr/local/rrdtool
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
....
....
....
checking for fpclassify... no
checking for fpclassify with <math.h>... no
checking for finite... yes
checking for isinf... yes
checking if IEEE math works out of the box... yes
checking for cgiInit in -lcgi... no
checking for pkg-config... pkg-config
checking for cgiInit in -lcgi... no
configure: WARNING:
- I could not find a working copy of cgilib. Check config.log for hints on why
so that compiler and the linker can find libcgi and its header files. If
you have not installed cgilib, you can get it either from its original home on
http://www.infodrom.org/projects/cgilib
You can find also find an archive copy on
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs
The last tested version of cgilib is 0.5.
LIBS=-lm -lcgi
LDFLAGS= -L/root/cgilib-0.5
CPPFLAGS= -I/root/cgilib-0.5
checking for art_vpath_add_point in -lart_lgpl_2... yes
checking libart_lgpl/libart.h usability... yes
checking libart_lgpl/libart.h presence... yes
checking for libart_lgpl/libart.h... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
configure: error: Please fix the library issues listed above and try again.
ich habe mal einen teil rausgenommen da es sonst zu viel gewesen wäre....
ich habe jetzt schon ein wenig gegoogelt aber habe noch nichts brauchbares gefunden....ich hab schon einige lösungsansätze gefunden aber irgendwie hat noch keiner etwas gebracht...
ich hab schon neue dateien erstell und kopiert....aber es hat nicht wirklich was geklappt...
kann mir jemand weiterhelfen? wie kann ich das problem lösen?
MfG
Jack
1 Antwort
- LÖSUNG JackSmith schreibt am 12.02.2008 um 11:40:34 Uhr
LÖSUNG 12.02.2008 um 11:40 Uhr
mein problem hat sich gerade gelöst...ich habs also hinbekommen...
bei dem Problem muss man unter /usr/lib/phkconfig/
eine Datei mit dem Namen cgilib.pc anlegen und folgendes reinschreiben
prefix=/root/cgilib-0.5 #Das ist der Pfad zu der heruntergeladenen Libary
exec_prefix=/root/cgilib-0.5
libdir=/root/cgilib-0.5
includedir=/root/cgilib-0.5
Description: Common Gateway Interface (CGI) Libary
Version: D_ver
libs: -L${libdir} -lcgi
cflags: -I${includedir}
dann in das cgilib verzeichnis wechsel und make && make install eingeben (libcgi.a) wird aktualisiert und dann bei den rrdtools den ./configure --enable-shared --prefix /usr/local/rrdtools eingeben und dann hat die installation bei mir funktioniert
bei dem Problem muss man unter /usr/lib/phkconfig/
eine Datei mit dem Namen cgilib.pc anlegen und folgendes reinschreiben
prefix=/root/cgilib-0.5 #Das ist der Pfad zu der heruntergeladenen Libary
exec_prefix=/root/cgilib-0.5
libdir=/root/cgilib-0.5
includedir=/root/cgilib-0.5
Description: Common Gateway Interface (CGI) Libary
Version: D_ver
libs: -L${libdir} -lcgi
cflags: -I${includedir}
dann in das cgilib verzeichnis wechsel und make && make install eingeben (libcgi.a) wird aktualisiert und dann bei den rrdtools den ./configure --enable-shared --prefix /usr/local/rrdtools eingeben und dann hat die installation bei mir funktioniert
Ähnliche Inhalte
Neue Wissensbeiträge
Heiß diskutierte Inhalte