Tom: I just wanted to be sure I didn't have any self inflicted conflicts in my installation, and also it gave me a chance to learn a bit more Linux...
I loaded up the latest install CD with Ubuntu 9.10 and Xastir. When I went to the shapelib/contrib directory and opened up a window and typed make... Here are the results: b...@spare2-laptop:/home/a-user/src/xastir/src/shapelib/contrib$ sudo make -B cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 -c -o ../shpopen.o ../shpopen.c cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 -c -o ../dbfopen.o ../dbfopen.c cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpdxf.c ../shpopen.o ../dbfopen.o -o shpdxf cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 -c shpgeo.c shpgeo.c: In function ‘SHPWriteSHPStream’: shpgeo.c:366: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result shpgeo.c: In function ‘SHPWriteOGisWKB’: shpgeo.c:522: warning: too few arguments for format cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpproj.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -lm -lproj -o shpproj cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 dbfinfo.c ../shpopen.o ../dbfopen.o -o dbfinfo dbfinfo.c: In function ‘main’: dbfinfo.c:88: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘int’ dbfinfo.c:88: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’ cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpcentrd.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpcentrd cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpdata.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpdata cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpwkb.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpwkb cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 dbfcat.c ../shpopen.o ../dbfopen.o -o dbfcat cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpinfo.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpinfo shpinfo.c: In function ‘main’: shpinfo.c:125: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘int’ cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpfix.c ../shpopen.o ../dbfopen.o -o shpfix cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpcat.c ../shpopen.o ../dbfopen.o -o shpcat (end of results) It looks just like my other installations.... Simmilar results.... Thanks for your time... Once I get this figured out I'm going to make a install notes for the next time... 73 Bob On Mon, Jan 4, 2010 at 23:16, Tom Russo <[email protected]> wrote: > On Mon, Jan 04, 2010 at 10:57:43PM -0500, we recorded a bogon-computron > collision of the <[email protected]> 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 <[email protected]> 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/<http://www.swcp.com/%7Erusso/> > 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 > > -- Bob [email protected] _______________________________________________ Xastir mailing list [email protected] http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
