Article View: news.software.nntp
Article #74038Re: make install failed to malloc
From: ays
Date: Tue, 15 Aug 2006 21:20
Date: Tue, 15 Aug 2006 21:20
53 lines
2809 bytes
2809 bytes
Ok, the rpm 2.3.5 version didn't work either, I uninstalled and tried manual install, yet again. I used ./configure --with-perl this time make reported no errors. make install reported: /usr/local/news/db/active touch /usr/local/news/db/active.times chown news /usr/local/news/db/active.times chgrp news /usr/local/news/db/active.times chmod 0664 /usr/local/news/db/active.times ../support/install-sh -c -o news -g news -m 0664 -B .OLD newsgroups.minimal /usr/local/news/db/newsgroups touch /usr/local/news/db/history /usr/local/news/bin/makedbz -i -o makedbz: failed to malloc 60000000 bytes at dbz.c line 1282: Cannot allocate memory make[1]: *** [/usr/local/news/db/history] Error 1 make[1]: Leaving directory `/tempinn/inn-2.4.3/site' make: *** [install] Error 1 root@host [/tempinn/inn-2.4.3]# I found this: Error handlers shouldn't call warn or die unless great caution is taken to prevent infinite recursion. Also be aware that sysdie is called if malloc fails in xmalloc, so if the error handler needs to allocate memory, it must not use xmalloc or a related function to do so and it must not call die to report failure. ref: http://haven.stanford.edu/~eagle/software/inn/docs/hacking.html But I have no idea what that means or if it helps at all. I'm stumped :( ays "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:ebpa0n$col$1@puck.litech.org... > In article <12dv6uv259ra536@corp.supernews.com>, > ays <serenity@OBVIOUSc-zone.net> wrote: > >the history file is 0 bytes and contains nothing. > > Okay, then figure out how many posts are in your backup, and use > that number with the -s flag for makehistory. > > > -- > Jeffrey M. Vinocur > jeff@litech.org
Technical Details
Message-ID:
<12e4ekk5d8hqfe6@corp.supernews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.gamma.ru!Gamma.RU!sn-xt-sjc-02!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<12dtdvpq2mp4i43@corp.supernews.com> <ebngm4$b42$1@puck.litech.org> <12dv6uv259ra536@corp.supernews.com> <ebpa0n$col$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <12e4ekk5d8hqfe6@corp.supernews.com> Subject: Re: make install failed to malloc Date: Tue, 15 Aug 2006 14:20:43 -0700 From: "ays" <serenity@OBVIOUSc-zone.net> References: <12dtdvpq2mp4i43@corp.supernews.com> <ebngm4$b42$1@puck.litech.org> <12dv6uv259ra536@corp.supernews.com> <ebpa0n$col$1@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.gamma.ru!Gamma.RU!sn-xt-sjc-02!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Complaints-To: abuse@supernews.com Lines: 53