Re: [Wireshark-dev] New mac cmake setup

2014-06-03 Thread Evan Huus
On Tue, Jun 3, 2014 at 2:19 AM, Alexis La Goutte wrote: > Hi Evan, > > On Tue, Jun 3, 2014 at 1:14 AM, gmail wrote: > > I try against Macports. > > From my CMakeCache.txt > > > > > GMODULE2_LDFLAGS:INTERNAL=-L/opt/local/lib;-lgmodule-2.0;-lglib-2.0;-lintl > > GMODULE2_LIBDIR:INTERNAL=/opt/local/

Re: [Wireshark-dev] New mac cmake setup

2014-06-03 Thread Evan Huus
On Mon, Jun 2, 2014 at 7:14 PM, gmail wrote: > I try against Macports. > From my CMakeCache.txt > > GMODULE2_LDFLAGS:INTERNAL=-L/opt/local/lib;-lgmodule-2.0;-lglib-2.0;-lintl > GMODULE2_LIBDIR:INTERNAL=/opt/local/lib > GMODULE2_LIBRARIES:INTERNAL=gmodule-2.0;glib-2.0;intl > > => GMODULE2_LIBRARIE

Re: [Wireshark-dev] New mac cmake setup

2014-06-02 Thread Alexis La Goutte
Hi Evan, On Tue, Jun 3, 2014 at 1:14 AM, gmail wrote: > I try against Macports. > From my CMakeCache.txt > > GMODULE2_LDFLAGS:INTERNAL=-L/opt/local/lib;-lgmodule-2.0;-lglib-2.0;-lintl > GMODULE2_LIBDIR:INTERNAL=/opt/local/lib > GMODULE2_LIBRARIES:INTERNAL=gmodule-2.0;glib-2.0;intl > > => GMODULE2

Re: [Wireshark-dev] New mac cmake setup

2014-06-02 Thread gmail
I try against Macports. From my CMakeCache.txt GMODULE2_LDFLAGS:INTERNAL=-L/opt/local/lib;-lgmodule-2.0;-lglib-2.0;-lintl GMODULE2_LIBDIR:INTERNAL=/opt/local/lib GMODULE2_LIBRARIES:INTERNAL=gmodule-2.0;glib-2.0;intl => GMODULE2_LIBRARIES does not contain required link path on osx. Look likes a m

Re: [Wireshark-dev] New mac cmake setup

2014-06-02 Thread Evan Huus
On Mon, Jun 2, 2014 at 1:24 PM, hsivank wrote: > If libmodule-2.0.dylib is installed inside /usr/local/lib on your machine, > a library path is missing in your command (something like : > -L/usr/local/lib) > Quickly, You can overwrite some cache value inside "CMakeCache.txt" and > add this missin

Re: [Wireshark-dev] New mac cmake setup

2014-06-02 Thread hsivank
If libmodule-2.0.dylib is installed inside /usr/local/lib on your machine, a library path is missing in your command (something like : -L/usr/local/lib) Quickly, You can overwrite some cache value inside "CMakeCache.txt" and add this missing path. Or you can take a look inside wsutil/CMakeLists.t

[Wireshark-dev] New mac cmake setup

2014-06-02 Thread Evan Huus
I'm trying to get an out-of-tree cmake build set up on a brand new mac. Cmake and the compiler seem to be working fine, but I'm having issues at link time. Specifically, I keep getting: ld: library not found for -lgmodule-2.0 clang: error: linker command failed with exit code 1 (use -v to see invo