[Xastir] Building dbfinfo
David Aitcheson
david.aitcheson at gmail.com
Sat Jul 10 17:54:02 EDT 2010
Tom,
Is there a way to "automajicitically" test for the presence of
shapelib being installed from a package management system? Say maybe
during the bootstrap or configure stages? Then have the make do the
appropriate thing.
I can feel the bighting happening already.
73
Dave
KB3EFS
On Sat, Jul 10, 2010 at 4:57 PM, Tom Russo <russo at bogodyn.org> wrote:
> On Sat, Jul 10, 2010 at 02:43:30PM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
>> On Sat, Jul 10, 2010 at 12:59:43PM -0400, we recorded a bogon-computron collision of the <ka1ssr at earthlink.net> flavor, containing:
>> > On 07/10/2010 11:07 AM, Curt, WE7U wrote:
>> > >
>> > > Ah, I stand corrected.
>> > >
>> > > Then this means that Bill must have installed Shapelib in the OS.
>> > > If he installed Shapelib from sources then he can build the tool
>> > > there.
>> > >
>> > > If not, then removing the external Shapelib means he can re-run
>> > > Xastir's configure and then build the tool in
>> > > xastir/src/shapelib/contrib/
>> > >
>> > I ran ./configure --without-festival --with-internal-shapelib
>> > CPPFLAGS="-I/usr/include/geotiff", then make. Changed to the
>> > ~/xastir/src/shapelib/contrib directory and did a make there. No luck.
>> > I then unistalled shapelib, libshp-dev and libshp1 and ran ./configure
>> > --without-festival CPPFLAGS="-I/usr/include/geotiff". Still no luck.
>> > Configure says that it's using the internal shapelib library in both cases.
>>
>> Ah. I see what the issue is.
>>
>> There is no rule to create dbfinfo in our makefile. We only create dbfadd,
>> dbfcreate, shpadd and shpcreate. Lemme see if I can fix that.
>
> Until just now, xastir's internal shapelib did not build any of the contrib
> programs, only those at the same level as the rest of shapelib. Do a CVS
> update, and then build Xastir with internal shapelib. dbfinfo will be
> built and installed along with dbfadd, dbfcreate, shpadd and shpcreate.
>
> Note that this only builds shapelib and its tools with static linking for
> Xastir, and does not install the library itself. If you already have
> shapelib installed from a package management system, you should NOT do it
> this way. In that case, you'll have to install dbfinfo from a shapelib source
> distribution other than the one that lives in Xastir's source tree.
>
> --
> Tom Russo KM5VY SAR502 DM64ux http://www.swcp.com/~russo/
> Tijeras, NM QRPL#1592 K2#398 SOC#236 http://kevan.org/brain.cgi?DDTNM
> "The truth will set you free, but first it will piss you off."
>
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>
--
David A Aitcheson
david.aitcheson at gmail.com
david.aitcheson on google and skype
More information about the Xastir
mailing list