Wireshark-dev: Re: [Wireshark-dev] Building with cmake on OSX
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 23 Sep 2009 21:51:05 +0200
On Wed, Sep 23, 2009 at 10:12:51AM -0600, Stephen Fisher wrote:
> Are you getting past the check for CAP_LIBRARY?  That's a Linux thing  
> AFAIK, so Mac OS X doesn't have it.  CMake bails out on me with this  
> message:
...
> Even when I change /CMakeLists.txt to say OFF at the end of the  
> option(ENABLE_CAP.... line.

Maybe the enable_cap is still cached? Please remove the build dir and
retry or remove CMakeCache.txt in the build dir.

Ciao
    Joerg

PS: On Linux (opensuse 11.1) I do the following:

jmayer@egg:~/work/wireshark/svn> cat cdoit
rm -rf build
mkdir build
mkdir build/logs
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/test ../trunk/ 2>&1 | tee logs/cmake.log
make -j2 2>&1 | tee logs/make.log
rm -rf /opt/test/*
make install 2>&1 | tee logs/install.log

Of course /opt/test is owned by me :-)
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.