Date: Fri, 21 Jul 2006 08:04:22 +0300 (EEST) From: Esa Karkkainen <ejk@iki.fi> To: FreeBSD-gnats-submit@FreeBSD.org Cc: marcus@FreeBSD.org, Esa Karkkainen <ejk@iki.fi> Subject: ports/100645: Wireshark 0.99.2 does not compile without GNUTLS library Message-ID: <200607210504.k6L54MOT058101@thunderbolt.my.domain> Resent-Message-ID: <200607210510.k6L5AGsj086338@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100645 >Category: ports >Synopsis: Wireshark 0.99.2 does not compile without GNUTLS library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 21 05:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Esa Karkkainen >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: Is in state of disintegration >Environment: System: 6.1-RELEASE-p2 Thu Jun 15 07:22:23 EEST 2006 Ports tree cvsupped at Fri Jul 21 06:21:00 EEST 2006 >Description: It seems, at least to me, that wireshark 0.99.2 needs gnutls library, at least in the build phase. Please note that I've installed net/wireshark-lite port and resulting wireshark works for me. >How-To-Repeat: # pkg_delete gnutls-1.4.1 # cd /usr/ports/net/wireshark-lite && make all ===> Extracting for wireshark-lite-0.99.2 ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for wireshark-lite-0.99.2 ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for wireshark-lite-0.99.2 ===> wireshark-lite-0.99.2 depends on file: /usr/local/lib/libcrypto.so.5 - found ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/python - found ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/perl5.8.8 - found ===> wireshark-lite-0.99.2 depends on file: /usr/local/bin/intltool-extract - found ===> wireshark-lite-0.99.2 depends on executable: pkg-config - found ===> wireshark-lite-0.99.2 depends on shared library: iconv.3 - found ===> wireshark-lite-0.99.2 depends on shared library: atk-1.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: glib-2.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: gtk-x11-2.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: pango-1.0.0 - found ===> wireshark-lite-0.99.2 depends on shared library: X11.6 - found ===> Configuring for wireshark-lite-0.99.2 ===> Building for wireshark-lite-0.99.2 [ lines deleted ] epan/.libs/libwireshark.so: undefined reference to `gpg_strerror' epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt' epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_algo_name' *** Error code 1 Stop in /usr/ports/net/wireshark-lite/work/wireshark-0.99.2. *** Error code 1 Stop in /usr/ports/net/wireshark-lite/work/wireshark-0.99.2. *** Error code 1 Stop in /usr/ports/net/wireshark-lite/work/wireshark-0.99.2. *** Error code 1 Stop in /usr/ports/net/wireshark-lite. >Fix: This patch makes gnutls dependecy explicit. diff -ruN /usr/ports/net/wireshark/Makefile ports/net/wireshark/Makefile --- /usr/ports/net/wireshark/Makefile Fri Jul 21 06:21:48 2006 +++ ports/net/wireshark/Makefile Fri Jul 21 07:38:11 2006 @@ -25,10 +25,13 @@ USE_OPENSSL= yes CONFIGURE_ENV= MIBDIRS="/dev/null" CONFIGURE_ARGS+= --program-transform-name="" \ - --with-ssl=/usr + --with-ssl=/usr \ + --with-libgnutls-prefix=${LOCALBASE} MAKE_ENV= MIBDIRS="/dev/null" INSTALLS_SHLIB= yes +LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls + .for x in capinfos editcap idl2wrs mergecap text2pcap .if defined(LITE) PLIST_SUB+= ${x:U}="@comment $x not installed" @@ -106,11 +109,6 @@ CONFIGURE_ARGS+= --with-adns=${LOCALBASE}/lib .else CONFIGURE_ARGS+= --with-adns=no -.endif - -.if exists(${LOCALBASE}/lib/libgnutls.so) || defined(WITH_GNUTLS) -LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls -CONFIGURE_ARGS+=--with-libgnutls-prefix=${LOCALBASE} .endif MAN1+= dumpcap.1 tshark.1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607210504.k6L54MOT058101>