Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 16063 invoked from network); 29 Aug 2004 16:54:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Aug 2004 16:54:20 -0000 Received: (qmail 66460 invoked by uid 500); 29 Aug 2004 16:54:20 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 66438 invoked by uid 500); 29 Aug 2004 16:54:20 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 66424 invoked by uid 99); 29 Aug 2004 16:54:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.154.174.52] (HELO mail.logilune.com) (195.154.174.52) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 29 Aug 2004 09:54:19 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id E66461E1CE9; Sun, 29 Aug 2004 18:54:16 +0200 (CEST) Message-ID: <41320A37.9060406@stason.org> Date: Sun, 29 Aug 2004 12:54:15 -0400 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 Cc: Joe Schaefer , apreq-dev@httpd.apache.org Subject: Re: libapreq2-2.04-dev release candidate #2 References: <877jrlan8a.fsf@gemini.sunstarsys.com> <87isb42rgl.fsf@gemini.sunstarsys.com> <1093658675.2294.8.camel@beast.rexursive.com> <87wtzjovbe.fsf@gemini.sunstarsys.com> <4131224F.3070107@stason.org> <87isb2pxca.fsf@gemini.sunstarsys.com> <41312E7D.6050305@stason.org> <87d61apvoj.fsf@gemini.sunstarsys.com> <41313B3D.5000009@stason.org> <871xhqejzf.fsf@gemini.sunstarsys.com> <4131EB63.4020603@stason.org> <87pt5ac6u2.fsf@gemini.sunstarsys.com> <4131F833.1010805@stason.org> In-Reply-To: <4131F833.1010805@stason.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stas Bekman wrote: >>>> You might add a few more debugging messages in Apache__Upload.h's >>>> apreq_xs_upload_tempname XSUB to see which call is generating the >>>> APR_EGENERAL (20014) error: my guess is that apreq_file_mktemp is >>>> the likely suspect. >>> >>> >>> Right on, Joe >>> >>> const char *tmpdir = apreq_env_temp_dir(env, NULL); >>> >>> returns NULL. >> >> >> >> NULL should be an ok value- what it means to apreq_file_mktemp is: >> the user never gave me a specific directory, so ask the OS via >> apr_temp_dir_get. Maybe *that* function is failing to find a valid >> directory on your box? > > > Looks like. I wonder why. I'll try to step through with the debugger. I've figured it out /home/stas/httpd/prefork/lib/libapr-0.so.0 was a symlink to an old library. And 'make install' in httpd-2.0 wasn't updating the symlink. Once I've nuked all libapr* and installed them from fresh, everything is working fine. Sounds like a bug in apr installation system. The only remaining problem now: pod2test docs/Cookie.pod docs/Cookie.t make[1]: pod2test: Command not found make[1]: *** [docs/Cookie.t] Error 127 make[1]: Leaving directory `/home/stas/apache.org/httpd-apreq-2/glue/perl' make: *** [perl_test] Error 2 (but it's not in the distribution, the distro works fine). -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com