[MonetDB-users] Autoconf error for /MonetDB4-XQuery/pathfinder module

Hey, When I try to install monetdb (either using the monetdb-install.sh script or the configure/make/make install mechanism in each directory) I get the following error for the MonetDB4-XQuery module: ----- this error occurs at the beginning of the 'make', caused by automake ---- Can't load '/amd64/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so' for module Data::Dumper: /amd64/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so: cannot open shared object file: No such file or directory at /amd64/usr/lib/perl/5.8/XSLoader.pm line 68. at /amd64/usr/lib/perl/5.8/Data/Dumper.pm line 27 Compilation failed in require at /usr/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/bin/autom4te line 39. ---------------- Note that the /amd64/usr/lib/perl/5.8/* files all exist in the places named above! Still, it generates the "No such file or directory". --------------------------------- Line 68 (and surroundings) of XSLoader.pm reads as: # Many dynamic extension loading problems will appear to come from # this section of code: XYZ failed at line 123 of DynaLoader.pm. # Often these errors are actually occurring in the initialisation # C code of the extension XS file. Perl reports the error as being # in this perl code simply because this was the last perl code # it executed. my $libref = dl_load_file($file, 0) or do { require Carp; Carp::croak("Can't load '$file' for module $module: " . dl_error()); }; push(@dl_librefs,$libref); # record loaded object --------------------------------- --------------------------------- Line 27 of Dumper.pm reads as: XSLoader::load 'Data::Dumper'; --------------------------------- The error above I also get when I simply type "automake". I currently suspect some 32 bit vs. 64 bit problem, as the machine I'm compiling things on (2x Dual-Core AMD Opteron Processor 2220 SE) can run in either 32 or 64 bit mode. uname outputs: "2.6.16.29.2.amd64-smp" Any (other) ideas? Should I post some other debug information? The output of "configure" is posted below. The other packages of (Monet DB Common etc.) run through smoothly. THANKS! Ingmar ------------- output of "configure" for MonetDB4-XQuery/pathfinder ----- iweber@dork:/scratch/KM/ir-scratch/ingmar/MonetDB-SuperBall/MonetDB-Venus-SuperBall-SR1/MonetDB4-XQuery/pathfinder [10083] ./configure --prefix='/scratch/KM/ir-scratch/ingmar/MonetDB-SuperBall/installation/' --enable-optimize --disable-debug --with-libxml2=/amd64/usr checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /amd64/usr/bin//install -c checking whether build environment is sane... yes checking for gawk... /usr/bin/gawk checking whether make sets $(MAKE)... yes checking for monetdb-config... /scratch/KM/ir-scratch/ingmar/MonetDB-SuperBall/installation/bin/monetdb-config checking whether MonetDB Common version 1.16.2 or newer is installed... yes: found version 1.16.2 checking for style of include used by make... GNU 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 dependency style of gcc... none checking for egrep... grep -E checking for ANSI C header files... no 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 how to run the C preprocessor... gcc -E checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for long... yes checking size of long... 8 checking whether byte ordering is bigendian... no checking which Linux distribution we're using... Debian3.1 checking if your compiler is C99 compliant... yes checking for ant... no checking for java... no checking for javac... no checking for jar... no checking for javadoc... no checking for monetdb4-config... /scratch/KM/ir-scratch/ingmar/MonetDB-SuperBall/installation/bin/monetdb4-config checking whether MonetDB4 version 4.16.2 or newer is installed... yes: found version 4.16.2 checking for monetdb-clients-config... /scratch/KM/ir-scratch/ingmar/MonetDB-SuperBall/installation/bin/monetdb-clients-config checking whether MonetDB Clients version 1.16.2 or newer is installed... yes: found version 1.16.2 checking for a sed that does not truncate output... /amd64/bin//sed checking for option to reload object files... -r checking for BSD-compatible nm... /amd64/usr/bin//nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking for flex... no checking for lex... no checking for yywrap in -lfl... no checking for yywrap in -ll... no checking for a BSD-compatible install... /amd64/usr/bin//install -c checking for ld used by gcc... ld -IPA -m elf_x86_64 checking if the linker (ld -IPA -m elf_x86_64) is GNU ld... yes checking the maximum length of command line arguments... 32768 checking command to parse /amd64/usr/bin//nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (ld -IPA -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... ld -IPA -m elf_x86_64 checking if the linker (ld -IPA -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (ld -IPA -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (ld -IPA -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for sys/types.h... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking return type of signal handlers... void checking for ptrdiff_t... yes checking for ssize_t... yes checking for __int64... no checking for long long... yes checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... (cached) yes checking size of long... (cached) 8 checking for void *... yes checking size of void *... 8 checking for size_t... (cached) yes checking size of size_t... 8 checking for ssize_t... (cached) yes checking size of ssize_t... 8 checking for ptrdiff_t... (cached) yes checking size of ptrdiff_t... 8 checking for long long... (cached) yes checking size of long long... 8 checking for __int64... (cached) no checking size of __int64... 0 checking for ftruncate... yes checking for gettimeofday... yes checking for opendir... yes checking whether ln -s works... yes checking for rm... rm -f checking for mv... mv -f checking for lockfile... echo checking for bash... /bin/sh checking for rpmbuild... no checking for rpm... no checking for an ANSI C-conforming const... (cached) yes checking for inline... inline checking for python... no checking for perl... /amd64/usr/bin//perl checking for objc... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sem_init in -lpthreadGC2... no checking for sem_init in -lpthreadGC1... no checking for sem_init in -lpthreadGC... no checking for sem_init in -lpthread... yes checking for pthread_sigmask in -lpthread... yes checking for pthread_kill_other_threads_np in -lpthread... no checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for readline in -lreadline... yes checking for rl_completion_matches in -lreadline... yes checking for SSL_read in -lssl... no checking for ERR_get_error in -lcrypto... no checking for dlopen in -ldl... yes checking for malloc in -lmalloc... no checking for mallopt... yes checking for mallinfo... yes checking for gethostbyname_r... yes checking for setsockopt... yes checking for SOCKET... no checking for socklen_t... yes checking for libz... auto checking for libbz2... auto checking for getopt_long... yes checking libperfctr.h usability... no checking libperfctr.h presence... no checking for libperfctr.h... no checking libpperf.h usability... no checking libpperf.h presence... no checking for libpperf.h... no checking pcl.h usability... no checking pcl.h presence... no checking for pcl.h... no checking for pcre-config... no pcre-config not found; please use --with-pcre=<path> checking for pcre >= 4.5... no (without pcre-config to query the pcre version, we assume it's < 4.5) checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for nl_langinfo... yes checking for setlocale... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv_t... yes checking for iconv in -liconv... no checking for libiconv in -liconv... no checking for iconv... yes checking for texi2html... no checking for latex2html... no checking for latex... no checking for pdflatex... no checking for dvips... no checking for fig2dev... no checking postscript option... eps checking /amd64/usr/bin//install -c --backup option... --backup=nil checking for php-config... no Cannot find php-config. Please use --with-php-config=PATH no checking for monetdb5-config... no checking whether gcc and cc understand -c and -o together... yes checking for unistd.h... (cached) yes checking for getopt.h... (cached) yes checking for getopt_long... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for bool... no checking for stdint.h... (cached) yes checking for socklen_t... (cached) yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for basename... yes checking for int... (cached) yes checking size of int... (cached) 4 checking for void *... (cached) yes checking size of void *... (cached) 8 checking if your compiler understands `__attribute__'... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking return type of signal handlers... (cached) void checking for strings.h... (cached) yes checking for strcasecmp... yes checking for xml2-config.64... no checking for xml2-64-config... no checking for xml2-config... /amd64/usr/bin/xml2-config checking for libxml/parser.h... yes checking for xmlParseDocument in -lxml2... yes checking libxml/SAX2.h usability... yes checking libxml/SAX2.h presence... yes checking for libxml/SAX2.h... yes configure: The following compiler options will be used to integrate the libxml2 XML parsing library: To find the libxml2 include files: -I/usr/include/libxml2 To find the libxml2 library: -L/amd64/usr/lib64 -L/usr/lib -lxml2 -lz -lpthread -lm SAX2 support: HAVE_SAX2=1 checking for string.h... (cached) yes checking for strdup... yes checking for strtok_r... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking for tzname... yes checking whether utime accepts a null argument... yes checking for ftime... yes checking for times... yes checking for ctime_r... yes checking for localtime_r... yes checking ctime_r3... no configure: creating ./config.status config.status: creating Makefile config.status: creating MonetDB-XQuery.spec config.status: creating RunMapprove config.status: creating RunMapprove.bat config.status: creating RunMtest config.status: creating RunMtest.bat config.status: creating extra.mk config.status: creating rpm.mk config.status: creating compiler/Makefile config.status: creating conf/Makefile config.status: creating modules/Makefile config.status: creating runtime/Makefile config.status: creating runtime5/Makefile config.status: creating src/Makefile config.status: creating compiler/algebra/Makefile config.status: creating compiler/core/Makefile config.status: creating compiler/debug/Makefile config.status: creating compiler/include/Makefile config.status: creating compiler/mem/Makefile config.status: creating compiler/mil/Makefile config.status: creating compiler/parser/Makefile config.status: creating compiler/schema/Makefile config.status: creating compiler/semantics/Makefile config.status: creating compiler/sql/Makefile config.status: creating modules/pftijah/Makefile config.status: creating runtime/xrpc/Makefile config.status: creating src/tools/Makefile config.status: creating compiler/algebra/map/Makefile config.status: creating compiler/algebra/opt/Makefile config.status: creating compiler/algebra/prop/Makefile config.status: creating runtime/xrpc/admin/Makefile config.status: creating runtime/xrpc/export/Makefile config.status: creating pf_config.h config.status: pf_config.h is unchanged config.status: executing depfiles commands

Hi Ingmar, Thanks for trying MonetDB. On 29-05-2007 19:32:57 +0200, Ingmar Weber wrote:
Hey,
When I try to install monetdb (either using the monetdb-install.sh script or the configure/make/make install mechanism in each directory) I get the following error for the MonetDB4-XQuery module:
----- this error occurs at the beginning of the 'make', caused by automake ---- Can't load '/amd64/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so' for module Data::Dumper: /amd64/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so: cannot open shared object file: No such file or directory at /amd64/usr/lib/perl/5.8/XSLoader.pm line 68. at /amd64/usr/lib/perl/5.8/Data/Dumper.pm line 27 Compilation failed in require at /usr/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/bin/autom4te line 39. ----------------
Note that the /amd64/usr/lib/perl/5.8/* files all exist in the places named above! Still, it generates the "No such file or directory".
This looks very much like a problem with perl on your machine. Apparently Debian installs 64-bits stuff in /amd64, and 32-bits stuff in /. Are you really sure /amd64/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so exists? What does `file /amd64/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so` say? Apart from this issue, it appears strange to me that autoconf/automake are being used.
participants (2)
-
Fabian Groffen
-
Ingmar Weber