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
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
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
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 :)
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
Jon, it was not working for -ssl: configure: error: invalid package name: openssl=/usr I've commited a fixed ebuild.
Thanks eldad :)