Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22736 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27651 invoked by uid 1010); 13 Apr 2006 21:02:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27635 invoked from network); 13 Apr 2006 21:02:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 21:02:22 -0000 X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([67.139.134.202:3839] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 7E/52-19715-D5CBE344 for ; Thu, 13 Apr 2006 17:02:21 -0400 Received: (qmail 2554 invoked by uid 98); 13 Apr 2006 21:02:21 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 ( Clear:RC:1(127.0.0.1):. Processed in 0.068929 secs); 13 Apr 2006 21:02:21 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.068929 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 21:02:21 -0000 Received: from 67.108.68.36 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 13 Apr 2006 16:02:21 -0500 (CDT) Message-ID: <36873.67.108.68.36.1144962141.squirrel@www.l-i-e.com> In-Reply-To: <200604131029.44095.johannes@php.net> References: <46894.67.184.121.112.1144914867.squirrel@www.l-i-e.com> <443E09B0.3070902@fastmail.fm> <200604131029.44095.johannes@php.net> Date: Thu, 13 Apr 2006 16:02:21 -0500 (CDT) To: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: non-root extensions Re: [PHP-DEV] tsrm_ls From: ceo@l-i-e.com ("Richard Lynch") On Thu, April 13, 2006 3:29 am, Johannes Schlueter wrote: > http://www.zend.com/php/internals/extension-writing1.php#Heading9 I've decided, for now, to just work through this tutorial, and see if that gets me up to speed... Naturally, I've stumbled at square one. After creating the files and doing phpize, ./configure yields: . . . checking whether -lc should be explicitly linked in... yes creating libtool usage: mkdir [-pv] [-m mode] directory ... configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged If I have stumbled my way through "configure" correctly, then I think the problem is that it's trying to create a directory in /tmp I can't do that, as /tmp is reserved by my host for root. I *DO* have access to /var/tmp, which is a 'tmp' dir, if I can somehow override $(TMPDIR=/tmp)... Is there a clean way to do that, or should I just hack "configure" directly and move on with life? Would it be useful to have a PHP_TMPDIR for this? Similar to PHP_AUTOCONF which I needed to use, as my host has: /usr/local/bin/autoconf213 /usr/local/bin/autoconf253 /usr/local/bin/autoconf259 And similarly for autoheader, of course. I guess different packages need/prefer each of those, so he finds it handy to have them all. Works for me. [shrug] Or am I the only goofball on the planet whose /tmp dir is out of bounds? I could take a stab at making a patch for this, though odds are pretty good I'd get it wrong... -- Like Music? http://l-i-e.com/artists.htm