It fails for a reason hacking the test is probably not the best solution
(IMHO).

I think many of us found that simply passing

./configure LIBS='-lnsl -lsocket'

Solved the PCAP_OPEN_LIVE problems.

I've been using this config line.

./configure LIBS='-lnsl -lsocket -lcrypt -liconv'

For Solaris 8 (and 9). the -liconv was not needed on Ntop_2.2 + patches
(Solaris 8) but was needed with Ntop_2.2c so just get used to using it. This
assumes you have your LD_LIBRARY_PATH set correctly (or crle if you use
that). Also assumes a lot of GNU software is installed.

PS searching the Ntop list is easy with http://search.gmane.org/ ...


Mike Tremaine
[EMAIL PROTECTED]
http://www.stellarcore.net
----- Original Message ----- 
From: "Jean-Bapriste Vicaire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 2:03 AM
Subject: Re: [Ntop] Help installing NTOP on Solaris 8


> I had the same issue, I could'nt figure out what was the problem so I made
a
> quick and dirty change to the configure script.
>
> Line #17407 change "ac_cv_lib_pcap_pcap_open_live=no" to yes .
>
> This simply disable the error message and I had no compile or running
issue
> after this.
>
> Jean-Baptiste
>
> >From: "Naman Latif" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: [Ntop] Help installing NTOP on Solaris 8
> >Date: Mon, 7 Jul 2003 17:16:51 -0700
> >
> >Hi,
> >I am trying to install NTOP 2.2 on a Solaris 8 machine. However I am
> >getting this error message
> >
> >++++++++++++++++++++++++++++
> >ERROR: pcap header or library routines are missing
> >*           (yes means it was found, no means it was not found)
> >*
> >*              pcap.h...yes
> >*              pcap_open_live() in -lpcap...no
> >*
> >*>>> No way to proceed.
> >*
> >*???     1. Install libpcap
> >*???    and Rerun ./configure
> >*???  or 2. Use the --with-pcap-root= option
> >*
> >++++++++++++++++++++++
> >
> >I have libpcap installed (latest version 0.7.2). Another program
> >Ethereal is also using this libpcap and working fine. However NTOP
> >complains of the above error. Any help ?
> >
> >Regards \\ Naman
> >_______________________________________________
> >Ntop mailing list
> >[EMAIL PROTECTED]
> >http://listgateway.unipi.it/mailman/listinfo/ntop
>
> _________________________________________________________________
> D�couvrez les nouvelles �motic�nes anim�es de  http://g.msn.fr/FR1001/866
> MSN Messenger nouvelle formule
>
> _______________________________________________
> 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