Re: [Xastir] Building dbfinfo
Hi, Curt! Sorry this is late. Life got in the way. I did the update/configure/make clean/make routine not too long ago. Whatever you did worked because dbfinfo was built. Now I can think about making some dbfawk files. Thanks again for fixing this. 73, Bill KA1SSR On 07/11/2010 02:36 AM, Curt, WE7U wrote: On Sat, 10 Jul 2010, Curt, WE7U wrote: shapelib.a must be created before we can create dbfinfo 'cuz it depends on the library being there. Ok. Fixed it in CVS. Kind'a... I duplicated the build of shapelib.a in the shapelib/contrib directory so that everything in there would build. I added the rest of the Shapelib tools to the build, which means you'll see more warnings now when you compile w/internal Shapelib. I also changed the make install for the Shapelib tools so that these tools will only get built (not installed where Xastir gets installed). You'll have to run them from the build directories or copy them to a directory in your path. ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, 10 Jul 2010, Curt, WE7U wrote: shapelib.a must be created before we can create dbfinfo 'cuz it depends on the library being there. Ok. Fixed it in CVS. Kind'a... I duplicated the build of shapelib.a in the shapelib/contrib directory so that everything in there would build. I added the rest of the Shapelib tools to the build, which means you'll see more warnings now when you compile w/internal Shapelib. I also changed the make install for the Shapelib tools so that these tools will only get built (not installed where Xastir gets installed). You'll have to run them from the build directories or copy them to a directory in your path. -- Curt, WE7U. http://www.eskimo.com/~archer APRS: Where it's at!http://www.xastir.org Lotto: A tax on people who are bad at math. - unknown Windows: Microsoft's tax on computer illiterates. - WE7U. The world DOES revolve around me: I picked the coordinate system! ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, Jul 10, 2010 at 12:04:30AM -0700, we recorded a bogon-computron collision of the curt.w...@gmail.com flavor, containing: On Fri, 9 Jul 2010, Bill Hammond wrote: I'm using the CVS version, so dbfinfo.c in my case is in ~/xastir/src/shapelib/contrib. I typed make and was greeted with make: Nothing to be done for `all' and no sign of the executable. This was done after building xastir. I don't think we included the entire Shapelib in Xastir, so you'd need to download Shapelib itself and build from there. Yes, we did. But configure won't configure that directory unless you're using internal shapelib. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236http://kevan.org/brain.cgi?DDTNM The truth will set you free, but first it will piss you off. ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, 10 Jul 2010, Tom Russo wrote: On Sat, Jul 10, 2010 at 12:04:30AM -0700, we recorded a bogon-computron collision of the curt.w...@gmail.com flavor, containing: On Fri, 9 Jul 2010, Bill Hammond wrote: I'm using the CVS version, so dbfinfo.c in my case is in ~/xastir/src/shapelib/contrib. I typed make and was greeted with make: Nothing to be done for `all' and no sign of the executable. This was done after building xastir. I don't think we included the entire Shapelib in Xastir, so you'd need to download Shapelib itself and build from there. Yes, we did. But configure won't configure that directory unless you're using internal shapelib. 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/ -- Curt, WE7U. http://www.eskimo.com/~archer APRS: Where it's at!http://www.xastir.org Lotto: A tax on people who are bad at math. - unknown Windows: Microsoft's tax on computer illiterates. - WE7U. The world DOES revolve around me: I picked the coordinate system! ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
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. One thing I should have told you is that I'm using Ubuntu 10.04. I got shapelib from the repositories. Thanks, Bill KA1SSR ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, Jul 10, 2010 at 12:59:43PM -0400, we recorded a bogon-computron collision of the ka1...@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. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236http://kevan.org/brain.cgi?DDTNM The truth will set you free, but first it will piss you off. ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, Jul 10, 2010 at 02:43:30PM -0600, we recorded a bogon-computron collision of the ru...@bogodyn.org flavor, containing: On Sat, Jul 10, 2010 at 12:59:43PM -0400, we recorded a bogon-computron collision of the ka1...@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 RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236http://kevan.org/brain.cgi?DDTNM The truth will set you free, but first it will piss you off. ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
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 ru...@bogodyn.org wrote: On Sat, Jul 10, 2010 at 02:43:30PM -0600, we recorded a bogon-computron collision of the ru...@bogodyn.org flavor, containing: On Sat, Jul 10, 2010 at 12:59:43PM -0400, we recorded a bogon-computron collision of the ka1...@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@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir -- David A Aitcheson david.aitche...@gmail.com david.aitcheson on google and skype ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On 07/10/2010 04:43 PM, Tom Russo wrote: On Sat, Jul 10, 2010 at 12:59:43PM -0400, we recorded a bogon-computron collision of theka1...@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. Hey, Curt and Tom. Thanks for working on this. I did the configure/make clean/make routine and got... [tons of make stuff] make[3]: Leaving directory `/home/ka1ssr/xastir/src/rtree' Making all in shapelib make[3]: Entering directory `/home/ka1ssr/xastir/src/shapelib' Making all in contrib make[4]: Entering directory `/home/ka1ssr/xastir/src/shapelib/contrib' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/shapelib -I/usr/local/include -I/usr/include/geotiff -I/usr/include/ImageMagick -DXASTIR_DATA_BASE=\/usr/local/share/xastir\ -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -pthread -MT dbfinfo.o -MD -MP -MF .deps/dbfinfo.Tpo -c -o dbfinfo.o dbfinfo.c 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’ dbfinfo.c:100: warning: unused variable ‘eType’ dbfinfo.c:61: warning: unused variable ‘ciRecord’ dbfinfo.c:61: warning: unused variable ‘ci’ dbfinfo.c:60: warning: unused variable ‘cType’ dbfinfo.c:60: warning: unused variable ‘hType’ dbfinfo.c:59: warning: unused variable ‘cDBF’ dbfinfo.c:58: warning: unused variable ‘cnDecimals’ dbfinfo.c:58: warning: unused variable ‘cnWidth’ dbfinfo.c:56: warning: unused variable ‘nTitle’ dbfinfo.c:56: warning: unused variable ‘cTitle’ dbfinfo.c:55: warning: unused variable ‘szField’ dbfinfo.c:55: warning: unused variable ‘szFormat’ dbfinfo.c:54: warning: unused variable ‘iRecord’ In file included from /usr/include/string.h:640, from dbfinfo.c:48: In function ‘strcpy’, inlined from ‘main’ at dbfinfo.c:116: /usr/include/bits/string3.h:107: warning: call to __builtin___strcpy_chk will always overflow destination buffer mv -f .deps/dbfinfo.Tpo .deps/dbfinfo.Po make[4]: *** No rule to make target `../libshape.a', needed by `dbfinfo'. Stop. make[4]: Leaving directory `/home/ka1ssr/xastir/src/shapelib/contrib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ka1ssr/xastir/src/shapelib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ka1ssr/xastir/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ka1ssr/xastir' make: *** [all] Error 2 ka1...@ernie:~/xastir$ Let me know if you want more of the spew from make. 73, Bill KA1SSR ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, Jul 10, 2010 at 10:49:16PM -0400, we recorded a bogon-computron collision of the ka1...@earthlink.net flavor, containing: On 07/10/2010 04:43 PM, Tom Russo wrote: On Sat, Jul 10, 2010 at 12:59:43PM -0400, we recorded a bogon-computron collision of theka1...@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. Hey, Curt and Tom. Thanks for working on this. I did the configure/make clean/make routine and got... make[4]: *** No rule to make target `../libshape.a', needed by Do your make in the shapelib or the top-level xastir directory instead of the contrib directory. You need to build libshape.a before you can build dbfinfo. Doing the make in the shapelib directory will take care of both doing libshape and the contrib directory. -- Tom RussoKM5VY SAR502 DM64ux http://www.swcp.com/~russo/ Tijeras, NM QRPL#1592 K2#398 SOC#236http://kevan.org/brain.cgi?DDTNM The truth will set you free, but first it will piss you off. ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, 10 Jul 2010, Bill Hammond wrote: In file included from /usr/include/string.h:640, from dbfinfo.c:48: In function ‘strcpy’, inlined from ‘main’ at dbfinfo.c:116: /usr/include/bits/string3.h:107: warning: call to __builtin___strcpy_chk will always overflow destination buffer mv -f .deps/dbfinfo.Tpo .deps/dbfinfo.Po make[4]: *** No rule to make target `../libshape.a', needed by `dbfinfo'. I just wasted my external Shapelib so that I could test this. After running boostrap.sh and configure, a regular make now blows up with the same error as you show above. Looks like we have a little more work to do on the internal Shapelib compile. -- Curt, WE7U. http://www.eskimo.com/~archer APRS: Where it's at!http://www.xastir.org Lotto: A tax on people who are bad at math. - unknown Windows: Microsoft's tax on computer illiterates. - WE7U. The world DOES revolve around me: I picked the coordinate system!___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Sat, 10 Jul 2010, Curt, WE7U wrote: On Sat, 10 Jul 2010, Bill Hammond wrote: In file included from /usr/include/string.h:640, from dbfinfo.c:48: In function ‘strcpy’, inlined from ‘main’ at dbfinfo.c:116: /usr/include/bits/string3.h:107: warning: call to __builtin___strcpy_chk will always overflow destination buffer mv -f .deps/dbfinfo.Tpo .deps/dbfinfo.Po make[4]: *** No rule to make target `../libshape.a', needed by `dbfinfo'. I just wasted my external Shapelib so that I could test this. After running boostrap.sh and configure, a regular make now blows up with the same error as you show above. Looks like we have a little more work to do on the internal Shapelib compile. If I do this I can make it work: cd xastir/src/shapelib make shapelib.a make shapelib.a must be created before we can create dbfinfo 'cuz it depends on the library being there. -- Curt, WE7U. http://www.eskimo.com/~archer APRS: Where it's at!http://www.xastir.org Lotto: A tax on people who are bad at math. - unknown Windows: Microsoft's tax on computer illiterates. - WE7U. The world DOES revolve around me: I picked the coordinate system!___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On Thu, 8 Jul 2010, Bill Hammond wrote: Really dumb question. How do I build dbfinfo? In my case: cd ~/src/shapelib/shapelib-1.2.10/contrib make -- Curt, WE7U. http://www.eskimo.com/~archer APRS: Where it's at!http://www.xastir.org Lotto: A tax on people who are bad at math. - unknown Windows: Microsoft's tax on computer illiterates. - WE7U. The world DOES revolve around me: I picked the coordinate system! ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Building dbfinfo
On 07/09/2010 02:06 AM, Curt, WE7U wrote: In my case: cd ~/src/shapelib/shapelib-1.2.10/contrib make Hi, Curt! I'm using the CVS version, so dbfinfo.c in my case is in ~/xastir/src/shapelib/contrib. I typed make and was greeted with make: Nothing to be done for `all' and no sign of the executable. This was done after building xastir. I'm sure this is painfully obvious. Thanks for your patience. 73, Bill KA1SSR ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
[Xastir] Building dbfinfo
Really dumb question. How do I build dbfinfo? Bill KA1SSR ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir