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-dev: Re: [Wireshark-dev] OS X build can't find gcrypt.h

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


From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Thu, 6 Jul 2006 15:12:47 -0700

On Thu, Jul 06, 2006 at 02:08:48PM -0700, Stephen Fisher wrote:

> 
> On Fri, Jun 23, 2006 at 08:36:11PM -0700, Stephen Fisher wrote:
> 
> > I am trying to build SVN 18568 on my MacOS X machine and it is failing 
> > at packet-ipsec.c, where it can't find gcrypt.h:
> 
> I resolved my problem of not finding gcrypt.h on OS X builds:
> 
> I added $(LIBGCRYPT_FLAGS) to the INCLUDES variable in 
> epan/dissectors/Makefile.am:
> 
> -INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/..
> +INCLUDES = -I$(srcdir)/../.. -I$(srcdir)/.. $(LIBGCRYPT_FLAGS)

One more problem cropped up later in the build:

In file included from ssl-dlg.c:61:
../epan/dissectors/packet-ssl-utils.h:36:20: error: gcrypt.h: No such 
file or directory

Adding $(LIBGCRYPT_FLAGS) to AM_CPPFLAGS did not work in the 
gtk/Makefile.am (where ssl-dlg.c is).  The AM_CPPFLAGS change seems to 
be ignored even when in the main Makefile.am.  If I set my environment 
variable AM_CPPFLAGS to $(LIBGCRYPT_FLAGS), then type make -e it works.  
Anyone more familar with these makefiles know what is going on?


Steve


  • Follow-Ups:
    • Re: [Wireshark-dev] OS X build can't find gcrypt.h
      • From: Stephen Fisher
  • References:
    • Re: [Wireshark-dev] OS X build can't find gcrypt.h
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-dev] OS X build can't find gcrypt.h
  • Next by Date: [Wireshark-dev] Build problem after update
  • Previous by thread: Re: [Wireshark-dev] OS X build can't find gcrypt.h
  • Next by thread: Re: [Wireshark-dev] OS X build can't find gcrypt.h
  • Index(es):
    • Date
    • Thread

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