On Fri, 13 Feb 2009 03:41:05 -0800 (PST)
Alan Ross <amists at gmail.com> wrote:

> Hi
> 
> If anyone else has installed ettercap on opensolaris they may be able
> to help me out.
> 
> Briefly, I'm new to non windows. attempting to install ettercap from
> instructions at http://wiki.genunix.org/wiki/index.php/Ettercap
> 
> So I run
> 
> user at opensolaris:~/ettercap-NG-0.7.3# ./configure
> --with-libnet=/opt/csw/include/
> 
> and get 
> 
> checking for libnet... no
> configure: error: libnet.h not found in /opt/csw/include/
> 
> 
> Whats really annoying me is that 'libnet.h not found
> in /opt/csw/include/' except that libnet.h clearly *is* in that
> folder, I'm looking at it now.
> 
> 
> please someone help me - what am I doing wrong.

Hi Alan,
you might want to try setting the CFLAGS variable, as follows:

$ CFLAGS="-I/opt/csw/include"

and then invoking configure.

Alternatively, my experience with configure scripts is that they
frequently want to see "/opt/csw" rather than "/opt/csw/include"
since the configure script will be trying to execute a test program
that depends on a library in (in this case) "/opt/csw/lib" rather
than "/opt/csw/include/lib".


Hope this helps,
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog

Reply via email to