Every since ntop-3.3rc0, I have not been able to build ntop on my Fedora
Core 6 system. The previous days cvs worked ok. Every cvs after
ntop-3.3rc0 has also not worked.
The build always terminates with:
gcc -shared .libs/libxmldumpPlugin_la-xmldumpPlugin.o -L/lib -lgdome
-lglib-2.0 -lxml2 -L/usr/local/lib -lssl -lrrd_th -lpcap -lgdbm -lgd -lpng
-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -lz
-lcrypto -lsensors -L/usr/lib/lib
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl
-ldl -lm -lcrypt -lutil -lpthread -lc -lwrap -lc -m32 -march=i386
-mtune=generic -Wl,-E -Wl,-rpath
-Wl,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -Wl,-soname
-Wl,libxmldumpPlugin-3.3rc0 -o .libs/libxmldumpPlugin-3.3rc0
(cd .libs && rm -f libxmldumpPlugin && ln -s libxmldumpPlugin-3.3rc0
libxmldumpPlugin)
creating libxmldumpPlugin.la
(cd .libs && rm -f libxmldumpPlugin.la && ln -s ../libxmldumpPlugin.la
libxmldumpPlugin.la)
gcc: icmpPlugin.o: No such file or directory
gcc: no input files
make[3]: *** [.libs/libicmpPlugin.so] Error 1
make[3]: Leaving directory `/builddir/build/BUILD/ntop/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/ntop/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/ntop'
make: *** [all] Error 2
Since there seemed to be a bunch of autotools related updates moving to the
rc0 and I didn't understand the problem, I did a bisection of the changes
and came up with a patch that will cause the build to suceed on my my
system, although I have no idea why. I was hoping that someone who
understand the autotools setup here could give me a hand with what is going
on.
diff -Naur ntop.old/acinclude.m4 ntop.new/acinclude.m4
--- ntop.old/acinclude.m4 2006-11-23 01:50:15.000000000 -0700
+++ ntop.new/acinclude.m4 2007-02-06 07:33:59.000000000 -0700
@@ -1346,7 +1281,7 @@
library_names_spec=
libname_spec='lib$name'
soname_spec=
-shrext_cmds=".so"
+shrext=".so"
postinstall_cmds=
postuninstall_cmds=
finish_cmds=
@@ -4411,7 +4253,7 @@
libext="$libext"
# Shared library suffix (normally ".so").
-shrext_cmds='$shrext_cmds'
+shrext='$shrext'
# Executable file suffix (normally "").
exeext="$exeext"
_________________________________________________________________
http://homepage.msn.com/zune?icid=hmetagline
diff -Naur ntop.old/acinclude.m4 ntop.new/acinclude.m4
--- ntop.old/acinclude.m4 2006-11-23 01:50:15.000000000 -0700
+++ ntop.new/acinclude.m4 2007-02-06 07:33:59.000000000 -0700
@@ -1346,7 +1281,7 @@
library_names_spec=
libname_spec='lib$name'
soname_spec=
-shrext_cmds=".so"
+shrext=".so"
postinstall_cmds=
postuninstall_cmds=
finish_cmds=
@@ -4411,7 +4253,7 @@
libext="$libext"
# Shared library suffix (normally ".so").
-shrext_cmds='$shrext_cmds'
+shrext='$shrext'
# Executable file suffix (normally "").
exeext="$exeext"
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev