[MacPorts] #46381: wireshark @1.12.2 configure error - unable to locate kerberos
MacPorts
noreply at macports.org
Sat Jan 3 11:19:00 PST 2015
#46381: wireshark @1.12.2 configure error - unable to locate kerberos
-----------------------+--------------------------------
Reporter: sayhong@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: wireshark | Port: wireshark
-----------------------+--------------------------------
I wanted to run wireshark via macports with some patches to be made before
compiling.
What i did[[BR]]
$ sudo port selfupdate[[BR]]
MacPorts base version 2.3.3 installed. Following I did,[[BR]]
$ sudo port -v extract wireshark
[[BR]]
I did some patching to wireshark plugins. Then I ran
[[BR]]
$ sudo port -v destroot wireshark
[[BR]]
This threw up an error about 'checking whether the Kerberos library is
Heimdal or MIT... no'.
[[BR]]
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?
[[BR]]
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, at executable_path/../lib
-Wl,-rpath, at 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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46381>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list