Forum: GNU Radio gnuradio/conf.d in the wrong prefix

Posted by Josh Blum (Guest)
on 2013-01-30 05:53
(Received via mailing list)
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
Posted by Martin Braun (CEL) (Guest)
on 2013-01-30 14:06
(Received via mailing list)
Josh,

you need to set SYSCONFDIR separately from CMAKE_INSTALL_PREFIX.

MB

On Tue, Jan 29, 2013 at 10:52:30PM -0600, Josh Blum wrote:
> > -- Installing: /opt/usr/gr/include/gruel/swig/gr_intrusive_ptr.i
> >   file cannot create directory: /usr/local/etc/gnuradio/conf.d.  Maybe need
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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

Dipl.-Ing. Martin Braun
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
Posted by Tom Rondeau (Guest)
on 2013-01-30 14:33
(Received via mailing list)
On Wed, Jan 30, 2013 at 8:05 AM, Martin Braun (CEL) 
<martin.braun@kit.edu>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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.