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

Re: [BUG] SDBM won't compile on FreeBSD 5.1-RELEASE FreeBSD

Thread Previous | Thread Next
From:
Jos I. Boumans
Date:
August 31, 2003 06:53
Subject:
Re: [BUG] SDBM won't compile on FreeBSD 5.1-RELEASE FreeBSD
Message ID:
51BECC9F-DBBA-11D7-AF67-000A956B0E06@dwim.org

On Sunday, August 31, 2003, at 03:28 PM, Rafael Garcia-Suarez wrote:

> Jos Boumans wrote:
>> This is a vanilla FreeBSD 5.1 install, and i tried to install 5.8.0 on
>> it, but got the following error:
>
> I'm guessing that your perl is configured with usemymalloc
> (verify in config.sh to be sure) and that -Dusemymalloc=n would cure 
> it.
i'm afraid not:

[kane@serf ~/perl-5.8.0]$ grep malloc config.sh
d_mymalloc='undef'
i_malloc='define'
mallocobj=''
mallocsrc=''
malloctype='char *'
usemymalloc='n'

this was configured with a './Configure -Uprefix=/opt -des'

since i modified some files, i threw away the perl dir and extracted 
freshly, and added the -Dusemymalloc=n explicilty, but predictably, the 
same error occurred.

> The offending #defines are in ext/SDBM_File/sdbm/sdbm.h -- there's 
> probably
> something missing here.
yeah, i noticed that that was where the actual include was happning, so 
i commented out the 'include stdlib.h', but the same error occurred.

> Any other failures ?
not up until that point...

FYI, i tried to build perl5.8.0 on my other freebsd system (which is 
5.0), and exactly the same error occurred:

[kane@fs ~/perl-5.8.0]$ uname -a
FreeBSD fs.domaintje.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 
22:16:53 GMT 2003     
root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386


--
	Jos Boumans
	
	"Never ask a man what computer he uses. If it's a Mac, he'll
	tell you. If it's not, why embarrass him?" - Tom Clancy

	CPANPLUS	http://cpanplus.sf.net
		


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