autoconf and install issues with 0.9.9-pre4
Vincent Carey 525-2265 <[email protected]> Wed, 4 Jul 2007 06:56:00 -0400 (EDT)
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for prompt confrontation of issues I mentioned previously. I have begun to experiment with the 0.9.9-pre4 release available through svn. my OS is Linux stvjc2.bwh.harvard.edu 2.6.9-34.ELsmp #1 SMP Thu Mar 9 06:23:23 GMT 2006 x86_64 x86_64 x86_64 GNU/Linux and i build from source because i need to port to mac and elsewhere; no interest in RPMs. i have a package that builds each of btparse-0.34 libdbi-0.8.2 sqlite-3.4.0 expat-2.0.1 libdbi-drivers-0.8.2-1 refdb-0.9.9-pre4 in one place to ensure compatible infrastructure first issue: %stvjc2> autoconf -V autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. %stvjc2> sh autogen.sh aclocal:configure.in:270: warning: macro `AM_ICONV_LINK' not found in library a configure script is built none the less and runs cd refdb-0.9.9-pre4; CFLAGS=-I/home/stvjc/Work/ExternalSoft/REFDB-BUILD/include ./configure --prefix=/home/stvjc/Work/ExternalSoft/REFDB-BUILD --with-libdbi-inc=/home/stvjc/Work/ExternalSoft/REFDB-BUILD/include --with-libdbi-lib=/home/stvjc/Work/ExternalSoft/REFDB-BUILD/lib --with-expat-lib=/home/stvjc/Work/ExternalSoft/REFDB-BUILD/lib --with-btparse-lib=/home/stvjc/Work/ExternalSoft/REFDB-BUILD/lib; \ make seems to do OK; in the install phase /usr/bin/install -c 'refdb_latex2utf8txt' '/home/stvjc/Work/ExternalSoft/REFDB-BUILD/bin/refdb_latex2utf8txt' /usr/bin/install -c 'bib2ris-utf8' '/home/stvjc/Work/ExternalSoft/REFDB-BUILD/bin/bib2ris-utf8' /bin/sh .././conf/mkinstalldirs /home/stvjc/Work/ExternalSoft/REFDB-BUILD/share/refdb/sql /usr/bin/install: cannot stat `refdb.3.dump.mysql': No such file or directory /usr/bin/install: cannot stat `refdb.3.dump.mysql41': No such file or directory /usr/bin/install: cannot stat `refdb.3.dump.pgsql': No such file or directory /usr/bin/install: cannot stat `refdb.3.dump.sqlite': No such file or directory /usr/bin/install: cannot stat `empty.2.dump.mysql41': No such file or directory /usr/bin/install: cannot stat `empty.2.dump.pgsql': No such file or directory /usr/bin/install: cannot stat `empty.2.dump.sqlite3': No such file or directory make[3]: *** [install-data-local] Error 1 make[3]: Leaving directory `/home/stvjc/stvjc/ExternalSoft/REFDB-SRC/refdb-0.9.9-pre4/scripts' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/stvjc/stvjc/ExternalSoft/REFDB-SRC/refdb-0.9.9-pre4/scripts' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/stvjc/stvjc/ExternalSoft/REFDB-SRC/refdb-0.9.9-pre4' make: *** [/home/stvjc/Work/ExternalSoft/REFDB-BUILD/bin/refdbd] Error 2 --- Vince Carey, PhD Assoc. Prof Med (Biostatistics) Harvard Medical School Channing Laboratory - ph 6175252265 fa 6177311541 181 Longwood Ave Boston MA 02115 USA [email protected] On Wed, 4 Jul 2007, Markus Hoenicka wrote: > Markus Hoenicka writes: > > > note the *dump.sqlite* has a .2. > > > > > > in line 190 of refdb-init.in in the same folder we have > > > checkFile "<pkgdatadir>/sql/refdb.dump.sqlite" "read" \ > > > > > > and the lack of the .2. is a problem for refdb-init > > > > > > > That's me being careless... however, the 0.9.9 prereleases use a > > different mechanism to create or update the main database. refdbd now > > has a maintenance mode that takes care of this stuff. Therefore the > > line above no longer exists in refdb-init. To the best of my knowledge > > the new mechanism does not show this problem, but I'll check again to > > make sure. I'll probably make a fixed version of the old refdb-init > > available on the web page for those who still use 0.9.8-1. > > > > I should have checked the facts before drawing my > conclusions. Actually, the maintenance mode of refdbd was already > implemented in 0.9.8, and the lines that cause the problem in > refdb-init (only if you use sqlite3 btw) are simply leftovers from > previous versions. The proper fix is to delete lines 190 through 193 > and re-run make in the scripts subdirectory. The bug had been fixed > with other changes in refdb-init.in about three months ago, so the > 0.9.9 prereleases are not affected by this problem. I'll also add a > news item to the RefDB homepage that mentions this problem. > > regards, > Markus > > -- > Markus Hoenicka > [email protected] > (Spam-protected email: replace the quadrupeds with "mhoenicka") > http://www.mhoenicka.de > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/