Discussion:
Package tinfo was not found in the pkg-config search path.
Klaus Klein
2012-01-03 00:10:48 UTC
Permalink
Hi Folks,

I just tried to compile gpsd 3.3 on a amd64 cpu and ran into the "Package tinfo was not found in the pkg-config search path." issue.

The only reference to the later mentioned PKG_CONFIG_PATH is within the SConstruct file:
=> 'PKG_CONFIG_PATH', # Set .pc file directory in a crossbuild

I don't think I want to attempt a crossbuild. 8-O

Is there any solution to this issue??

Rgds,
Klaus
Eric S. Raymond
2012-01-10 17:25:34 UTC
Permalink
Post by Klaus Klein
I just tried to compile gpsd 3.3 on a amd64 cpu and ran into the "Package tinfo was not found in the pkg-config search path." issue.
=> 'PKG_CONFIG_PATH', # Set .pc file directory in a crossbuild
I don't think I want to attempt a crossbuild. 8-O
Is there any solution to this issue??
You should have read the build instructions. I quote:

On some recent versions of Ubuntu (notably 11.10) there is a packaging
defect that may cause your build to blow up in SCons. It's a missing
package info file for the tinfo library. To fix this, install the file
packaging/tinfo.pc in /usr/lib/pkgconfig/tinfo.pc.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Klaus Klein
2012-01-12 16:02:50 UTC
Permalink
Post by Eric S. Raymond
Post by Klaus Klein
I just tried to compile gpsd 3.3 on a amd64 cpu and ran into the "Package tinfo was not found in the pkg-config search path." issue.
=> 'PKG_CONFIG_PATH', # Set .pc file directory in a crossbuild
I don't think I want to attempt a crossbuild. 8-O
Is there any solution to this issue??
On some recent versions of Ubuntu (notably 11.10) there is a packaging
defect that may cause your build to blow up in SCons. It's a missing
package info file for the tinfo library. To fix this, install the file
packaging/tinfo.pc in /usr/lib/pkgconfig/tinfo.pc.
Hmm..., I thought I read the build instructions.
At leat I read 'build.txt' which was provided with gpsd-3.3.tar.gz from 29-Oct-2011, downloaded from http://download-mirror.savannah.gnu.org/releases/gpsd/.
I somehow can't find the text/information you quoted within any file provided by gps-3.3.tar.gz
Post by Eric S. Raymond
Under Ubuntu, the ncurses package you want is libncurses5-dev.
Depending on how your distribution packages ncurses you may also require libtinfo5, a separate terminfo library.
Nevertheless, libncurses5-dev, libtinfo5 and libtinfo-dev are installed on this system.
Also, reading through your quotation, I somehow still fail to find the file "packaging/tinfo.pc".

Could you pls. assist me on this?

Cheers,
Klaus
Eric S. Raymond
2012-01-12 16:53:53 UTC
Permalink
Post by Klaus Klein
Also, reading through your quotation, I somehow still fail to find the file "packaging/tinfo.pc".
Could you pls. assist me on this?
Look in the 3.4 release tarball I just shipped.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Bradley Allen
2012-01-12 19:24:59 UTC
Permalink
Great! i just downloaded the 3.4 release and typed in 'scons' and it
now compiles fine past the part asking for tinfo, great job!

but at the end, i get a compile error, missing python.h like before,
but a python 'development' package is installed. Which is the
preferred package? I installed from the linux software update
application, and installed a few different choices.

Which python is best?

thanks
Brad

[from terminal build]
D_GNU_SOURCE -O2 -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
-Wall -Wstrict-prototypes -I/usr/include/python2.7 gpsclient.c
gpsclient.c:7:20: fatal error: Python.h: No such file or directory
compilation terminated.
scons: *** [gpsclient-py_2_7_2_final_0.so] Error 1
scons: building terminated because of errors.
***@steve-p6787c:~/Downloads/gpsd-3.4$ python
Python 2.7.2+ (default, Oct 4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Post by Eric S. Raymond
Post by Klaus Klein
Also, reading through your quotation, I somehow still fail to find the
file "packaging/tinfo.pc".
Could you pls. assist me on this?
Look in the 3.4 release tarball I just shipped.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
_______________________________________________
Gpsd-users mailing list
https://lists.berlios.de/mailman/listinfo/gpsd-users
--
Bradley Rogers
Associate Specialist
FiRST Testbed
Department of Geography
4839 Ellison Hall
UC Santa Barbara
Santa Barbara, CA 93106-4060
(805) 755-4908 office - primary
(805) 308-4183 office
(805) 325-3038 mobile
Loading...