[Xastir] compile errors

Tom Russo russo at bogodyn.org
Sat Dec 4 20:05:38 EST 2010


On Sun, Dec 05, 2010 at 08:21:59AM +0800, we recorded a bogon-computron collision of the <vk6fun at gmail.com> flavor, containing:
[...]
> checking for pj_init in -lproj... no
[...[
> gcc -DHAVE_CONFIG_H -I. -I../../..   -I../../../src/shapelib
> -I/usr/local/include -I/usr/X11R7/include
> -DXASTIR_DATA_BASE=\"/usr/share/xastir\"  -g -O2 -pipe -W -Wall
> -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT
> shpcentrd.o -MD -MP -MF .deps/shpcentrd.Tpo -c -o shpcentrd.o
> shpcentrd.c
> In file included from shpcentrd.c:79:
> shpgeo.h:93:22: error: proj_api.h: No such file or directory

The issue is that you have no proj library installed, and also do not have
shapelib/shapelib-dev installed and so the build system is attempting to 
build internal shapelib *and* all the "contrib" programs of internal shapelib.  

Unfortunately, the internal shapelib is not set up to build properly without
the proj.4 library.  Fixing this is not difficult, but nobody's done it yet. 

You have two choices to work around it:  install the proj.4 library and its
development headers so that internal shapelib builds properly, or install
your package management system's version of shapelib and its headers so that
our internal one doesn't get built.

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
 "The truth will set you free, but first it will piss you off."





More information about the Xastir mailing list