discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Debian package grc_setup_freedesktop problems


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Debian package grc_setup_freedesktop problems
Date: Thu, 14 Jun 2012 15:37:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]