On Wed, Jan 30, 2013 at 8:05 AM, Martin Braun (CEL) <martin.br...@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




> On Tue, Jan 29, 2013 at 10:52:30PM -0600, Josh Blum wrote:
> > 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:
> >
> > > -- Installing: /opt/usr/gr/include/gruel/swig/gr_intrusive_ptr.i
> > > -- Installing: /opt/usr/gr/include/gruel/swig/pmt_swig.i
> > > -- Installing: /opt/usr/gr/include/gruel/swig/gruel_common.i
> > > -- Installing: /opt/usr/gr/include/gruel/swig/pmt_swig_doc.i
> > > -- Installing:
> /opt/usr/gr/lib64/python2.6/site-packages/gruel/__init__.py
> > > -- Installing:
> /opt/usr/gr/lib64/python2.6/site-packages/gruel/__init__.pyc
> > > -- Installing:
> /opt/usr/gr/lib64/python2.6/site-packages/gruel/__init__.pyo
> > > -- Installing:
> /opt/usr/gr/lib64/python2.6/site-packages/gruel/pmt/__init__.py
> > > -- Installing:
> /opt/usr/gr/lib64/python2.6/site-packages/gruel/pmt/__init__.pyc
> > > -- Installing:
> /opt/usr/gr/lib64/python2.6/site-packages/gruel/pmt/__init__.pyo
> > > 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
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > 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
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to