Gnuradio/conf.d in the wrong prefix

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

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
[email protected]
Discuss-gnuradio Info Page


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

On Wed, Jan 30, 2013 at 8:05 AM, Martin B. (CEL)
[email protected]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