Front page | perl.perl5.porters |
Postings from April 2010
Re: Blead on 11.2
Thread Previous
From:
Have fun
Date:
April 25, 2010 03:15
Subject:
Re: Blead on 11.2
Message ID:
1205ad29-29ee-4afb-9189-bf3895296073@p35g2000prf.googlegroups.com
On Mar 24, 1:05 am, h.m.br...@xs4all.nl ("H.Merijn Brand") wrote:
> On Tue, 23 Mar 2010 13:58:22 -0400, John Peacock
>
>
>
> <john.peac...@havurah-software.org> wrote:
> > H.Merijn Brand wrote:
> > > On my very-up-to-date OpenSUSE 11.2 laptop. So I tried blead:
>
> > > Making ODBM_File (all)
>
> > Didn't you complain about this last year
>
> >http://www.nntp.perl.org/group/perl.perl5.porters/2009/08/msg150289.html
>
> > and describe the workaround the year before?
>
> >http://www.nntp.perl.org/group/perl.perl5.porters/2008/12/msg142876.html
>
> > How many times does this have to come up before you^Wsomeone fixes it...
>
> > ;-)
>
> Done, sort of
>
> http://perl5.git.perl.org/perl.git/commit/78b79474d3d590c36cc13f159fa...
>
> diff --git a/INSTALL b/INSTALL
> index 7c085cd..1b4c2f4 100644 (file)
> --- a/INSTALL
> +++ b/INSTALL
> @@ -1561,6 +1561,26 @@ specific rule.
> SCO prior to 3.2.4 may be missing dbmclose(). An upgrade to 3.2.4
> that includes libdbm.nfs (which includes dbmclose()) may be available.
>
> +=item error: too few arguments to function 'dbmclose'
> +
> +Building ODBM_File on some (Open)SUSE distributions might run into this
> +error, as the header file is broken. There are two ways to deal with this
> +
> + 1. Disable the use of ODBM_FILE
> +
> + Configure ... -Dnoextensions=ODBM_File
> +
> + 2. Fix the header file, somewhat like this:
> +
> + --- a/usr/include/dbm.h 2010-03-24 08:54:59.000000000 +0100
> + +++ b/usr/include/dbm.h 2010-03-24 08:55:15.000000000 +0100
> + @@ -59,4 +59,4 @@ extern datum firstkey __P((void));
> +
> + extern datum nextkey __P((datum key));
> +
> + -extern int dbmclose __P((DBM *));
> + +extern int dbmclose __P((void));
> +
> =item Note (probably harmless): No library found for -lsomething
>
> If you see such a message during the building of an extension, but
>
> --
> 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, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Please make sure if you decide to go "Configure ... -
Dnoextensions=ODBM_File" your first clean up files config.h and
config.sh otherwise lines which contains ODBM will remain there and it
will not work.
Files config.h and config.sh are created by "Configure", so just move
them out of the way and let new instances be re-created by
"Configure ... -Dnoextensions=ODBM_File"
Marcelo
Thread Previous