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

Niels Horn niels.horn at gmail.com
Tue Jun 22 01:38:54 UTC 2010


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

2) Erroneous location of egg-info file
--------------------------------------
The Makefile somehow messes up the location of the Python egg-info file.
This is solved by changing the "make install" line in the SlackBuild from:

make install-strip DESTDIR=$PKG

to

make --no-print-directory install-strip DESTDIR=$PKG



I'm copying the maintainer of the SlackBuild, so that he can apply
these changes in the next submission.


Niels Horn
Rio de Janeiro, RJ
Brasil
site: www.nielshorn.net
e-mail: niels.horn at gmail.com


More information about the SlackBuilds-users mailing list