[Xastir] dbinfo on Ubuntu 9.10

Tom Russo russo at bogodyn.org
Mon Jan 4 23:16:02 EST 2010


On Mon, Jan 04, 2010 at 10:57:43PM -0500, we recorded a bogon-computron collision of the <n8fau15 at gmail.com> flavor, containing:
> I just went through to see if I missed any dependencies....  I just 
> reinstalled shapelib using Synaptic (I'm hoping that will clear 
> everything out to get a clean install... I'm installing shapelib 1.2.10-4.1

Bob:

Could you please be more explicit in what you're trying to do and what 
isn't actually working?  You're not giving us much to go on.

Synaptic doesn't give you dbfinfo in the shapelib package.  dbfinfo is one of
the "contributed" programs in shapelib, and apparently the debian/ubuntu
packagers don't bother building those.  To get the dbfinfo program you have
to build shapelib from source.

I installed shapelib 1.2.10 from synaptic on my Ubuntu 9.10 virtual machine,
and it installed the libraries and the non-contrib executables with no problem.
Are you seeing some kind of error?  What error?

> Well that didn't work...  I have a spare laptop and will try a fresh 
> install....  OS on up.... 

Reinstalling the entire operating system just to get one program doesn't sound
like the right approach.  What exactly are you trying to get done, and when
you say it "didn't work" what is the symptom that you're seeing?

> Tom Russo wrote:
> > On Sat, Jan 02, 2010 at 01:45:00PM -0500, we recorded a bogon-computron collision of the <n8fau15 at gmail.com> flavor, containing:
> >   
> >> Hello all...
> >>
> >> A long time ago I had dbfinfo working.... Of course that was 4 machines
> >> ago....
> >>
> >> I tried to get it going on a couple of my laptops and it bombed out on
> >> install...  Is there a trick specific to Ubuntu or something else....
> >>
> >> Later tonight I'll run another install and post up the errors....
> >>     
> >
> > I just booted my Ubuntu 9.10 virtual machine and tried to build 
> > shapelib-1.3.0-b1 (the most recent).  I was unable to build dbfinfo without
> > fixing the Makefile.
> >
> > If you're attempting to build dbfinfo in the current release of shapelib,
> > it looks like the contrib directory's makefile was NOT kept up-to-date
> > with the main code.   A new file of code intended to improve UTF-8 support
> > was added to the build in the main directory, but not to the contrib
> > builds.
> >
> > Look in the contrib directory, and add "../safileio.o" to the SHPOBJ
> > variable definition.  This will make sure you don't get unresolved symbols
> > ("SASetupHooks"), and dbfinfo will build.  If you add "#include <stdlib.h>" to 
> > the dbfinfo.c file just above the include of shapefile.h, you'll also eliminate
> > a number of warnings, but that would be unimportant --- a number of other 
> > warnings persist anyway, and can be ignored.  But the omission of 
> > safileio.o from the SHPOBJ is a deal breaker.  I have reported this 
> > on the shapelib bug tracker.
> >
> > I confirmed that there is NO problem building dbfinfo unmodified in 
> > shapelib-1.2.10, only 1.3.0.  That could account for the difference in 
> > experiennces between you and Ray Wells.  

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
  In some cultures what I do would be considered normal. 
                                  -- Ineffective daily affirmation 




More information about the Xastir mailing list