A friend of mine is trying to get xastir 1.9.5 going on Debian squeeze.. Ive 
directed him to some of the Howtos for debian but I must admit they are 
impossible to find .. I went to the xastir howto page but then where do you go 
? They are not obvious but I know they exist..
http://www.xastir.org/wiki/index.php/HowTos   I could not find any links to 
Debian HowTos which is really frustrating considering all the issues we have 
had with GM and IM and maps ..
I found this page with Google 
http://www.xastir.org/wiki/index.php/HowTo:Ubuntu/Debian#Introduction
Is this all there is ?
Anyway I will stop the rant and heres the problem.

See his output from the make below.

Anyway, as the subject infers, I am currently trying to compile Xastir-1.9.6 
with Debian Squeeze.
I have had problems with tiff development files.  I get the following errors 
when running make:

Configuration

xastir 1.9.6 has been configured to use the following
options and external libraries:

MINIMUM OPTIONS:
  ShapeLib (Vector maps) ................. : yes

RECOMMENDED OPTIONS:
  GraphicsMagick/ImageMagick (Raster maps) : yes (GraphicsMagick)
  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) ........ : yes
  libproj (USGS Topos & Aerial Photos) ... : yes
  GeoTiff (USGS Topos & Aerial Photos) ... : yes
  Festival (Text-to-speech) .............. : yes
  GDAL/OGR (Obtuse map formats) .......... : yes
  GPSMan/gpsmanshp (GPS downloads) ....... : yes

