On 06/14/2012 03:30 PM, Mark Cottrell wrote:
> I am trying to build a gnuradio debian package in ubuntu 12.04, but have
> been having some issues with the postinst and prerm scripts trying to call
> grc_setup_freedesktop.
> 
> Looking at grc/freedesktop/CMakeLists.txt, grc_setup_freedesktop is only
> installed if you have xdg-utils installed.  However, the postinst and prerm
> scripts attempt to run it whether xdg-utils is installed or not.  The other

Yea, I can see that being an issue. There probably should be a
conditional check for the utility, or require the xdg-utils package as a
dependency.

> issue is that even when xdg-utils is installed, grc_setup_freedesktop is
> installed to /usr/libexec, but the postinst and prerm scripts are looking
> for it in /usr/local/libexec.  Am I doing something wrong here or is the
> cmake config slightly wrong for this stuff?
> 

It looks in the install prefix, you should set -DCMAKE_INSTALL_PREFIX=/usr

-josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to