We are trying to get z39.50 going.
Our system is Greenstone 2.40 running under Redhat Linux with Apache 1.3.27
I believe we have compiled it correctly and as far as I can tell fast-cgi
is off. (I have checked the config.log - it is at the end of this email)
I have tried using tcptrace (http://www.pocketsoap.com/tcptrace/)
to monitor requests from greenstone by changing the address in the
z3950.cfg file to refer to my pc and using tcptrace to redirect it to the
server (I tried for both LOC and our site) and in the process have
discovered that not a peep is coming from greenstone.
Any idea what we are doing wrong?
I am ultimately hoping to use Simpleserver to extract metadata from our
ILMS in the import process. This way we will only need to scan the books
and enter a unique identifier.
( Simpleserver at http://www.indexdata.dk/simpleserver/)
-tail of my z3950.cfg file--
CDU
phoenix.ntu.edu.au:210
dynix
"Charles Darwin University z39.50 Server"
About "This is the z39.50 interface to the CDU Library catalogue"
LOC
z3950.loc.gov:7090
Voyager
"Library of Congress z39.50 server"
About "This is the z39.50 interface to the US LoC catalogue
system. It contains approximately 12 million bibliographic
records.
For server capabilities, look at
<a href="http://lcweb.loc.gov/z3950/lcserver.html">their web
pages</a>."
-configure.log-
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.50. Invocation command line was
configure:945: PATH=".;."; conftest.sh
./configure: conftest.sh: command not found
configure:948: $? = 127
configure:1074: checking for gcc
configure:1089: found /usr/bin/gcc
configure:1097: result: gcc
configure:1341: checking for C compiler default output
configure:1344: gcc -O2 conftest.c >&5
configure:1347: $? = 0
configure:1370: result: a.out
configure:1375: checking whether the C compiler works
configure:1381: ./a.out
configure:1384: $? = 0
configure:1399: result: yes
configure:1406: checking whether we are cross compiling
configure:1408: result: no
configure:1411: checking for executable suffix
configure:1413: gcc -o conftest -O2 conftest.c >&5
configure:1416: $? = 0
configure:1438: result:
configure:1444: checking for object suffix
configure:1462: gcc -c -O2 conftest.c >&5
configure:1465: $? = 0
configure:1484: result: o
configure:1488: checking whether we are using the GNU C compiler
configure:1509: gcc -c -O2 conftest.c >&5
configure:1512: $? = 0
configure:1515: test -s conftest.o
configure:1518: $? = 0
configure:1530: result: yes
configure:1536: checking whether gcc accepts -g
configure:1554: gcc -c -g conftest.c >&5
configure:1557: $? = 0
configure:1560: test -s conftest.o
configure:1563: $? = 0
configure:1573: result: yes
configure:1600: gcc -c -O2 conftest.c >&5
conftest.c:2: parse error before `me'
configure:1603: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:1747: checking for g++
configure:1762: found /usr/bin/g++
configure:1770: result: g++
configure:1784: checking whether we are using the GNU C++ compiler
configure:1805: g++ -c conftest.cc >&5
configure:1808: $? = 0
configure:1811: test -s conftest.o
configure:1814: $? = 0
configure:1826: result: yes
configure:1832: checking whether g++ accepts -g
configure:1850: g++ -c -g conftest.cc >&5
configure:1853: $? = 0
configure:1856: test -s conftest.o
configure:1859: $? = 0
configure:1869: result: yes
configure:1909: g++ -c -g -O2 conftest.cc >&5
configure:1912: $? = 0
configure:1915: test -s conftest.o
configure:1918: $? = 0
configure:1940: g++ -c -g -O2 conftest.cc >&5
configure: In function `int main ()':
configure:1933: `exit' undeclared (first use this function)
configure:1933: (Each undeclared identifier is reported only once for
each function it appears in.)
configure:1943: $? = 1
configure: failed program was:
#line 1928 "configure"
#include "confdefs.h"
int
main ()
{
exit (42);
;
return 0;
}
configure:1909: g++ -c -g -O2 conftest.cc >&5
configure:1912: $? = 0
configure:1915: test -s conftest.o
configure:1918: $? = 0
configure:1940: g++ -c -g -O2 conftest.cc >&5
configure:1943: $? = 0
configure:1946: test -s conftest.o
configure:1949: $? = 0
configure:1972: checking for mawk
configure:1998: result: no
configure:1972: checking for gawk
configure:1987: found /bin/gawk
configure:1995: result: gawk
configure:2009: checking for bison
configure:2024: found /usr/bin/bison
configure:2032: result: bison -y
configure:2074: checking build system type
configure:2092: result: i686-pc-linux-gnu
configure:2099: checking host system type
configure:2113: result: i686-pc-linux-gnu
configure:2120: checking target system type
configure:2134: result: i686-pc-linux-gnu
configure:2159: checking for a BSD compatible install
configure:2208: result: /usr/bin/install -c
configure:2219: checking whether ln -s works
configure:2223: result: yes
configure:2230: checking whether make sets ${MAKE}
configure:2250: result: yes
configure:2297: checking for ranlib
configure:2312: found /usr/bin/ranlib
configure:2321: result: ranlib
configure:2369: checking how to run the C preprocessor
configure:2396: gcc -E conftest.c
configure:2402: $? = 0
configure:2429: gcc -E conftest.c
configure:2426:28: ac_nonexistent.h: No such file or directory
configure:2435: $? = 1
configure: failed program was:
#line 2425 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2472: result: gcc -E
configure:2487: gcc -E conftest.c
configure:2493: $? = 0
configure:2520: gcc -E conftest.c
configure:2517:28: ac_nonexistent.h: No such file or directory
configure:2526: $? = 1
configure: failed program was:
#line 2516 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2565: checking for AIX
configure:2584: result: no
configure:2589: checking for POSIXized ISC
configure:2608: result: no
configure:2613: checking for minix/config.h
configure:2623: gcc -E conftest.c
configure:2620:26: minix/config.h: No such file or directory
configure:2629: $? = 1
configure: failed program was:
#line 2619 "configure"
#include "confdefs.h"
#include <minix/config.h>
configure:2648: result: no
configure:2672: checking for gcc option to accept ANSI C
configure:2706: gcc -c -O2 conftest.c >&5
configure:2709: $? = 0
configure:2712: test -s conftest.o
configure:2715: $? = 0
configure:2728: result:
configure:2735: checking for function prototypes
configure:2738: result: yes
configure:2751: checking for gcc option to accept ANSI C
configure:2834: result: none needed
configure:2842: checking for an ANSI C-conforming const
configure:2906: gcc -c -O2 conftest.c >&5
configure:2909: $? = 0
configure:2912: test -s conftest.o
configure:2915: $? = 0
configure:2925: result: yes
configure:2935: checking for ANSI C header files
configure:2949: gcc -E conftest.c
configure:2955: $? = 0
configure:3042: gcc -o conftest -O2 conftest.c >&5
configure:3045: $? = 0
configure:3047: ./conftest
configure:3050: $? = 0
configure:3063: result: yes
configure:3076: checking for stdlib.h
configure:3086: gcc -E conftest.c
configure:3092: $? = 0
configure:3111: result: yes
configure:3076: checking for string.h
configure:3086: gcc -E conftest.c
configure:3092: $? = 0
configure:3111: result: yes
configure:3076: checking for memory.h
configure:3086: gcc -E conftest.c
configure:3092: $? = 0
configure:3111: result: yes
configure:3076: checking for strings.h
configure:3086: gcc -E conftest.c
configure:3092: $? = 0
configure:3111: result: yes
configure:3076: checking for inttypes.h
configure:3086: gcc -E conftest.c
configure:3092: $? = 0
configure:3111: result: yes
configure:3076: checking for unistd.h
configure:3086: gcc -E conftest.c
configure:3092: $? = 0
configure:3111: result: yes
configure:3121: checking for off_t
configure:3142: gcc -c -O2 conftest.c >&5
configure:3145: $? = 0
configure:3148: test -s conftest.o
configure:3151: $? = 0
configure:3161: result: yes
configure:3173: checking for size_t
configure:3194: gcc -c -O2 conftest.c >&5
configure:3197: $? = 0
configure:3200: test -s conftest.o
configure:3203: $? = 0
configure:3213: result: yes
configure:3225: checking whether time.h and sys/time.h may both be included
configure:3246: gcc -c -O2 conftest.c >&5
configure:3249: $? = 0
configure:3252: test -s conftest.o
configure:3255: $? = 0
configure:3265: result: yes
configure:3275: checking whether struct tm is in sys/time.h or time.h
configure:3295: gcc -c -O2 conftest.c >&5
configure:3298: $? = 0
configure:3301: test -s conftest.o
configure:3304: $? = 0
configure:3314: result: time.h
configure:3359: checking for main in -lg
configure:3379: gcc -o conftest -O2 conftest.c -lg >&5
configure:3382: $? = 0
configure:3385: test -s conftest
configure:3388: $? = 0
configure:3399: result: yes
configure:3410: checking for main in -lgdbm
configure:3430: gcc -o conftest -O2 conftest.c -lgdbm -lg >&5
configure:3433: $? = 0
configure:3436: test -s conftest
configure:3439: $? = 0
configure:3450: result: yes
configure:3461: checking for main in -lm
configure:3481: gcc -o conftest -O2 conftest.c -lm -lgdbm -lg >&5
configure:3484: $? = 0
configure:3487: test -s conftest
configure:3490: $? = 0
configure:3501: result: yes
configure:3512: checking for main in -lstdc++
configure:3532: gcc -o conftest -O2 conftest.c -lstdc++ -lm -lgdbm -lg
>&5
configure:3535: $? = 0
configure:3538: test -s conftest
configure:3541: $? = 0
configure:3552: result: yes
configure:3563: checking for main in -lcrypt
configure:3583: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:3586: $? = 0
configure:3589: test -s conftest
configure:3592: $? = 0
configure:3603: result: yes
configure:3617: checking for dirent.h that defines DIR
configure:3637: gcc -c -O2 conftest.c >&5
configure:3640: $? = 0
configure:3643: test -s conftest.o
configure:3646: $? = 0
configure:3656: result: yes
configure:3669: checking for opendir in -ldir
configure:3696: gcc -o conftest -O2 conftest.c -ldir -lcrypt -lstdc++
-lm -lgdbm -lg >&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure:3699: $? = 1
configure: failed program was:
#line 3677 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir ();
int
main ()
{
opendir ();
;
return 0;
}
configure:3716: result: no
configure:3778: checking for ANSI C header files
configure:3906: result: yes
configure:3919: checking for fcntl.h
configure:3929: gcc -E conftest.c
configure:3935: $? = 0
configure:3954: result: yes
configure:3919: checking for limits.h
configure:3929: gcc -E conftest.c
configure:3935: $? = 0
configure:3954: result: yes
configure:3919: checking for sys/time.h
configure:3929: gcc -E conftest.c
configure:3935: $? = 0
configure:3954: result: yes
configure:3919: checking for unistd.h
configure:3954: result: yes
configure:3919: checking for crypt.h
configure:3929: gcc -E conftest.c
configure:3935: $? = 0
configure:3954: result: yes
configure:3919: checking for string.h
configure:3954: result: yes
configure:3919: checking for memory.h
configure:3954: result: yes
configure:3919: checking for sys/procfs.h
configure:3929: gcc -E conftest.c
configure:3935: $? = 0
configure:3954: result: yes
configure:4011: checking for working alloca.h
configure:4029: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4032: $? = 0
configure:4035: test -s conftest
configure:4038: $? = 0
configure:4048: result: yes
configure:4058: checking for alloca
configure:4096: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4099: $? = 0
configure:4102: test -s conftest
configure:4105: $? = 0
configure:4115: result: yes
configure:4297: checking whether gcc needs -traditional
configure:4332: result: no
configure:4339: checking return type of signal handlers
configure:4367: gcc -c -O2 conftest.c >&5
configure:4370: $? = 0
configure:4373: test -s conftest.o
configure:4376: $? = 0
configure:4386: result: void
configure:4396: checking for vprintf
configure:4433: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4436: $? = 0
configure:4439: test -s conftest
configure:4442: $? = 0
configure:4452: result: yes
configure:4459: checking for _doprnt
configure:4496: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
/tmp/cc1Df0YI.o: In function `main':
/tmp/cc1Df0YI.o(.text+0xb): undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:4499: $? = 1
configure: failed program was:
#line 4465 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _doprnt ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub__doprnt) || defined (__stub____doprnt)
choke me
#else
f = _doprnt;
#endif
;
return 0;
}
configure:4515: result: no
configure:4531: checking for ftime
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for select
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for strftime
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for strtol
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for getrusage
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for times
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for mallinfo
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for setbuffer
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for getpagesize
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4531: checking for strerror
configure:4568: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4571: $? = 0
configure:4574: test -s conftest
configure:4577: $? = 0
configure:4587: result: yes
configure:4600: checking for ftruncate
configure:4637: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4640: $? = 0
configure:4643: test -s conftest
configure:4646: $? = 0
configure:4656: result: yes
configure:4600: checking for strstr
configure:4637: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4640: $? = 0
configure:4643: test -s conftest
configure:4646: $? = 0
configure:4656: result: yes
configure:4600: checking for strcasecmp
configure:4637: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4640: $? = 0
configure:4643: test -s conftest
configure:4646: $? = 0
configure:4656: result: yes
configure:4668: checking for textdomain
configure:4705: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4708: $? = 0
configure:4711: test -s conftest
configure:4714: $? = 0
configure:4724: result: yes
configure:4735: checking for HP-UX needing gmalloc
configure:4746: result: no
configure:4752: checking for valloc
configure:4789: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
configure:4792: $? = 0
configure:4795: test -s conftest
configure:4798: $? = 0
configure:4808: result: yes
configure:4820: checking if malloc debugging is wanted
configure:4840: result: no
configure:4844: checking which of rx or regex is wanted
configure:4862: result: rx
configure:4864: checking for re_rx_search
configure:4901: gcc -o conftest -O2 conftest.c -lcrypt -lstdc++ -lm
-lgdbm -lg >&5
/tmp/ccUVgtrb.o: In function `main':
/tmp/ccUVgtrb.o(.text+0xb): undefined reference to `re_rx_search'
collect2: ld returned 1 exit status
configure:4904: $? = 1
configure: failed program was:
#line 4870 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char re_rx_search (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char re_rx_search ();
char (*f) ();
int
main ()
{
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
choke me
#else
f = re_rx_search;
#endif
;
return 0;
}
configure:4920: result: no
configure:4943: checking that the GDBM library is available
configure:4991: g++ -c -g -O2 conftest.cc >&5
configure:4994: $? = 0
configure:4997: test -s conftest.o
configure:5000: $? = 0
configure:5057: result: yes
configure:5069: checking that Perl 5 is available
configure:5087: result: "yes"
configure:5103: checking "whether STL library has known faults"
configure:5120: g++ -c -g -O2 conftest.cc >&5
configure:5123: $? = 0
configure:5126: test -s conftest.o
configure:5129: $? = 0
configure:5207: result: "no"
configure:5334: creating ./config.status