Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-bugs: [Wireshark-bugs] [Bug 1005] New: Build can't find gcrypt.h from libgcrypt installed via DarwinPorts

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: bugzilla-daemon@xxxxxxxxxxxxx
Date: Mon, 17 Jul 2006 19:20:01 +0000 (GMT)

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1005

           Summary: Build can't find gcrypt.h from libgcrypt installed via
                    DarwinPorts
           Product: Wireshark
           Version: SVN
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: stephentfisher@xxxxxxxxx


<reported to wireshark-dev on July 6, 2006 and received no response>

When building the latest SVN of Wireshark with "--with-ssl" on OS X, gcrypt.h
cannot be found as installed in /opt/local/include/gcrypt.h by the DarwinPorts
install of libgcrypt.  This prevents compilation of Wireshark. 

I am able to resolve this problem by adding $(LIBGCRYPT_CFLAGS) as seen below. 
This is necessary because a) DarwinPorts installs libgcrypt under /opt/local
instead of /usr/local that is included already and b) libgcrypt's info page
says to add $(LIBGCRYPT_CFLAGS) to the AM_CPPFLAGS (or INCLUDES, which is the
older version of AM_CPPFLAGS) because its automake macros do not do this.  The
macros for other libraries, such as glib, add /opt/local/include/<library
name>/ to the includes automatically.

epan/dissectors/Makefile.am
-INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/..
+INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/.. $(LIBGCRYPT_CFLAGS)

gtk/Makefile.am
-AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap $(LIBGCRYPT_CFLAGS)


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  • Follow-Ups:
    • [Wireshark-bugs] [Bug 1005] Build can't find gcrypt.h from libgcrypt installed via DarwinPorts
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1005] Build can't find gcrypt.h from libgcrypt installed via DarwinPorts
      • From: bugzilla-daemon
    • [Wireshark-bugs] [Bug 1005] Build can't find gcrypt.h from libgcrypt installed via DarwinPorts
      • From: bugzilla-daemon
  • Prev by Date: [Wireshark-bugs] [Bug 1004] Win98 compatible version available now?
  • Next by Date: [Wireshark-bugs] [Bug 1005] Build can't find gcrypt.h from libgcrypt installed via DarwinPorts
  • Previous by thread: [Wireshark-bugs] [Bug 1004] Win98 compatible version available now?
  • Next by thread: [Wireshark-bugs] [Bug 1005] Build can't find gcrypt.h from libgcrypt installed via DarwinPorts
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation