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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to