develooper Front page | perl.perl5.porters | Postings from July 2003

Re: 5.6.2

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
July 30, 2003 09:09
Subject:
Re: 5.6.2
Message ID:
20030730180632.B76F.H.M.BRAND@hccnet.nl
On Wed 30 Jul 2003 17:38, Enache Adrian <enache@rdslink.ro> wrote:
> On Wed, Jul 30, 2003 a.d., Rafael Garcia-Suarez wrote:
> > I've created a sub-branch //depot/maint-5.6/perl-5.6.2 from the perl-5.6.1
> > sources.
> > 
> > In it, I've upgraded DB_File from the CPAN distribution, and I've applied
> > the necessary patches to get it to compile with gcc 3.x and / or on
> > OpenUNIX 8.
> > 
> > If you have any patch to 5.6.1 necessary to compile it on modern
> > systems, send them my way. Just get 5.6.1 and try to compile it
> 
> Here we go.
> This patch -- a cut-n-paste from blead,
> (+ the make depend/<built-in> thing -- that is already fixed, right ?)
> makes 5.6.1 flawlessly build on FreeBSD 5.1-current.
> 
> And exactly like bleadperl, 5.6.1 runs fine with usemymalloc on this system.
> 
> Regards,
> Adi

Rafael, do you know how to regenreate Configure from the metaunits?
Below patch - how correct it may be - might be error prone.

> --- ./y/perl-5.6.1/Configure	Mon Mar 19 05:03:33 2001
> +++ perl-5.6.1/Configure	Wed Jul 30 17:36:39 2003
> @@ -5875,8 +5875,25 @@
>  done'
>  
>  : see if this is a malloc.h system
> -set malloc.h i_malloc
> -eval $inhdr
> +: we want a real compile instead of Inhdr because some systems have a
> +: malloc.h that just gives a compile error saying to use stdlib.h instead
> +echo " "
> +$cat >try.c <<EOCP
> +#include <stdlib.h>
> +#include <malloc.h>
> +int main () { return 0; }
> +EOCP
> +set try
> +if eval $compile; then
> +    echo "<malloc.h> found." >&4
> +    val="$define"
> +else
> +    echo "<malloc.h> NOT found." >&4
> +    val="$undef"
> +fi
> +$rm -f try.c try
> +set i_malloc
> +eval $setvar
>  
>  : see if stdlib is available
>  set stdlib.h i_stdlib

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org



Thread Previous | 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