ntop fails to build

Andrea Venturoli ml at netfence.it
Thu Nov 7 08:22:39 UTC 2013


Hello.

As per subject, I'm getting an error in the configure stage:

> checking for gdbm...
> checking gdbm.h usability... yes
> checking gdbm.h presence... yes
> checking for gdbm.h... yes
> checking for gdbm_open in -lgdbm... no
>
> *******************************************************************
> *
> * ERROR: gdbm header or library routines are missing
> *           (yes means it was found, no means it was not found)
> *
> *              gdbm.h...yes
> *              gdbm_open() in -lgdbm...no
> *
> *>>> No way to proceed.
> *
> *???     1. Install libgdbm
> *???    and Rerun ./configure
> *???  or 2. Use the --with-gdbm-xxxxx= options
> *
> *******************************************************************
>
> configure: error: Unable to continue... aborting ./configure
> ===>  Script "configure" failed unexpectedly.

Relevant lines in config.log:
> configure:14287: cc -o conftest -g -O2 -pipe -march=core2 -I/usr/local/include -L/usr/local/lib -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/opt/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -I/usr/local/include -DFREEBSD -I/usr/local/include -I/opt/local/include -I/usr/local/include  -L/usr/local/lib -pthread -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector-L/usr/local/lib -L/opt/local/lib -L/usr/local/lib conftest.c -lgdbm   -lgdbm >&5
> cc1: error: unrecognized command line option "-fstack-protector-L/usr/local/lib"

So it seems a space is missing, but I don't know where to fix this.
Any hint?

  bye & Thanks
	av.


More information about the freebsd-ports mailing list