# Problem installing

**URL:** <https://community.zeek.org/t/problem-installing/1767>\
**Category:** Development\
**Tags:** development\
**Created:** [December 14, 2010, 9:42pm UTC](https://community.zeek.org/t/problem-installing/1767 "2010-12-14T21:42:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [December 14, 2010, 9:42pm UTC](https://community.zeek.org/t/problem-installing/1767/1 "2010-12-14T21:42:14Z")

</div>

When I do "sudo make install" I'm getting these errors (from the master branch in git with --enable-cluster)...

CMake Warning at aux/broccoli/cmake\_install.cmake:33 (message):  
&nbsp;&nbsp;Skipping install of /bro/etc/broccoli.conf to avoid overwrite of existing  
&nbsp;&nbsp;config file  
Call Stack (most recent call first):  
&nbsp;&nbsp;cmake\_install.cmake:35 (INCLUDE)

-- Up-to-date: /bro/bin/broccoli-config  
-- Installing: /bro/lib/libbroccoli.3.0.0.dylib  
-- Up-to-date: /bro/lib/libbroccoli.3.dylib  
-- Up-to-date: /bro/lib/libbroccoli.dylib  
-- Up-to-date: /bro/include/broccoli.h  
-- Up-to-date: /bro/lib/broctl/broccoli.py  
-- Installing: /bro/lib/broctl/broccoli.pyc  
-- Installing: /bro/lib/broctl/\_broccoli\_intern.so  
Listing BroControl ...  
Can't list BroControl  
-- Up-to-date: /bro/bin/broctl  
CMake Error at aux/broctl/cmake\_install.cmake:47 (FILE):  
&nbsp;&nbsp;file INSTALL cannot find  
&nbsp;&nbsp;"/Users/seth/bro/bro.git/build/aux/broctl/BroControl".  
Call Stack (most recent call first):  
&nbsp;&nbsp;cmake\_install.cmake:36 (INCLUDE)

make: \*\*\* [install] Error 1  
[seth@Blake build (master)]$

&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![Jonathan\_Siwek](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@Jonathan\_Siwek](https://community.zeek.org/u/Jonathan_Siwek)\
**Post date:** [December 14, 2010, 10:34pm UTC](https://community.zeek.org/t/problem-installing/1767/2 "2010-12-14T22:34:25Z")

</div>

> file INSTALL cannot find  
> "/Users/seth/bro/bro.git/build/aux/broctl/BroControl".

At "make install" time, this is basically what should happen:

1) cp BroControl \{CURRENT\_BINARY\_DIR\}/BroControl 2\) compile Python sources in {CURRENT\_BINARY\_DIR}/BroControl  
3) install ${CURRENT\_BINARY\_DIR}/BroControl

But it looks like it skipped straight to #3 and I don't understand why. Does that directory really not exist? I wasn't able to reproduce this error; can you give explicit steps/commands w/ CMake version and operating system?

- Jon

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [December 15, 2010, 3:11am UTC](https://community.zeek.org/t/problem-installing/1767/3 "2010-12-15T03:11:28Z")

</div>

As I was going through documenting everything you asked for, I found the problem. I installed the binary copy of cmake for MacOS X and it's installed in the Applications directory with a symlink to /usr/bin/.

/Applications/CMake 2.8-2.app/Contents/bin/cmake

The space in the path makes things not work so well. 🙂

&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![Jonathan\_Siwek](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@Jonathan\_Siwek](https://community.zeek.org/u/Jonathan_Siwek)\
**Post date:** [December 15, 2010, 5:00pm UTC](https://community.zeek.org/t/problem-installing/1767/4 "2010-12-15T17:00:20Z")

</div>

> I found the problem. I installed the binary copy of cmake for MacOS X and it's  
> installed in the Applications directory with a symlink to /usr/bin/.
> 
> /Applications/CMake 2.8-2.app/Contents/bin/cmake
> 
> The space in the path makes things not work so well. 🙂

Ah ok, that makes sense to me now. At "make install" time I made the copy of the BroControl directory with `\{CMAKE\_COMMAND\} \-E copy\_directory\` instead of \`cp\` because I thought that would be the more &#39;portable&#39; way to do things, but it seems I need to add some quotes around {CMAKE\_COMMAND} so that spaces in the path get escaped.

I'll fix it on fastpath.

- Jon

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [December 15, 2010, 9:12pm UTC](https://community.zeek.org/t/problem-installing/1767/5 "2010-12-15T21:12:21Z")

</div>

> add some quotes around ${CMAKE\_COMMAND} so that spaces in the path get escaped.

I never would have expected to encounter spaces there either. 😛

> I'll fix it on fastpath.

Thanks!

&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![robin](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/robin/32/599_2.png) [@robin](https://community.zeek.org/u/robin)\
**Post date:** [December 17, 2010, 7:20am UTC](https://community.zeek.org/t/problem-installing/1767/6 "2010-12-17T07:20:08Z")

</div>

I'll merge in it, but for the future, please create new branches  
when doing such changes across all (or many) of the repositories.  
That makes merging easier as then I don't need to pay attention what  
else is already in fastpath but not yet merged.

Robin

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:39pm UTC](https://community.zeek.org/t/problem-installing/1767/7 "2022-05-06T15:39:22Z")

</div>

Closed on May 6, 2022, 3:39pm UTC


