Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59003 - Ettercap 0.7 does not compile proerly with Openssl supprt
Summary: Ettercap 0.7 does not compile proerly with Openssl supprt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-31 09:50 UTC by Ryan Gurney
Modified: 2004-08-13 10:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Gurney 2004-07-31 09:50:58 UTC
The following line needs to be added to the ebuild:

./configure --with-openssl=/usr/local

Reproducible: Always
Steps to Reproduce:
1.Compile ettercap 0.7
2.
3.

Actual Results:  
Openssl support does not work.  Within the make the compile cannot find libssl.

Expected Results:  
./configure --with-openssl=/usr/local
Comment 1 Kevin Sheldrake 2004-08-02 04:14:35 UTC
That's strange.  I was about to raise a very similar bug, but with a subtle difference.

My openssl libs are in /usr/lib, with headers in /usr/include.  Emerging =ettercap-0.7.0 resulted in an ettercap without ssl/ssh support.  Building from the ettercap distributed tgz (./configure; make; make install) worked fine, including ssl/ssh support.

Consequently, I did not conclude the same fix as Ryan Gurney.

Kev
Comment 2 Alberto Ornaghi 2004-08-03 00:32:09 UTC
the problem is that the ssl USE option makes the command line look like this:

./configure ... --with-openssl ...

without specifying any path. so the configure script will not find the required library.

I propose to patch the ebuild this way:

    econf \
        `use_enable gtk gtk` \
        `use_enable debug debug` \
        `use_with ssl openssl=/usr` \
        `use_with ncurses ncurses=/usr` \
        || die "econf failed"


is this acceptable ?

bye
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-08-05 16:33:56 UTC
Kevin, you can still have openssl installed and not want ssl support. Using your method will install ssl support if the openssl package is installed, which some users may not want.
Anyways, this is fixed in ettercap-0.7.0; thanks :)
Comment 4 Mathias Van Moortel 2004-08-13 03:11:58 UTC
I cannot emerge ettercap 0.7.0

Calculating dependencies ...done! 
>>> emerge (1 of 1) net-analyzer/ettercap-0.7.0 to / 
>>> md5 src_uri  ettercap-NG-0.7.0.tar.gz 
>>> Unpacking source... 
>>> Unpacking ettercap-NG-0.7.0.tar.gz to /var/tmp/portage/ettercap-0.7.0/work 
>>> Source unpacked. 
configure: error: invalid package name: openssl=/usr 

!!! ERROR: net-analyzer/ettercap-0.7.0 failed. 
!!! Function econf, Line 362, Exitcode 1 
!!! econf failed

My USE settings:
USE="3dnow acpi artswrappersuid dvd glut java mmx nvidia sse transcode xvid -cups -foomaticdb -gpm -gnome -libg++ -libwww -mikmod -nls -spell -xv -gdbm -slang -ssl -perl"

The -ssl breaks the emerge I think...

See this topic -> http://forums.gentoo.org/viewtopic.php?t=208594
Comment 5 Eldad Zack (RETIRED) gentoo-dev 2004-08-13 09:36:07 UTC
Jon, it was not working for -ssl:

configure: error: invalid package name: openssl=/usr

I've commited a fixed ebuild.
Comment 6 Jon Hood (RETIRED) gentoo-dev 2004-08-13 10:17:42 UTC
Thanks eldad :)