Should be set correctly here:

https://github.com/gnuradio/gnuradio/blob/master/CMakeLists.txt#L250

Ron

On 7/19/21 3:52 PM, Ron Economos wrote:

That's weird. I am not setting -DGR_PREFDIR.

Ron

On 7/19/21 3:46 PM, wan wrote:
Hi Ron,

I didnt change the -DGR_PREFDIR flag, so for me it says

$ gnuradio-config-info  --prefsdir
/usr/local/etc/gnuradio/conf.d

Did you have to change that flag explicitly for your config file to be located in the prefix directory?



On Mon, 19 Jul 2021 at 17:22, Ron Economos <w...@comcast.net <mailto:w...@comcast.net>> wrote:

    Works okay here. What does gnuradio-config-info --prefsdir say?

    Ron

    On 7/19/21 12:53 PM, wan wrote:
    > Hello,
    >
    > According to the following wiki page
    > (https://wiki.gnuradio.org/index.php/Configuration_Files
    <https://wiki.gnuradio.org/index.php/Configuration_Files>
    > <https://wiki.gnuradio.org/index.php/Configuration_Files
    <https://wiki.gnuradio.org/index.php/Configuration_Files>>), gr
    > configuration files should be located in
    > ${prefix}/etc/gnuradio/conf.d. However, after I set the cmake flag
    > -DCMAKE_INSTALL_PREFIX = ${prefix},   I notice that
    > -DGR_PREFDIR=/usr/local/etc/gnuradio/conf.d.
    >
    > Should I manually set -DGR_PREFDIR=
    ${prefix}/etc/gnuradio/conf.d? If
    > so, it would be good to update the wiki to let people know to
    set this
    > flag.
    >
    > Regards,
    >
    > Wan

Reply via email to