On Fri, May 23, 2014 at 11:28 PM, Ron Economos <[email protected]> wrote:
> Chose an install directory that makes sense
> for you. /opt works well since it has the correct
> permissions.
>
> cd gnuradio
> mkdir build
> cd build
> cmake -DCMAKE_INSTALL_PREFIX=/opt/gnuradio ..
> make
> sudo make install
>
> This will build GnuRadio and install it in /opt/gnuradio
>
Will this later cause problem with OOT created with earlier version of
gr_modtool?
It seems that the "/usr/local" has been "hard-coded" into some files of the
OOT, as shown below.
Hence the OOT installation may fail to put all necessary files correctly
into "/opt/gnuradio".
user1@pc1: ~/gnuradio/gr-mymodule1 $ grep -R /usr/local
cmake/Modules/FindGnuradioRuntime.cmake: PATHS /usr/local/include
cmake/Modules/FindGnuradioRuntime.cmake: PATHS /usr/local/lib
cmake/Modules/FindGnuradioRuntime.cmake: /usr/local/lib64
cmake/Modules/FindCppUnit.cmake: /usr/local/include
cmake/Modules/FindCppUnit.cmake: /usr/local/lib
cmake/Modules/FindFFTW3.cmake: PATHS /usr/local/include
cmake/Modules/FindFFTW3.cmake: PATHS /usr/local/lib
cmake/Modules/FindFFTW3.cmake: PATHS /usr/local/lib
cmake/Modules/activecatConfig.cmake: /usr/local/include
cmake/Modules/activecatConfig.cmake: /usr/local/lib
cmake/Modules/activecatConfig.cmake: /usr/local/lib64
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio