[Xastir] Re: built-in shapelib (was :Better and/or Easier Way to Get Xastir on Windows)
Tom Russo
russo at bogodyn.org
Mon Nov 13 21:11:35 EST 2006
On Mon, Nov 13, 2006 at 07:02:02PM -0600, we recorded a bogon-computron collision of the <jdw at eng.uah.edu> flavor, containing:
> OK, this is weird.
>
> First, it compiles fine now, and dbfawk compiles and works.
>
> When I bring it up all looks OK. When I zoom in, though, I am
> suddenly in Briscoe County not far from the city of Mena. Only
> problem is, there is no Briscoe county or city names Mena in the
> state, much less near me. I look at where I grew up in TN at the
> edge of the Cumberland Plateau, and as I zoom in Grand Canyon
> National Park appears.
>
> These maps have been working fine for a couple of years. Did a cp -r
> to get them into my test directory.
>
> what the heck?????
Beats me. This is not something that the difference between shared library
and static linked library versions should be responsible for.
WHen you say you did a cp -r to your "test directory" do you mean that your
new Xastir build is looking for maps in a different place than your old? That
is almost certainly the reason for the difference.
If I were you, I'd just put your old /usr/local back where it was, and rebuild
xastir with internal shapelib by using "--without-shapelib" instead of trying
to hide the external shapelib and all the /usr/local stuff. When you
specify "--without-shapelib" now, configure doesn't even look for a system-wide
installation, and always uses our internal version. You're best off doing this
by having two different build directories and using a "--program-prefix".
See README.CVS for details.
If you reduce the difference between versions to only the static-linked vs.
dynamic linked shapelib, then I'm sure you'll see the anomalies you're
describing go away. They are too bizarre to be the result of switching with
shapelib you're using.
--
Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
Tijeras, NM QRPL#1592 K2#398 SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
one trick, rational thinking, but when you're good and crazy, oooh, oooh,
oooh, the sky is the limit!" --- The Tick
More information about the Xastir
mailing list