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

Re: [perl #61648] Error compiling perl 5.8.9: too few arguments tofunction =?UTF-8?B?4oCYZGJtY2xvc2XigJk=?=

Thread Previous
From:
H.Merijn Brand
Date:
December 25, 2008 04:04
Subject:
Re: [perl #61648] Error compiling perl 5.8.9: too few arguments tofunction =?UTF-8?B?4oCYZGJtY2xvc2XigJk=?=
Message ID:
20081225130411.338b5f81@pc09.procura.nl
On Wed, 24 Dec 2008 05:00:24 -0800, Clinton Gormley (via RT)
<perlbug-followup@perl.org> wrote:

> # 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:

add -Dnoextensions=ODBM_File

IIRC this is a bad try in wrapping ODBM around ndbm, and it simply
doesn't work on OpenSUSE

> 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'
> 
> 


-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.3, and 11.0, AIX 5.2, and Cygwin.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


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