|
From: <Ale...@sm...> - 2007-08-01 11:19:44
|
> What system are you using? Linux? What distro? Try:
> LDFLAGS=3D"-ldl -lsocket" ./configure
> But configure should find that yout itself if -ldl or -lsocket are
> nedded. Maybe a make clean would do it too.
Solaris 9, like mentioned onto the bug report at the website :)
Why does 0.105.6 works and 0.160.1 not ?
Vriendelijke Groeten,
-- Alex Peeters
Section Supervision & Monitoring
Monitoring
02/787.59.65
_______________________________________________________________________=
_______________________
Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de
volledigheid of het tijdig toekomen van de informatie in deze e-mail. A=
an
deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in=
geen geval een erkenning van welkdanige aansprakelijkheid in.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht=
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te mel=
den
en het bericht te vernietigen.
Smals d=E9cline toute responsabilit=E9 quant =E0 l'exactitude, =E0 l'ex=
haustivit=E9
et au d=E9lai de transmission des informations contenues dans cet e-mai=
l.
Aucun droit ne peut =EAtre revendiqu=E9 sur cet e-mail et cet e-mail n'=
implique
en aucun cas une reconnaissance de responsabilit=E9, quelle qu'elle soi=
t.
Ce message s'adresse uniquement au destinataire. Si ce message ne vous =
est
pas destin=E9, nous vous prions de nous le signaler imm=E9diatement et =
de
d=E9truire le message.
=
Florian Gleixner =
<fl...@bi.... =
net> =
To
Ale...@sm... =
01/08/2007 13:13 =
cc
per...@li...=
e.n
et, Ale...@sm..., A=
lex
Peeters <ale...@ci...>=
Subj=
ect
Re: Perfparse-devel] Feature =
request =
=
=
=
=
=
=
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/contr=
ib'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
>
`/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contr=
ib'
> 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/scrip=
ts'
> 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_comm=
on
> /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/l=
ib
> -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 (sym=
bol
> 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 (sym=
bol
> 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 (sym=
bol
> 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=3D"-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
=
|