[Bro-Dev] cmake/install question

Robin Sommer robin at icir.org
Thu Jan 27 10:31:02 PST 2011


On Thu, Jan 27, 2011 at 12:13 -0600, you wrote:

> I think what you're seeing in the build dir is just leftovers from
> before this change happened and it's just a red herring.

That may be, I didn't clean up after pulling in the recent changes.
However, now that I did, I'm running into different problems with my
multi-user setup:

Compiling as user robin:

    [in ~robin/bro/master/]
    > rm -rf build
    > ./configure --prefix=/home/bro/ --enable-cluster
    > (cd build && make -j 8)

Installing as user bro:

    [in ~bro/]
    > ( cd ~robin/bro/master && make install )
    ( cd build && make install )
    CMake Error: Could not open file for write in copy operation /home/robin/bro/master/build/cmake_uninstall.cmake.tmp
    CMake Error: : System Error: Permission denied
    CMake Error at CMakeLists.txt:18 (configure_file):
    configure_file Problem configuring file


    CMake Error: Could not open file for write in copy operation /home/robin/bro/master/build/bro-path-dev.tmp
    CMake Error: : System Error: Permission denied
    CMake Error at CMakeLists.txt:39 (configure_file):
    configure_file Problem configuring file

    [...]

That looks like it's now trying again to write into the build
directory on "make install"?

This is cmake 2.8.2 if that matters.

> Maybe you weren't looking in the right install prefix for the change?

I had tried deleting the installed version of the file, and it got
reinstalled but with the old version, that's why though it must have
been coming out of the build directory. 

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list