[Slackbuilds-users] Some necessary changes to build a newer version of gpsd

Max Miorim miorimmax at gmail.com
Tue Jun 22 02:31:44 UTC 2010


On Mon, Jun 21, 2010 at 10:38 PM, Niels Horn <niels.horn at gmail.com> wrote:
> Hi,
>
> To build the latest version of gpsd (2.94), some small changes to the
> SlackBuild are necessary:
>
> 1) Change to configure script for Slackware64
> ---------------------------------------------
> The configure script uses a "hack" to discover the installed version of libusb.
> It does this by looking for libusb-*.so in /usr/lib
> On Slackware64 this file resides in /usr/lib64 so it is never found
> and building fails.
>
> The following line in the SlackBuild (after unpacking the sources) solves it:
>
> sed "s|/usr/lib/libusb|/usr/lib$LIBDIRSUFFIX/libusb|" -i configure

Using pkg-config for this seems less hacky to me:

max at willcrashforsure:~$ pkg-config --modversion libusb
0.1.12

-- Max


More information about the SlackBuilds-users mailing list