# Cmake errors on first attempt with master branch

**URL:** <https://www.ruby-forum.com/t/cmake-errors-on-first-attempt-with-master-branch/214798>\
**Category:** GNU Radio\
**Created:** [December 12, 2011, 5:41pm UTC](https://www.ruby-forum.com/t/cmake-errors-on-first-attempt-with-master-branch/214798 "2011-12-12T17:41:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [December 12, 2011, 5:41pm UTC](https://www.ruby-forum.com/t/cmake-errors-on-first-attempt-with-master-branch/214798/1 "2011-12-12T17:41:55Z")

</div>

Are errors expected on the first attempt of cmake or could the errors  
indicate an underlying dependency issue? I have other build issues and  
I’m trying to rule out all the possibilities.

When I first attempt cmake I get errors:

– Using install prefix: /usr/local  
– Building for version: 3.5.1git-11-gfc6151d4 / 3.5.1git  
– Configuring incomplete, errors occurred!

If I simply run cmake again it finishes without complaint:

– Using install prefix: /usr/local  
– Building for version: 3.5.1git-11-gfc6151d4 / 3.5.1git  
– Configuring done  
– Generating done  
– Build files have been written to: /home/gr/source/git/gnuradio/build

I’m working off the master branch (just pulled the latest, though I’ve  
seen this on each version I’ve used in the last week):

$ git status

# On branch master

nothing to commit (working directory clean)  
[jrford@dodeca gnuradio]$ git show  
commit fc6151d4516ee86b697602014b83fb08a88c30f0  
Merge: 89f934b fa161e1  
Author: Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Sun Dec 11 23:01:34 2011 -0500

Merge remote-tracking branch ‘jblum/cmake\_qtgui\_fix’

I’m on RHEL 5 x86\_64:

$ cat /proc/version

Linux version 2.6.18-274.3.1.el5  
(removed\_email\_address@domain.invalid) (gcc version 4.1.2 20080704 (Red  
Hat  
4.1.2-51)) #1 SMP Fri Aug 26 18:49:02 EDT 2011

$ lsb\_release -i -r

Distributor ID: RedHatEnterpriseClient

Release: 5.7  
This is the command line I’m using with cmake (gotta point at the up to  
date versions of some dependencies instead of the RHEL built ins):cmake  
-DPYTHON\_EXECUTABLE=/usr/bin/python26  
-DBOOST\_INCLUDEDIR=/usr/include/boost141  
-DBOOST\_LIBRARYDIR=/usr/lib64/boost141  
-DSWIG\_EXECUTABLE=/usr/share/swig/2.0.4/bin/swig …/  
Thanks for any insight.  
Justin

---

<div class="post-metadata">

**Author:** ![justin\_f](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@justin\_f](https://www.ruby-forum.com/u/justin_f)\
**Post date:** [December 12, 2011, 5:45pm UTC](https://www.ruby-forum.com/t/cmake-errors-on-first-attempt-with-master-branch/214798/2 "2011-12-12T17:45:37Z")

</div>

On 12/12/2011 08:40 AM, Justin F. wrote:

> Are errors expected on the first attempt of cmake or could the errors indicate  
> an underlying dependency issue? I have other build issues and I’m trying to rule  
> out all the possibilities.
> 
> When I first attempt cmake I get errors:
> 
> – Using install prefix: /usr/local  
> – Building for version: 3.5.1git-11-gfc6151d4 / 3.5.1git  
> – Configuring incomplete, errors occurred!

Cant tell. You gotta attach the whole verbose. -josh

---

<div class="post-metadata">

**Author:** ![justin\_f](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@justin\_f](https://www.ruby-forum.com/u/justin_f)\
**Post date:** [December 13, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/cmake-errors-on-first-attempt-with-master-branch/214798/3 "2011-12-13T16:23:01Z")

</div>

On 12/12/2011 09:59 AM, Justin F. wrote:

> > Cant tell. You gotta attach the whole verbose. -josh
> 
> The output file and what I hope are the verbose you’re looking for are attached.  
> If I’ve misunderstood your request I’ll be happy to send other cmake output.

Well that looks like the problem. So, I didnt see that code in my  
findboost.cmake. Which means either you have a findboost with a bug,  
and/or this is a code path that does not get exercised much but is now  
because you are manually setting the library/include dir to something  
custom. I attached the findboost.cmake from my system in case that  
helps.

-Josh
