Solved Cannot install NTOP on my FreeBSD 10

Hi,

I cannot install ntop on my FreeBSD 10 due to the following problem:
Code:
# uname -a
FreeBSD bsd01 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue Nov  4 04:15:03 UTC 2014  root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
# portmaster net/ntop
..................................
..................................
..................................
/usr/local/lib/librrd_th.so: undefined reference to `xmlFreeTextReader@LIBXML2_2.4.30'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:709: recipe for target 'ntop' failed
gmake[4]: *** [ntop] Error 1
gmake[4]: Leaving directory '/usr/ports/net/ntop/work/ntop-5.0.1'
Makefile:904: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/net/ntop/work/ntop-5.0.1'
Makefile:564: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/net/ntop/work/ntop-5.0.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/ntop
*** Error code 1

Stop.
make: stopped in /usr/ports/net/ntop

===>>> make build failed for net/ntop
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
  portmaster <flags> net/ntop
Does anyone know how to solve this problem?
 
I solved this problem now.
I checked for all ntop dependencies and reinstalled all packages using portmaster:
Code:
# cd /usr/ports/net/ntop
# make build-depends-list && make run-depends-list
/usr/ports/databases/gdbm
/usr/ports/databases/rrdtool
/usr/ports/devel/autoconf
/usr/ports/devel/automake
/usr/ports/devel/gmake
/usr/ports/devel/libevent2
/usr/ports/devel/libtool
/usr/ports/graphics/graphviz
/usr/ports/lang/python27
/usr/ports/net/GeoIP
/usr/ports/ports-mgmt/pkg
/usr/ports/textproc/libxml2
/usr/ports/databases/gdbm
/usr/ports/databases/rrdtool
/usr/ports/devel/libevent2
/usr/ports/graphics/graphviz
/usr/ports/lang/python27
/usr/ports/net/GeoIP
/usr/ports/textproc/libxml2
/usr/ports/x11-fonts/urwfonts
 
Back
Top