Opened 9 years ago

Closed 8 years ago

#46381 closed defect (invalid)

wireshark @1.12.2 configure error - unable to locate kerberos

Reported by: sayhong@… Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: hsivank@…
Port: wireshark

Description

I wanted to run wireshark via macports with some patches to be made before compiling.

What i did
$ sudo port selfupdate
MacPorts base version 2.3.3 installed. Following I did,

$ sudo port -v extract wireshark

I did some patching to wireshark plugins. Then I ran

$ sudo port -v destroot wireshark

This threw up an error about 'checking whether the Kerberos library is Heimdal or MIT... no'.

I tried installing wireshark via the normal installation (i.e. sudo port -v install wireshark). It works but I was not able to insert additional files for compilation. Any ideas?


Output of running 'sudo port -v destroot wireshark'

checking whether to use SSL library... yes
checking for EVP_md5 in -lcrypto... yes
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
make: *** [config.status] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.2'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.2" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: org.macports.build for port wireshark returned: command execution failed
Warning: targets not executed for wireshark: org.macports.destroot org.macports.build

Config.log

configure:35285: /usr/bin/clang -o conftest -mmacosx-version-min=10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -pipe -Os -arch x86_64 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wformat-security -fwrapv -Wold-style-definition -Wshorten-64-to-32 -Wstrict-prototypes -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wc++-compat -Wheader-guard -Wshadow -Wno-deprecated-declarations -fvisibility=hidden -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2  -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -I/opt/local/include -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include -Wl,-search_paths_first -Wl,-rpath,@executable_path/../lib -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/usr/local/lib -mmacosx-version-min=10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-search_paths_first -arch x86_64 -L/opt/local/lib -L/opt/local/lib conftest.c -lcrypto   -L/opt/local/lib -lz  >&5
configure:35285: $? = 0
configure:35294: result: yes
configure:35312: checking whether to use Kerberos library
configure:35344: result: yes
configure:35458: checking krb5.h usability
configure:35458: /usr/bin/clang -c -mmacosx-version-min=10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -pipe -Os -arch x86_64 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wformat-security -fwrapv -Wold-style-definition -Wshorten-64-to-32 -Wstrict-prototypes -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wc++-compat -Wheader-guard -Wshadow -Wno-deprecated-declarations -fvisibility=hidden -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2  -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -I/opt/local/include -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c >&5
configure:35458: $? = 0
configure:35458: result: yes
configure:35458: checking krb5.h presence
configure:35458: /usr/bin/clang -E -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -I/opt/local/include -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include -I/opt/local/include conftest.c
configure:35458: $? = 0
configure:35458: result: yes
configure:35458: checking for krb5.h
configure:35458: result: yes
configure:35502: checking whether the Kerberos library is Heimdal or MIT
configure:35644: result: no
configure:35652: error: Kerberos not found

Attachments (1)

wireshark_main.log (136.0 KB) - added by sayhong@… 9 years ago.
wireshark main.log file

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: hsivank@… added
Keywords: wireshark removed
Owner: changed from macports-tickets@… to opendarwin.org@…

comment:2 Changed 9 years ago by hsivank@…

comment:3 in reply to:  description Changed 9 years ago by larryv (Lawrence Velázquez)

Replying to sayhong@…:

I did some patching to wireshark plugins.

It’s possible that your changes cause the configure script to be regenerated without the fix from #37924. It’s hard to say without seeing a complete main.log.

Changed 9 years ago by sayhong@…

Attachment: wireshark_main.log added

wireshark main.log file

comment:4 Changed 9 years ago by sayhong@…

Hey guys,

I have uploaded the main.log file.

The patches I tried to insert were from https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark.

comment:5 Changed 8 years ago by ghosthound

Resolution: invalid
Status: newclosed

Resolving as invalid as we generally don't support manual alterations during the port process.

Note: See TracTickets for help on using tickets.