[Xastir] New Online Maps in Git (Canada & U.S.)
Tom Russo
russo at bogodyn.org
Thu Aug 18 13:24:46 PDT 2016
On Thu, Aug 18, 2016 at 12:26:33PM -0700, we recorded a bogon-computron collision of the <xastir at trinnet.net> flavor, containing:
>
> Hey Tom,
>
> > If it's not throwing errors at "make install" time, then I am out of ideas for where to look.
>
> Ok.. that's a good question. WHERE should those .geo files be
> installed? What I see is:
They should go in %pkgdatadir%/maps/Online and subdirectories of that.
In your case, since you're building an RPM and not doing a normal source
build/install, that's gonna be /usr/share/xastir/maps/Online/...
> $ find /usr/share/xastir | grep geo
> --
> ./scripts/inf2geo.pl
> ./scripts/ozi2geo.pl
> ./scripts/geopdf2gtiff.pl
> ./scripts/mapblast2geo.pl
> ./maps/Online/OSM_tiled_cycle.geo
> ./maps/Online/OSM_tiled_fosm.geo
> ./maps/Online/OSM_tiled_mapnik.geo
> ./config/OSM_geofabrik_roads.dbfawk
> ./config/OSM_geofabrik_waterways.dbfawk
> --
Yup, looks like something isn't right. Are these files dated the same as
your last install, or are they older? Are they installed by make install,
or by installing an RPM that you built?
> I don't see the new scripts in the installed
> /usr/share/xastir/maps/Online directory. Looking at the output of "make
> install", it doesn't look like they are being copied over:
> --
> . . .
> test -z
> "/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/maps"
> || /bin/mkdir -p
> "/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/maps"
> /usr/bin/install -c -m 644 worldhi.map CC_OpenStreetMap_logo.png
> CC_OpenStreetMap_txt.png
> '/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/maps'
> test -z
> "/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/maps/Online"
> || /bin/mkdir -p
> "/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/maps/Online"
> /usr/bin/install -c -m 644 OSM_tiled_cycle.geo OSM_tiled_mapnik.geo
> OSM_tiled_fosm.geo
> '/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/maps/Online'
> test -z
> "/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/sounds"
> || /bin/mkdir -p
> "/home/dranch/rpmbuild/BUILDROOT/xastir-2.0.9-3.20160809gitb4f6124d.el6.x86_64/usr/share/xastir/sounds"
> . . .
This takes me back to the thought that there is something wonky in your
set-up, and it's finding old stuff instead of updated code --- either that
it's accessing the wrong source tree, an outdated makefile, or some other
weirdness. I see the correct git SHA in your directory name, but clearly
something is not properly updated.
When I run make install from my build directory, I get this:
../Xastir/install-sh -c -d '/usr/local/share/xastir/maps'
/usr/bin/install -c -m 644 ../Xastir/worldhi.map ../Xastir/CC_OpenStreetMap_logo.png ../Xastir/CC_OpenStreetMap_txt.png '/usr/local/share/xastir/maps'
../Xastir/install-sh -c -d '/usr/local/share/xastir/maps/Online/nationalmap.gov'
/usr/bin/install -c -m 644 ../Xastir/Aerial.geo ../Xastir/Contours.geo ../Xastir/Hydrography.geo ../Xastir/ShadedRelief.geo ../Xastir/Topo1-10.geo ../Xastir/TopoRelief1-7.geo ../Xastir/Transportation.geo '/usr/local/share/xastir/maps/Online/nationalmap.gov'
../Xastir/install-sh -c -d '/usr/local/share/xastir/maps/Online'
/usr/bin/install -c -m 644 OSM_tiled_cycle.geo OSM_tiled_mapnik.geo OSM_tiled_fosm.geo '/usr/local/share/xastir/maps/Online'
../Xastir/install-sh -c -d '/usr/local/share/xastir/sounds'
/usr/bin/install -c -m 644 ../Xastir/placeholder '/usr/local/share/xastir/sounds'
You can see, it's trying to install the nationalmap and OSM maps right after
it installs the openstreetmap image, but before the OSM .geo files,
Are you trying to build this using a generic:
/path/configure --prefix=/usr
make
sudo make install
or are you trying to do this inside a script or automated RPM process? If
you're doing it inside some other process, can you try the bare, simple one
and see if that works by itself? That could help narrow down where this issue
is coming from.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
More information about the Xastir
mailing list