[Xastir] Quirks compiling Xastir on Centos6

Curt, WE7U curt.we7u at gmail.com
Fri May 18 13:25:26 EDT 2012


On Wed, 16 May 2012, David A. Ranch wrote:

> ImageMagick-6.5.4.  Once I installed that, the Oosm_tiled_mapnik map came 
> right up!  Woohoo!  I'll troubleshoot this tonight to see if it's something 
> specific to that one ImageMagick RPM or see if it's something directly in the 
> newer ImageMagick code but since there weren't any errors showing up, I don't 
> know where I should even start..   If this is an issue in the new ImageMagick 
> code, seems like this needs to be investigated and fixed.
>
> Can anyone give me some pointers on how to troubleshoot this silent issue?

It could be a bad package for IM, or it could be an IM package that had some compile-time parameters set that aren't compatible with Xastir.

For those kinds of cases I just install GM.  If problems with GM, I try IM.


> Reloading previous data (maybe with a faster decay algorithm) is something I 
> was looking for.  Does anyone else on the list know if this code (say with 
> the MySQL backend) is working?  Is there documentation on how to configure 
> Xastir to use the proper DB, credentials, etc?

You'd have to do searches back through the Xastir or Xastir-Dev mailing lists to find out.  I think you should be able to figure it out from that and perhaps from looking at comments in the source code.


> As a test, I did installed GraphicsMagick and recompile Xastir but the 
> ./configure script wasn't selecting GraphicsMagick as it's default.  Even 
> when I used --without-ImageMagick, Xastir's configure set the system to "No 
> ImageMagick / GraphicsMagick".  Maybe I need another CPPFLAGS section to find 
> it.  I'll try that out tonight.

You need both the GM and the GM-dev package (header files) for Xastir to pick it up.  You may also need to specify some options to configure if it's not looking in the correct directories where you installed it.


>>>   http://wiki.openstreetmap.org/wiki/TopOSM
>> 
>> Try creating a .geo file for it and test.
>
> Ok, I'll have to look through the email archives, etc. to see if this is 
> documented.  I have no clue how to do it.  Any pointers?

Just look at one of the current .geo files to see the format.  It should be easy to copy it to a newly-named file, tweak it a bit, then test.  The file will have to be down in the /usr/local/share/xastir/Maps/ directory tree somewhere, and indexed so that Xastir knows the .geo file is there.


> PS.  I updated my huge Centos / Hamshack documentation set to reflect this 
> new Xastir setup with Centos6 which might help other Linux users compile up 
> their own version of Xastir.  It's fairly complicated but it's all done 
> properly via RPMs.   I also made the xastir.spec file available (would be 
> nice if it could be put into the official Xastir sources) for other RPM 
> users.  I'd be more than happy to upload the Centos6 binaries if anyone would 
> find them useful as well.
>
>
>   http://www.trinityos.com/HAM/CentosDigitalModes/hampacketizing-centos.html#21.xastir-compile

I'm using CentOS quite a bit at work but I haven't done a test compile of Xastir on any of the servers recently.  I don't remember having to do all that much earlier to get Xastir running on CentOS though.

-- 
Curt, WE7U.        http://www.eskimo.com/~archer
APRS in Search and Rescue:  http://wetnet.net/~we7u/search_and_rescue.html



More information about the Xastir mailing list