# Gnuradio/conf.d in the wrong prefix

**URL:** <https://www.ruby-forum.com/t/gnuradio-conf-d-in-the-wrong-prefix/225791>\
**Category:** GNU Radio\
**Created:** [January 30, 2013, 5:53am UTC](https://www.ruby-forum.com/t/gnuradio-conf-d-in-the-wrong-prefix/225791 "2013-01-30T05:53:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSkonishi\_takurou\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bb73d2/32.png) [@SSkonishi\_takurou\_S](https://www.ruby-forum.com/u/SSkonishi_takurou_S)\
**Post date:** [January 30, 2013, 5:53am UTC](https://www.ruby-forum.com/t/gnuradio-conf-d-in-the-wrong-prefix/225791/1 "2013-01-30T05:53:35Z")

</div>

I configured gr 3.6.4 to install in my prefix /opt/usr, and I caught the  
installer putting the conf stuff in /usr/local anyways. I wasnt sure if  
this was the intention, since there was some ramblings about FHS, and  
/etc stuff

cmake ~/src/gnuradio/ -DCMAKE\_BUILD\_TYPE=Release  
-DCMAKE\_INSTALL\_PREFIX=/opt/usr/gr

The end of the make install including error:

> CMake Error at gnuradio-core/cmake\_install.cmake:38 (FILE):  
> file cannot create directory: /usr/local/etc/gnuradio/conf.d. Maybe need  
> administrative privileges.  
> Call Stack (most recent call first):  
> cmake\_install.cmake:47 (INCLUDE)

-josh

---

<div class="post-metadata">

**Author:** ![Josh\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8797f3/32.png) [@Josh\_B](https://www.ruby-forum.com/u/Josh_B)\
**Post date:** [January 30, 2013, 2:06pm UTC](https://www.ruby-forum.com/t/gnuradio-conf-d-in-the-wrong-prefix/225791/2 "2013-01-30T14:06:15Z")

</div>

Josh,

you need to set SYSCONFDIR separately from CMAKE\_INSTALL\_PREFIX.

MB

On Tue, Jan 29, 2013 at 10:52:30PM -0600, Josh B. wrote:

> > – Installing: /opt/usr/gr/include/gruel/swig/gr\_intrusive\_ptr.i  
> > file cannot create directory: /usr/local/etc/gnuradio/conf.d. Maybe need  
> > [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–  
Karlsruhe Institute of Technology (KIT)  
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.  
Research Associate

Kaiserstraße 12  
Building 05.01  
76131 Karlsruhe

Phone: +49 721 608-43790  
Fax: +49 721 608-46071  
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and  
National Laboratory of the Helmholtz Association

---

<div class="post-metadata">

**Author:** ![Josh\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8797f3/32.png) [@Josh\_B](https://www.ruby-forum.com/u/Josh_B)\
**Post date:** [January 30, 2013, 2:33pm UTC](https://www.ruby-forum.com/t/gnuradio-conf-d-in-the-wrong-prefix/225791/3 "2013-01-30T14:33:45Z")

</div>

On Wed, Jan 30, 2013 at 8:05 AM, Martin B. (CEL)  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> Josh,
> 
> you need to set SYSCONFDIR separately from CMAKE\_INSTALL\_PREFIX.
> 
> MB

SYSCONFDIR should default to ${CMAKE\_INSTALL\_PREFIX}/etc unless  
otherwise  
set. Most likely, it was already set somewhere else and you  
CMakeCache.txt  
file saw that and used the pre-set version. You’d have to explicitly set  
that variable now (or wipe away your cache file and reconfigure).

Tom
