[Xastir] Better and/or Easier Way to Get Xastir on Windows
Tom Russo
russo at bogodyn.org
Fri Nov 10 15:47:54 EST 2006
On Fri, Nov 10, 2006 at 11:12:30AM -0800, we recorded a bogon-computron collision of the <archer at eskimo.com> flavor, containing:
> On Fri, 10 Nov 2006, Tom Russo wrote:
>
> > The best approach would be to have a subdirectory that is conditionally
> > compiled. We have one such directory now, the rtree directory.
>
> In order to get this into the Xastir compile properly we need an
> "xastir/src/shapelib/" directory, not "xastir/shapelib/", correct?
Yes.
> "xastir/src/shapelib/" would put it at the same level as rtree and
> allow us to have Xastir's configure set up everything for us. I
> seem to remember that Make has troubles with multiple top-level
> subdirs. This would avoid that problem.
Yes. Although I'm not sure that Make does in fact have trouble with multiple
top level directories --- there should be no reason that lower level
directories are special.
> I put the shapelib-1.2.10 sources into "xastir/src/shapelib/" and
> may attempt to merge it into autoconf/automake. If I get the
> install to work with/without Shapelib already installed I'll check
> it into CVS.
>
> I'll have to go study after that to see how to link it in
> statically, which Tom suggested is the right thing to do in order to
> avoid problems with incompatible shared libs in the future.
Simple to do. Don't create a shared library.
Unfortunately, that does imply that we'll have to hack on shapelib's makefile,
as Jason points out. That should not be difficult.
I'm bored now. I might look into this right this minute.
--
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