xastir will be installed in /usr/local/bin.
Type 'make' to build Xastir (Use 'gmake' instead on some systems).
jack:/usr/local/src/xastir# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/xastir-1.9.6'
Making all in src
make[2]: Entering directory `/usr/local/src/xastir-1.9.6/src'
Making all in rtree
make[3]: Entering directory `/usr/local/src/xastir-1.9.6/src/rtree'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/xastir-1.9.6/src/rtree'
make[3]: Entering directory `/usr/local/src/xastir-1.9.6/src'
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/GraphicsMagick 
-I/usr/local/include -DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g -O2 
-pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter 
-pthread -MT map_tif.o -MD -MP -MF .deps/map_tif.Tpo -c -o map_tif.o map_tif.c
map_tif.c:88:21: error: xtiffio.h: No such file or directory
map_tif.c:91:27: error: geo_normalize.h: No such file or directory
map_tif.c:375: error: expected ')' before '*' token
map_tif.c: In function 'draw_geotiff_image_map':
map_tif.c:477: error: 'TIFF' undeclared (first use in this function)
map_tif.c:477: error: (Each undeclared identifier is reported only once
map_tif.c:477: error: for each function it appears in.)
map_tif.c:477: error: 'tif' undeclared (first use in this function)
map_tif.c:477: error: expected expression before ')' token
map_tif.c:478: error: 'GTIF' undeclared (first use in this function)
map_tif.c:478: error: 'gtif' undeclared (first use in this function)
map_tif.c:478: error: expected expression before ')' token
map_tif.c:481: error: 'uint32' undeclared (first use in this function)
map_tif.c:481: error: expected ';' before 'width'
map_tif.c:482: error: expected ';' before 'height'
map_tif.c:483: error: 'uint16' undeclared (first use in this function)
map_tif.c:483: error: expected ';' before 'bitsPerSample'
map_tif.c:484: error: expected ';' before 'samplesPerPixel'
map_tif.c:486: error: expected ';' before 'rowsPerStrip'
map_tif.c:487: error: expected ';' before 'planarConfig'
map_tif.c:488: error: expected ';' before 'photometric'
map_tif.c:490: error: 'GTIFDefn' undeclared (first use in this function)
map_tif.c:490: error: expected ';' before 'defn'
map_tif.c:492: error: expected ';' before 'row'
map_tif.c:494: error: 'red_orig' undeclared (first use in this function)
map_tif.c:494: error: 'green_orig' undeclared (first use in this function)
map_tif.c:494: warning: left-hand operand of comma expression has no effect
map_tif.c:494: error: 'blue_orig' undeclared (first use in this function)
map_tif.c:494: warning: left-hand operand of comma expression has no effect
map_tif.c:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'column'
map_tif.c:563: error: 'column' undeclared (first use in this function)
map_tif.c:582: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'current_left'
map_tif.c:582: error: 'current_left' undeclared (first use in this function)
map_tif.c:583: error: expected ';' before 'current_right'
map_tif.c:584: error: expected ';' before 'current_line_width'
map_tif.c:586: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'column_offset'
map_tif.c:586: error: 'column_offset' undeclared (first use in this function)
map_tif.c:590: error: expected ';' before 'qty'
map_tif.c:764: warning: implicit declaration of function 'XTIFFOpen'
map_tif.c:772: warning: implicit declaration of function 'GTIFNew'
map_tif.c:776: warning: implicit declaration of function 'XTIFFClose'
map_tif.c:787: warning: implicit declaration of function 'GTIFDirectoryInfo'
map_tif.c:809: warning: implicit declaration of function 'GTIFGetDefn'
map_tif.c:809: error: 'defn' undeclared (first use in this function)
map_tif.c:811: warning: implicit declaration of function 'GTIFPrintDefn'
map_tif.c:819: warning: implicit declaration of function 'GTIFKeyGet'
map_tif.c:819: error: 'ProjectedCSTypeGeoKey' undeclared (first use in this 
function)
map_tif.c:825: warning: implicit declaration of function 'TIFFGetField'
map_tif.c:825: error: 'TIFFTAG_IMAGEWIDTH' undeclared (first use in this 
function)
map_tif.c:825: error: 'width' undeclared (first use in this function)
map_tif.c:830: error: 'TIFFTAG_IMAGELENGTH' undeclared (first use in this 
function)
map_tif.c:830: error: 'height' undeclared (first use in this function)
map_tif.c:839: error: 'TIFFTAG_IMAGEDESCRIPTION' undeclared (first use in this 
function)
map_tif.c:888: warning: implicit declaration of function 'GTIFImageToPCS'
map_tif.c:896: warning: implicit declaration of function 'GTIFProj4ToLatLong'
map_tif.c:899: warning: implicit declaration of function 'GTIFDecToDMS'
map_tif.c:899: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:900: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:928: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:929: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:956: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:957: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:984: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:985: warning: format '%s' expects type 'char *', but argument 3 has 
type 'int'
map_tif.c:1085: warning: implicit declaration of function 'GTIFGetDatumInfo'
map_tif.c:1237: warning: implicit declaration of function 'GTIFFree'
map_tif.c:1312: error: 'TIFFTAG_PHOTOMETRIC' undeclared (first use in this 
function)
map_tif.c:1312: error: 'photometric' undeclared (first use in this function)
map_tif.c:1313: error: 'PHOTOMETRIC_RGB' undeclared (first use in this function)
map_tif.c:1316: error: 'TIFFTAG_ROWSPERSTRIP' undeclared (first use in this 
function)
map_tif.c:1316: error: 'rowsPerStrip' undeclared (first use in this function)
map_tif.c:1321: error: 'TIFFTAG_BITSPERSAMPLE' undeclared (first use in this 
function)
map_tif.c:1321: error: 'bitsPerSample' undeclared (first use in this function)
map_tif.c:1326: error: 'TIFFTAG_SAMPLESPERPIXEL' undeclared (first use in this 
function)
map_tif.c:1326: error: 'samplesPerPixel' undeclared (first use in this function)
map_tif.c:1331: error: 'TIFFTAG_PLANARCONFIG' undeclared (first use in this 
function)
map_tif.c:1331: error: 'planarConfig' undeclared (first use in this function)
map_tif.c:1384: error: 'PHOTOMETRIC_PALETTE' undeclared (first use in this 
function)
map_tif.c:1385: error: 'TIFFTAG_COLORMAP' undeclared (first use in this 
function)
map_tif.c:1387: warning: implicit declaration of function 'TIFFError'
map_tif.c:1387: warning: implicit declaration of function 'TIFFFileName'
map_tif.c:1482: warning: implicit declaration of function 
'my_GTIFProj4FromLatLong'
map_tif.c:1488: warning: implicit declaration of function 'GTIFPCSToImage'
map_tif.c:1919: error: 'PHOTOMETRIC_MINISBLACK' undeclared (first use in this 
function)
map_tif.c:1936: error: 'PHOTOMETRIC_MINISWHITE' undeclared (first use in this 
function)
map_tif.c:1979: warning: implicit declaration of function 'TIFFScanlineSize'
map_tif.c:2400: error: 'TIFFTAG_GEOPIXELSCALE' undeclared (first use in this 
function)
map_tif.c:2400: error: 'qty' undeclared (first use in this function)
map_tif.c:2541: error: 'row' undeclared (first use in this function)
map_tif.c:2591: error: 'current_right' undeclared (first use in this function)
map_tif.c:2604: error: 'current_line_width' undeclared (first use in this 
function)
map_tif.c:2655: warning: implicit declaration of function 'TIFFReadScanline'
make[3]: *** [map_tif.o] Error 1
make[3]: Leaving directory `/usr/local/src/xastir-1.9.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/xastir-1.9.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/xastir-1.9.6'
make: *** [all] Error 2
jack:/usr/local/src/xastir# 

I have installed all the dev files I can think of, and others just in case. I 
have all the 'yes' shown in configure
however, no luck..  It's pissing me off !!  I have managed to get OGR and GDAL 
from the source site and compiled them
okay on my system.  I have got the tiff libraries also compiled in, with 
nothing changing for xastir development.

Any ideas?  Help would be greatly appreciated.

Regards,

Stef Daniels 
VK5HSX


Any ideas then what goes on there with those errors folks ?



Tony Hunt  VK5AH
_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to