[Refdb-users] make error
Status: Beta
Brought to you by:
mhoenicka
From: Daniel O'D. <dan...@ul...> - 2006-06-14 23:39:34
|
Since we are testing the pre-build and instructions (and since I was the dummy that caused the need for the new way of doing the examples), I'll pass this on, though I'm sure the problem is with me: When I try the make after ./configure, I get the following error (I'm assuming this is where things go wrong; I'll append the full results at the end): make[2]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/src' if gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\= "\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"refdb\" -DVERSION=3D\"0.9.7-pre7\" -D_GNU_SOURCE=3D1 -DREADLINE42=3D1 -DHAVE_ICONV= =3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_= H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_SOCKLEN_T=3D1 -DSTDC_HEADERS=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_LIMITS_H= =3D1 -DHAVE_SYS_FILE_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAVE_SYS_IOCTL_H=3D1 -DHAVE_SYSLOG_H=3D1 -DHAVE_UNISTD_H=3D1 -DTIME_WITH_SYS_TIME=3D1 -DRETSIGTYPE=3Dvoid -DHAVE_STRFTIME=3D1 -DHAVE_MKFIFO=3D1 -DHAVE_GETHOSTNAM= E=3D1 -DHAVE_SELECT=3D1 -DHAVE_SOCKET=3D1 -DHAVE_STRCSPN=3D1 -DHAVE_STRSTR=3D1 -DHAVE_STRTOLL=3D1 -DHAVE_ATOLL=3D1 -I. -I. -DSYSCONFDIR=3D\"/etc/refdb\" -DULLSPEC=3D\"%llu\" -I/usr/lib -MT refdbdref.o -MD -MP -MF ".deps/refdbdref.Tpo" -c -o refdbdref.o refdbdref.c; \ then mv -f ".deps/refdbdref.Tpo" ".deps/refdbdref.Po"; else rm -f ".deps/refdbdref.Tpo"; exit 1; fi refdbdref.c: In function =E2=80=98read_ris_data=E2=80=99: refdbdref.c:667: warning: passing argument 2 of =E2=80=98iconv=E2=80=99 fro= m incompatible pointer type refdbdref.c: In function =E2=80=98is_journal=E2=80=99: refdbdref.c:2370: error: =E2=80=98DBI_ROW_ERROR=E2=80=99 undeclared (first = use in this function)refdbdref.c:2370: error: (Each undeclared identifier is reported only once refdbdref.c:2370: error: for each function it appears in.) refdbdref.c: In function =E2=80=98getref=E2=80=99: refdbdref.c:4592: warning: passing argument 2 of =E2=80=98iconv=E2=80=99 fr= om incompatible pointer type make[2]: *** [refdbdref.o] Error 1 make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/src' make: *** [all-recursive] Error 1 My ./config options were: CFLAGS=3D"-I/usr/lib" ./configure --sysconfdir=3D/etc --with-refdb-url=3Dhttp://refdb.kakelbont.homelinux.net/refdb iconv shows up fine in the output of ./config -d (complete ./config and make outputs): > root@caedmon:/home/dan/downloads/refdb-0.9.7-pre7# CFLAGS=3D"-I/usr/lib" = ./configure --sysconfdir=3D/etc --with-refdb-url=3Dhttp://refdb.kakelbont.h= omelinux.net/refdbchecking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for openjade... no > checking for jade... no > checking for bash... /bin/bash > checking for perl... /usr/bin/perl > checking for xsltproc... /usr/bin/xsltproc > checking for xmlcatalog... /usr/bin/xmlcatalog > checking for dtdparse... no > checking for dtdformat... no > checking for sgrep... no > checking for tidy... no > checking for batik-rasterizer... no > checking for tputs in -ltermcap... yes > checking for readline in -lreadline... yes > checking for libreadline version... new > checking for ld used by GCC... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for shared library run path origin... /bin/sh: ./conf/config.rpa= th: No such file or directory > done > checking for iconv... yes > checking for library containing dlopen... -ldl > checking for library containing lt_dlopen... no > checking for dbi_initialize in -ldbi... yes > checking for library containing compress... no > checking for library containing setsockopt... none required > checking for library containing gethostbyname... none required > checking for XML_ParserCreate in -lexpat... yes > checking for bt_initialize in -lbtparse... yes > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for socklen_t... yes > checking for ANSI C header files... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking sys/file.h usability... yes > checking sys/file.h presence... yes > checking for sys/file.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking for unistd.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking for pid_t... yes > checking for size_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking return type of signal handlers... void > checking for strftime... yes > checking for working mkfifo... yes > checking for gethostname... yes > checking for select... yes > checking for socket... yes > checking for strcspn... yes > checking for strstr... yes > checking for strtoll... yes > checking for atoll... yes > checking for http://docbook.sourceforge.net/release/xsl/current/fo/docboo= k.xsl... no > checking for XML file http://docbook.sourceforge.net/release/xsl/current/= fo/docbook.xsl... checking for /usr/share/xml/docbook/stylesheet/nwalsh/fo/= docbook.xsl... yes > XML file found > checking for http://www.tei-c.org/Stylesheets/p4/fo/tei.xsl... no > checking for XML file http://www.tei-c.org/Stylesheets/p4/fo/tei.xsl... c= hecking for No entry for SYSTEM http://www.tei-c.org/Stylesheets/p4/fo/tei.= xsl No entry for URI http://www.tei-c.org/Stylesheets/p4/fo/tei.xsl... no > XML file not found > checking for Perl version... 5.008007 > checking for Perl module RefDB::Prefs... RefDB::Prefs > checking for Perl module XML::Parser... XML::Parser > checking for Perl module MARC::Record... MARC::Record > checking for Perl module MARC::Charset... MARC::Charset > checking for Perl module Text::Iconv... Text::Iconv > configure: creating ./config.status > config.status: creating src/Makefile > config.status: creating scripts/Makefile > config.status: creating etc/Makefile > config.status: creating doc/Makefile > config.status: creating dtd/Makefile > config.status: creating declarations/Makefile > config.status: creating examples/Makefile > config.status: creating styles/Makefile > config.status: creating phpweb/Makefile > config.status: creating dsssl/Makefile > config.status: creating dsssl/refdb/Makefile > config.status: creating dsssl/refdb/html/Makefile > config.status: creating dsssl/refdb/print/Makefile > config.status: creating dsssl/refdb/lib/Makefile > config.status: creating xsl/Makefile > config.status: creating xsl/refdb/Makefile > config.status: creating xsl/refdb/common-refdb/Makefile > config.status: creating xsl/refdb/docbk-refdb-xsl/Makefile > config.status: creating xsl/refdb/docbk-refdb-xsl/docbk-fo/Makefile > config.status: creating xsl/refdb/docbk-refdb-xsl/docbk-html/Makefile > config.status: creating xsl/refdb/docbk-refdb-xsl/docbk-xhtml/Makefile > config.status: creating xsl/refdb/docbk-refdb-xsl/docbk-lib/Makefile > config.status: creating xsl/refdb/tei-refdb-xsl/Makefile > config.status: creating xsl/refdb/tei-refdb-xsl/tei-fo/Makefile > config.status: creating xsl/refdb/tei-refdb-xsl/tei-html/Makefile > config.status: creating xsl/refdb/tei-refdb-xsl/tei-lib/Makefile > config.status: creating man/Makefile > config.status: creating Makefile > config.status: executing depfiles commands >=20 > Please check the above output for missing Perl modules. It is safe > to make and make install anyway, but some of the Perl scripts will > fail to run if the required modules are not installed. Please consult > the manual where to get the modules from. >=20 > Your configuration: > will build clients > will build server > will build docs >=20 > What you should do next > - run "make" to build RefDB. > - run "make install" as root to install everything. > - create the main database and the configuration files. Either run the > refdb-init.sh shell script as root, or peruse the handbook if you > prefer a manual installation. >=20 > root@caedmon:/home/dan/downloads/refdb-0.9.7-pre7# >=20 > Making all in declarations > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/declara= tions' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/declarat= ions' > Making all in dsssl > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl' > Making all in refdb > make[2]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/r= efdb' > Making all in html > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/r= efdb/html' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/re= fdb/html' > Making all in lib > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/r= efdb/lib' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/re= fdb/lib' > Making all in print > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/r= efdb/print' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/re= fdb/print' > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/r= efdb' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/re= fdb' > make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/re= fdb' > make[2]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl' > make[2]: Nothing to be done for `all-am'. > make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl' > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl' > Making all in dtd > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dtd' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dtd' > Making all in styles > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/styles' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/styles' > Making all in xsl > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl' > Making all in refdb > make[2]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db' > Making all in common-refdb > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/common-refdb' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/common-refdb' > Making all in docbk-refdb-xsl > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/docbk-refdb-xsl' > Making all in docbk-fo > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/docbk-refdb-xsl/docbk-fo' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/docbk-refdb-xsl/docbk-fo' > Making all in docbk-html > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/docbk-refdb-xsl/docbk-html' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/docbk-refdb-xsl/docbk-html' > Making all in docbk-xhtml > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/docbk-refdb-xsl/docbk-xhtml' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/docbk-refdb-xsl/docbk-xhtml' > Making all in docbk-lib > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/docbk-refdb-xsl/docbk-lib' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/docbk-refdb-xsl/docbk-lib' > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/docbk-refdb-xsl' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/docbk-refdb-xsl' > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/docbk-refdb-xsl' > Making all in tei-refdb-xsl > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/tei-refdb-xsl' > Making all in tei-fo > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/tei-refdb-xsl/tei-fo' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/tei-refdb-xsl/tei-fo' > Making all in tei-html > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/tei-refdb-xsl/tei-html' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/tei-refdb-xsl/tei-html' > Making all in tei-lib > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/tei-refdb-xsl/tei-lib' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/tei-refdb-xsl/tei-lib' > make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db/tei-refdb-xsl' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/tei-refdb-xsl' > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b/tei-refdb-xsl' > make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/ref= db' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b' > make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refd= b' > make[2]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl' > make[2]: Nothing to be done for `all-am'. > make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl' > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl' > Making all in etc > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/etc' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/etc' > Making all in examples > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/example= s' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/examples= ' > Making all in scripts > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/scripts= ' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/scripts' > Making all in src > make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/src' > make all-am > make[2]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/src' > if gcc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION= =3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"re= fdb\" -DVERSION=3D\"0.9.7-pre7\" -D_GNU_SOURCE=3D1 -DREADLINE42=3D1 -DHAVE_= ICONV=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -= DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H= =3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_S= OCKLEN_T=3D1 -DSTDC_HEADERS=3D1 -DHAVE_FCNTL_H=3D1 -DHAVE_LIMITS_H=3D1 -DHA= VE_SYS_FILE_H=3D1 -DHAVE_SYS_TIME_H=3D1 -DHAVE_SYS_IOCTL_H=3D1 -DHAVE_SYSLO= G_H=3D1 -DHAVE_UNISTD_H=3D1 -DTIME_WITH_SYS_TIME=3D1 -DRETSIGTYPE=3Dvoid -D= HAVE_STRFTIME=3D1 -DHAVE_MKFIFO=3D1 -DHAVE_GETHOSTNAME=3D1 -DHAVE_SELECT=3D= 1 -DHAVE_SOCKET=3D1 -DHAVE_STRCSPN=3D1 -DHAVE_STRSTR=3D1 -DHAVE_STRTOLL=3D1= -DHAVE_ATOLL=3D1 -I. -I. -DSYSCONFDIR=3D\"/etc/refdb\" -DULLSPEC=3D\"%ll= u\" -I/usr/lib -MT refdbdref.o -MD -MP -MF ".deps/refdbdref.Tpo" -c -o re= fdbdref.o refdbdref.c; \ > then mv -f ".deps/refdbdref.Tpo" ".deps/refdbdref.Po"; else rm -f= ".deps/refdbdref.Tpo"; exit 1; fi > refdbdref.c: In function =E2=80=98read_ris_data=E2=80=99: > refdbdref.c:667: warning: passing argument 2 of =E2=80=98iconv=E2=80=99 f= rom incompatible pointer type > refdbdref.c: In function =E2=80=98is_journal=E2=80=99: > refdbdref.c:2370: error: =E2=80=98DBI_ROW_ERROR=E2=80=99 undeclared (firs= t use in this function)refdbdref.c:2370: error: (Each undeclared identifier= is reported only once > refdbdref.c:2370: error: for each function it appears in.) > refdbdref.c: In function =E2=80=98getref=E2=80=99: > refdbdref.c:4592: warning: passing argument 2 of =E2=80=98iconv=E2=80=99 = from incompatible pointer type > make[2]: *** [refdbdref.o] Error 1 > make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/src' > make: *** [all-recursive] Error 1 > root@caedmon:/home/dan/downloads/refdb-0.9.7-pre7# >=20 --=20 Daniel Paul O'Donnell, PhD Associate Professor and Chair, Director, Digital Medievalist Project=20 (http://www.digitalmedievalist.org/) Department of English University of Lethbridge Lethbridge AB T1K 3M4 Canada Tel. +1 (403) 329-2378 Fax +1 (403) 382-7191 |