Opened 12 years ago

Last modified 12 years ago

#37924 closed defect

wireshark: configure failure when looking for kerberos5 — at Version 9

Reported by: george@… Owned by: hsivank@…
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: Cc: jeremyhu@…, cal@…, george@…, opendarwin.org@…
Port: wireshark-devel wireshark

Description (last modified by neverpanic (Clemens Lang))

Apparently also a problem in Wireshark.

Change History (10)

Changed 12 years ago by george@…

Attachment: main.log added

wireshark-devel port installation log file

comment:1 Changed 12 years ago by george@…

Running the command:

sudo port -v install wireshark-devel +adns+ipv6+libgcrypt+pcre+python27+rtp

Upon running the configure script, installation bombs out with this output:

checking whether to use Kerberos library... yes
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking whether the Kerberos library is Heimdal or MIT... no
configure: error: Kerberos not found
Command failed:  cd "/opt/local/var/macports/build/_Users_gthiruva_scratch_macports-trunk_dports_net_wireshark-devel/wireshark-devel/work/wireshark-1.8.5"
&& ./configure --prefix=/opt/local --disable-usr-local --with-pcap=/opt/local --with-ssl=/opt/local --with-zlib=/opt/local 
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --disable-warnings-as-errors --with-krb5=/opt/local --without-gnutls
--with-adns=/opt/local --without-c-ares --with-libgcrypt-prefix=/opt/local --enable-ipv6 --with-pcre=/opt/local --with-portaudio=/opt/local 
--with-python 
Exit code: 1
Error: org.macports.configure for port wireshark-devel returned: configure failure: command execution failed
Warning: targets not executed for wireshark-devel: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port wireshark-devel for details:
    /opt/local/var/macports/logs/_Users_gthiruva_scratch_macports-trunk_dports_net_wireshark-devel/wireshark-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wireshark-devel failed

comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: jeremyhu@… cal@… added
Keywords: wireshark kerberos heimdal removed
Owner: changed from macports-tickets@… to hsivank@…
Summary: wireshark-devel fails during configure when looking for kerberos5wireshark-devel @1.8.5_0 +adns+ipv6+libgcrypt+pcre+python27+rtp: configure failure when looking for kerberos5

Thanks for the ticket. In the future, please Cc relevant port maintainers.

This may have something to do with today’s Kerberos kerfuffle. Cc-ing Jeremy and Cal just in case.

comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: duplicate
Status: newclosed

Actually, this is probably a a duplicate of #37917, sort of.

comment:4 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: closedreopened

This is not a duplicate, because a revbump will not fix it.

The problem is caused by Wireshark's configure trying to determine whether it is linking against Heimdal or MIT Kerberos by grepping the krb5.h for "Massachusetts Institute of Technology". With version 1.11 of kerberos5 however, this text is broken into two lines. A simple fix is changing all occurances of this string in configure to "Massachusetts".

comment:5 Changed 12 years ago by george@…

Cc: george@… added

Cc Me!

comment:6 Changed 12 years ago by george@…

Cc: george@… removed

Cc Me!

comment:7 Changed 12 years ago by george@…

Cc: george@… added

Cc Me!

comment:8 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Wow, that's quite a big fail in the Wireshark's configure script. LOL

comment:9 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: opendarwin.org@… added
Description: modified (diff)
Port: wireshark added
Summary: wireshark-devel @1.8.5_0 +adns+ipv6+libgcrypt+pcre+python27+rtp: configure failure when looking for kerberos5wireshark: configure failure when looking for kerberos5
Note: See TracTickets for help on using tickets.