[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] SpareMiNT Perl
Hi,
On Thu, Dec 07, 2000 at 12:59:43AM +0100, Jan Krupka wrote:
> Hi!
>
> Today I have tried to run some Perl scripts with new SpareMiNT Perl. But I
> only got this message: "panic Off-page sbrk" even I run the perl without
> parametres. Have somebody some hint?
Yes, recompile Perl yourself and stick with the default answers to the
Configure questions. ;-)
You have to answer "no" to "Do you wish to attempt to use the malloc that
comes with perl-5.7.0?".
Frank, can you fix that? BTW, why is the Perl malloc used? The default is
"no" and in hints/mint.sh "usemymalloc" is not mentioned. If nothing else
helps, you can try the patch at the end of this mail.
Ciao & Thanks!
Guido
--- perl-5.7.0/hints/mint.sh.malloc Wed Dec 6 23:19:07 2000
+++ perl-5.7.0/mint.sh Wed Dec 6 23:22:09 2000
@@ -45,7 +45,12 @@
#
# Some good answers to the questions in Configure:
# Does Configure really get all these wrong?
-usenm='true'
+case "$usemymalloc" in
+ '') usemymalloc='n'
+ ;;
+esac
+case "$usenm" in
+ '') usenm='true'
+ ;;
+esac
+usenm='true'
d_suidsafe='true'
clocktype='long'
usevfork='true'