Sounds like you are in a similar place I was years ago with FreeBSD - and it is 
not a good place!

Sounds like you are missing numerous dependencies.  You need to fix those, 
specifically the building environments.  Or, you could maybe get a prebuilt 
binary from somewhere. I'm not familiar with OBSD so can't help much there.

----- Original Message -----
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Sent: Wed Mar 31 05:35:42 2010
Subject: [Ntop] can't compile ntop on openbsd 4.1

Hello list,

I'm angry, frustrated and discouraged.
i'm trying to run ntop on my obsd but i'm facing problems one after the
other since days.
I can install ntop 1.1 from openbsd 4.1 repo, but i can see that is very
old, mostly useless, and also cannot be queried on web interface (also
if it is supposed to do the job, all the advices I found were: move to a
recent version. there is no way to let him accept the -w parameter). So,
i tried to compile the latest 3.4.xxx.tar.gz but sounds like a big mess:

...
8. Running ./configure ...
I am going to run ./configure with no arguments
if you wish to pass any to it, please specify them on the ./autogen.sh
command line.
./autogen.sh[412]: ./configure: not found
..
i tried to read docs, old messages and also google did not help in any way.

Feeling lucky, i tried one more different version, 3.2 since the
autogen.sh has been introduced from version 3.2.x on.
but once again a problem:

if i run ./configure
...
checking dependency style of gcc... (cached) gcc3

*******************************************************************
*
* Checking for unique options for i386-unknown-openbsd4.1, gcc...
*
* i386-unknown-openbsd4.1 is an unknown/unsupported OS
*
*******************************************************************
...
sounds interesting. google suggested to run the parameter
--enable-iknowbetter, so:
./configure --enable-iknowbetter


....
*******************************************************************
*
* ERROR: pcap header, bpf or library routines are missing
*           (yes means it was found, no means it was not found)
*
*              pcap.h...no
*              net/bpf.h...no
*              pcap-bpf.h...no
*              pcap_open_live() in -lpcap...no
*              pcap_findalldevs() in -lpcap...no
*
*  (One of the bpf files is required, but either will do)
*
*>>> No way to proceed.
*
*???     1. Install libpcap (http://www.tcpdump.org/)
*???    and Rerun ./configure
*???  or 2. Use the --with-pcap-root= option
*
*******************************************************************

configure: error: Unable to continue... aborting ./configure
....


so my question: Am i doing something wrong, or there is no way to
compile my ntop on openbsd 4.1?

Regards,

Fabio


_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to