[aprssig] xastir/cygwin compile failes on Print.h missing
Tapio Sokura
oh2kku at iki.fi
Wed Jan 7 02:52:56 EST 2009
Hi,
Since the xastir lists seem to be down, I'm asking here. I just updated
my cygwin to the latest version on windows xp (shouldn't have done it, I
know) and now xastir (current CVS) refuses to compile. Here's a snippet
from the end of a plain "./configure":
xastir 1.9.5 has been configured to use the following
options and external libraries:
MINIMUM OPTIONS:
ShapeLib (Vector maps) ................. : yes
RECOMMENDED OPTIONS:
GraphicsMagick/ImageMagick (Raster maps) : yes (ImageMagick)
pcre (Shapefile customization) ......... : yes
dbfawk (Shapefile customization) ....... : yes
rtree indexing (Shapefile speedups) .... : yes
map caching (Raster map speedups) ...... : yes
internet map retrieval ................. : yes (libcurl)
FOR THE ADVENTUROUS:
AX25 (Linux Kernel I/O Drivers) ........ : no
libproj (USGS Topos & Aerial Photos) ... : yes
GeoTiff (USGS Topos & Aerial Photos) ... : yes
Festival (Text-to-speech) .............. : no
GDAL/OGR (Obtuse map formats) .......... : no
GPSMan/gpsmanshp (GPS downloads) ....... : no
xastir will be installed in /usr/local/bin.
And here's the part that actually fails during "make":
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
-I/usr/include/ImageMagick
-DXASTIR_DATA_BASE=\"/usr/local/share/xastir\" -g -pipe -W -Wall
-Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -MT alert.o
-MD -MP -MF ".deps/alert.Tpo" -c -o alert.o alert.c; \
then mv -f ".deps/alert.Tpo" ".deps/alert.Po"; else rm -f
".deps/alert.Tpo"; exit 1; fi
In file included from /usr/include/Xm/XmAll.h:79,
from alert.c:308:
/usr/include/Xm/Print.h:28:34: X11/extensions/Print.h: No such file or
directory
In file included from /usr/include/Xm/XmAll.h:79,
from alert.c:308:
/usr/include/Xm/Print.h:40: error: parse error before "XPContext"
/usr/include/Xm/Print.h:43: error: parse error before '}' token
/usr/include/Xm/Print.h:61: error: parse error before "XPFinishProc"
make[3]: *** [alert.o] Error 1
I googled around for some keywords in this error message and found this:
http://www.cygwin.com/ml/cygwin-xfree/2008-11/msg00379.html . But that
doesn't really give a solution.. anybody ran into this before and has a
quick fix for this? I'd rather not trash my cygwin environment as I have
other stuff besides xastir there.
Tapio
More information about the aprssig
mailing list