[Xastir] Mandriva 2008.1

Dexter N Muir dexy at ihug.co.nz
Tue Jul 8 19:29:56 EDT 2008


Given a fresh install of 2008.1, using KDE:

Source .tgz extracted to directory xastir, terminal opened there

 ./configure
 
 Failure, looking for Motif

 install lesstif (liblesstif-devel) as above

 ./configure

 looks OK, but can't find or use ImageMagick

 make / su / make install works, and xastir runs, but no raster maps.

   Tried GraphicsMagick instead (1.2.3 from source code, no rpm)
   ./configure looks OK, but only static libs. Try anyway...
   'make' fails, needing 'EXTERN.h'
at /usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE
   What gives here?

   Back to ImageMagick (this time from source 6.4.1)
   ./configure looks OK, but
   'make' fails, needing 'EXTERN.h' same as above
   search reveals this is part of perl-devel-5.10.0-13, so install as
above
   ./configure looks OK, and this time also shared libs! Hopeful!
   make, su, make install OK, 'display' works!

 Back to xastir

 ./configure still can't find or use ImageMagick
 - libmagick-devel does not seem to be there. See 6. above.

   After several tries, I investigated 6.3.8.9 and 10.7.0 - they both
seemed to provide the same files, but 6.3.8.9 is putting some of them in
a different place.

>From the xastir HOWTO-Mandriva:

KDE, Configure Your Computer  -  log in as root

Software Management appears, select "Configure media sources for install
and update"

Main (check both enabled and updates)
Main Updates (check both enabled and updates)
Contrib (check enabled)
Contrib Updates (check both enabled and updates)
Non-free (check enabled)
Non-free Updates (check both enabled and updates)

If Updates not shown, use ADD button, select a source

If any of the above are not checked, check them, and select yes if
prompted to update.

 Add Libraries

1. Back at the main software management screen in rpmdrake, search for
the following packages and mark them for installation if they are not
already shown to be installed. Note: you do not have to enter the entire
package name in the search.

gcc         4.2.3      --> put in 4.3.0
make        3.81
automake    1.10.1
autoconf    2.61
cvs         1.12.13

2. After all of the above are selected, click the apply button to go
ahead and download/install them. Other packages will typically be
installed as dependencies and you may be prompted if it is OK. Click
YES/OK - whatever it takes to continue to install the required packages.
This first set of packages consists of compilers, tools, etc. to be able
to download and compile XASTIR.

3. Search for the following package, mark it for installation, and
install it by selecting Apply. 

 libstdc++6-devel     --> 4.2.3-6

4. Search for the following package, mark it for installation, and
install it by selecting Apply. Note: This package had many dependencies,
so this author decided it best to install it by itself along with its
dependent packages.

 libxorg-x11-devel    7.2.0

5. Search for the following set of packages, mark them for installation,
and install them by selecting Apply. Note: The first 4 are required for
printing from XASTIR, the 5th, OpenMotif, is required, and libax25 is
optional (required for I-Gating).

 ImageMagick      6.3.8.9
 gvfs             0.2.2m - is this it? also installed libgvfs-devel and
libgvfs0
 libxp6           1.0.0    (and -devel)
 libopenmotif4    2.3.0    (and -devel)
 libax25 (no package - built from source? How many other libs and
packages req'd? fortunately optional) (not tried)

6. Search for the following packages, mark them for installation, and
install them by selecting Apply. Note: the packages below are not
absolutely required, but they are highly recommended.

 libmagick-devel 6.3.8.9         10.7.0 from 2008 distro will not select
                                 - unsatisfied djvulibre  (too new?)
 libcurl4 (no -devel) 7.18.0
 libshapelib1-devel - Not present - shapelib-1.2.8-1.i586 cannot be
selected (due to unsatisfied PROJ.4[>= 4.4.1])
 libpcre-devel 7.6
 libdb4.6-devel 4.6.21

7. Optionally search for the following packages, mark them for
installation, and install them by selecting Apply. Note: the first pair
enables support for geotiff maps, the 2nd pair enables XASTIR's limited
GDAL support, and the 3rd pair enables text to speech.

 libproj0-devel - No package -PROJ 4.4.8 installed - but still won't
allow shapelib!
 libgeotiff1-devel - No package
 libpq8.3_5 8.3.1
 libgdal1-devel - No package
 festvox-kedlpc8k 1.4.3 (option - not selected)
 festival (n -devel) 1.96 (option - not selected)

        (Didn't try any of these)


Now,

 ./configure: 

options and external libraries:

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

 RECOMMENDED OPTIONS:
   GraphicsMagick/ImageMagick (Raster maps) : no
   pcre (Shapefile customization) ......... : yes
   dbfawk (Shapefile customization) ....... : yes
   rtree indexing (Shapefile speedups) .... : yes
   map caching (Raster map speedups) ...... : yes
   internet map retrieval ................. : yes (wget)

 FOR THE ADVENTUROUS:
   AX25 (Linux Kernel I/O Drivers) ........ : no
   libproj (USGS Topos & Aerial Photos) ... : no
   GeoTiff (USGS Topos & Aerial Photos) ... : no
   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 xastir runs, but still no raster maps.

Summary:

 libmagick-devel 6.3.8.9 puts files where they can't be found.
                 10.7.0 from 2008 distro will not select - unsatisfied
djvulibre
 djvulibre is installed, but is probably too new for 10.7.0 to detect.

   Where do I go from here?




-- 
Dexter N Muir <dexy at ihug.co.nz>
smallTRONICS




More information about the Xastir mailing list