develooper Front page | perl.perl5.porters | Postings from December 2008

=?UTF-8?B?W3BlcmwgIzYxNjQ4XSBFcnJvciBjb21waWxpbmcgcGVybCA1LjguOTogIHRv?==?UTF-8?B?byBmZXcgYXJndW1lbnRzIHRvIGZ1bmN0aW9uIOKAmGRibWNsb3Nl4oCZ?=

Thread Next
From:
Clinton Gormley
Date:
December 24, 2008 18:40
Subject:
=?UTF-8?B?W3BlcmwgIzYxNjQ4XSBFcnJvciBjb21waWxpbmcgcGVybCA1LjguOTogIHRv?==?UTF-8?B?byBmZXcgYXJndW1lbnRzIHRvIGZ1bmN0aW9uIOKAmGRibWNsb3Nl4oCZ?=
Message ID:
rt-3.6.HEAD-20373-1230123623-1305.61648-75-0@perl.org
# New Ticket Created by  Clinton Gormley 
# Please include the string:  [perl #61648]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61648 >


Hiya

I'm trying to compile 5.8.9 on openSuSE 11.0, x86_64, using the
Configure defaults, and it gives me this error:


Making ODBM_File (dynamic)
Processing hints file hints/linux.pl
Writing Makefile for ODBM_File
make[1]: Entering directory `/home/clinton/downloads/perl-5.8.9/ext/ODBM_File'
make[1]: Leaving directory `/home/clinton/downloads/perl-5.8.9/ext/ODBM_File'
make[1]: Entering directory `/home/clinton/downloads/perl-5.8.9/ext/ODBM_File'
cp ODBM_File.pm ../../lib/ODBM_File.pm
../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap -typemap typemap  ODBM_File.xs > ODBM_File.xsc && mv ODBM_File.xsc ODBM_File.c
cc -c   -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" -fPIC "-I../.."   ODBM_File.c
ODBM_File.xs: In function ‘XS_ODBM_File_DESTROY’:
ODBM_File.xs:124: error: too few arguments to function ‘dbmclose’
make[1]: *** [ODBM_File.o] Error 1
make[1]: Leaving directory `/home/clinton/downloads/perl-5.8.9/ext/ODBM_File'
make: *** [lib/auto/ODBM_File/ODBM_File.so] Error 2

I have these libgdm files:

/usr/include/gdbm.h
/usr/lib64/libgdbm.a
/usr/lib64/libgdbm.so
/usr/lib64/libgdbm.so.3
/usr/lib64/libgdbm.so.3.0.0
/usr/lib64/libgdbm_compat.a
/usr/lib64/libgdbm_compat.so
/usr/lib64/libgdbm_compat.so.3
/usr/lib64/libgdbm_compat.so.3.0.0

My gdbm and gdbm-devel RPMs are version 1.8.3

Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
  Platform:
    osname=linux, osvers=2.6.25.18-0.2-default, archname=x86_64-linux
    uname='linux getafix 2.6.25.18-0.2-default #1 smp 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Dprefix=/opt/perl/'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.8.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.8'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib'



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About