From: Florian G. <fl...@bi...> - 2007-08-01 11:13:41
|
Ale...@sm... schrieb: > Hi Flo, > > > Almost 1 year i want to help with development for Perfparse. > > > But since since release perfparse-0.106.1 i can't compile it anymore. > > > The latest snapshot can even ./configure anymore onto the same server. > > > snapshot perfparse-all-07-05-03 > > configure: Using glib2 > checking for what data source... ASNMTAP > checking for what database to use... Mysql > checking for your ability to administrate a database... you need more > experience... > checking for mysql_config... /usr/local/bin/mysql_config > checking for gzopen in -lz... yes > checking gd.h usability... yes > checking gd.h presence... yes > checking for gd.h... yes > checking for gdlib-config... /usr/local/bin/gdlib-config > checking for gdImageCreate in -lgd... yes > checking for printw in -lncurses... no > configure: error: ncurses development libraries not usable. > Install ncurses development libraries and rerun configure. > See config.log or FAQs for details. > The configure says: Install ncurses development libraries and rerun configure. You should try that. > > > When do i get one answer PLEASE > > Onto the same machine i have: > > perfparse-0.105.6 and perfparse-0.106.1 > > perfparse-0.105.6: > ... > Making all in contrib > make[2]: Entering directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contrib' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contrib' > Making all in po > make[2]: Entering directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/po' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/po' > Making all in scripts > make[2]: Entering directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/scripts' > rm -f perfparse.sh.example perfparse.sh.tmp > sed -e 's,@bindir\@,/opt/asnmtap/perfparse/bin,g' -e > 's,@sysconfdir\@,/opt/asnmtap/perfparse/etc,g' -e > 's,@localstatedir\@,/opt/asnmtap/perfparse/var,g' -e > 's,@prefix\@,/opt/asnmtap/perfparse,g' ./perfparse.sh.in >perfparse.sh.tmp > chmod +x perfparse.sh.tmp > mv perfparse.sh.tmp perfparse.sh.example > > > perfparse-0.106.1: > > mkdir .libs > gcc -g -O2 -Wall -o .libs/perfparse-log2any > perfparse_log2any-perfparse-log2any.o perfparse_log2any-perfparse-common.o > perfparse_log2any-log_reader.o perfparse_log2any-storage.o > -L/export/home/nagios/installed-packages/perfparse-0.106.1/libpp_common > /export/home/nagios/installed-packages/perfparse-0.106.1 > /libpp_common/.libs/libpp_common.so -L/usr/local/lib -L/usr/lib > -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib > -L/export/home/nagios/installed-packages/perfparse-0.106.1 > /libnagios_perfdata_parser > /export/home/nagios/installed-packages/perfparse-0.106.1 > /libnagios_perfdata_parser/.libs/libnagios_perfdata_parser.so > /usr/local/lib/libglib-2.0.so ../intl/libintl.a /usr/local/lib/libiconv.so > /usr/local/lib/libgd.so -lXpm -lX11 /usr/local/lib/libjpeg.so > /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so > /usr/local/lib/libfreetype.so -lpng12 -lz -lm -R/opt/asnmtap/perfparse/lib > -R/usr/local/lib > Undefined first referenced > symbol in file > bind perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > dlsym perfparse_log2any-storage.o (symbol > belongs to implicit dependency /usr/lib/libdl.so.1) > rpl_malloc perfparse_log2any-log_reader.o > accept perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > dlopen perfparse_log2any-storage.o (symbol > belongs to implicit dependency /usr/lib/libdl.so.1) > listen perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > gethostbyname perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libnsl.so.1) > socket perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > rpl_realloc perfparse_log2any-log_reader.o > setsockopt perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > connect perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > dlerror perfparse_log2any-storage.o (symbol > belongs to implicit dependency /usr/lib/libdl.so.1) > shutdown perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > ld: fatal: Symbol referencing errors. No output written to > .libs/perfparse-log2any > collect2: ld returned 1 exit status > make[2]: *** [perfparse-log2any] Error 1 > make[2]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.106.1/perfparse' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.106.1' > make: *** [all] Error 2 > > Vriendelijke Groeten, > > -- Alex Peeters > What system are you using? Linux? What distro? Try: LDFLAGS="-ldl -lsocket" ./configure But configure should find that yout itself if -ldl or -lsocket are nedded. Maybe a make clean would do it too. Flo |