make error

Daniel O'Donnell <[email protected]>
Newsgroups gmane.text.refdb.general
Organization Department of English, University of Lethbridge
Message-ID <[email protected]>
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=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\"
-DVERSION=\"0.9.7-pre7\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1
-DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1
-DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1
-DHAVE_STRTOLL=1 -DHAVE_ATOLL=1  -I. -I.  -DSYSCONFDIR=\"/etc/refdb\"
-DULLSPEC=\"%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 ‘read_ris_data’:
refdbdref.c:667: warning: passing argument 2 of ‘iconv’ from
incompatible pointer type
refdbdref.c: In function ‘is_journal’:
refdbdref.c:2370: error: ‘DBI_ROW_ERROR’ 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 ‘getref’:
refdbdref.c:4592: warning: passing argument 2 of ‘iconv’ 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


My ./config options were:

 CFLAGS="-I/usr/lib" ./configure --sysconfdir=/etc
--with-refdb-url=http://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="-I/usr/lib" ./configure --sysconfdir=/etc --with-refdb-url=http://refdb.kakelbont.homelinux.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.rpath: 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/docbook.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... checking 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
> 
> 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.
> 
> Your configuration:
> will build clients
> will build server
> will build docs
> 
> 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.
> 
> root@caedmon:/home/dan/downloads/refdb-0.9.7-pre7#
> 



> Making all in declarations
> make[1]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/declarations'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/declarations'
> 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/refdb'
> Making all in html
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb/html'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb/html'
> Making all in lib
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb/lib'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb/lib'
> Making all in print
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb/print'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb/print'
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb'
> make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/dsssl/refdb'
> 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/refdb'
> Making all in common-refdb
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/common-refdb'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/common-refdb'
> Making all in docbk-refdb-xsl
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/docbk-refdb-xsl'
> Making all in docbk-fo
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/docbk-refdb-xsl/docbk-fo'
> Making all in docbk-html
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/docbk-refdb-xsl/docbk-html'
> Making all in docbk-xhtml
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/docbk-refdb-xsl/docbk-xhtml'
> Making all in docbk-lib
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/docbk-refdb-xsl/docbk-lib'
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/docbk-refdb-xsl'
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/docbk-refdb-xsl'
> Making all in tei-refdb-xsl
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/tei-refdb-xsl'
> Making all in tei-fo
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/tei-refdb-xsl/tei-fo'
> Making all in tei-html
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/tei-refdb-xsl/tei-html'
> Making all in tei-lib
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/tei-refdb-xsl/tei-lib'
> make[4]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/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/refdb/tei-refdb-xsl'
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb/tei-refdb-xsl'
> make[3]: Entering directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb'
> make[2]: Leaving directory `/home/dan/downloads/refdb-0.9.7-pre7/xsl/refdb'
> 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/examples'
> 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=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"0.9.7-pre7\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SOCKLEN_T=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1  -I. -I.  -DSYSCONFDIR=\"/etc/refdb\" -DULLSPEC=\"%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 ‘read_ris_data’:
> refdbdref.c:667: warning: passing argument 2 of ‘iconv’ from incompatible pointer type
> refdbdref.c: In function ‘is_journal’:
> refdbdref.c:2370: error: ‘DBI_ROW_ERROR’ 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 ‘getref’:
> refdbdref.c:4592: warning: passing argument 2 of ‘iconv’ 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#
> 

-- 
Daniel Paul O'Donnell, PhD
Associate Professor and Chair,
Director, Digital Medievalist Project 
(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




_______________________________________________
Refdb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/refdb-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.