Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22738 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41523 invoked by uid 1010); 13 Apr 2006 22:04:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41508 invoked from network); 13 Apr 2006 22:04:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 22:04:07 -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:1962] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 20/C3-19715-5DACE344 for ; Thu, 13 Apr 2006 18:04:06 -0400 Received: (qmail 53629 invoked by uid 98); 13 Apr 2006 22:04:05 -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.065664 secs); 13 Apr 2006 22:04:05 -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.065664 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 13 Apr 2006 22:04:05 -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 17:04:05 -0500 (CDT) Message-ID: <42179.67.108.68.36.1144965845.squirrel@www.l-i-e.com> Date: Thu, 13 Apr 2006 17:04:05 -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: phpize / shtool From: ceo@l-i-e.com ("Richard Lynch") After running phpize and successfully compiling my extension, I call my function and get a lot of errors about a mis-match in versioning and debug/non-debug. I then realized that I had called the webhost's 'phpize' from /usr/local/bin, rather than my new one in my own home directory. Calling the CORRECT 'phpize', however, is disconcerting: -bash-2.05b$ ../../usr/local/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script. But I already set $PHP_AUTOCONF. Honest! -bash-2.05b$ echo $PHP_AUTOCONF /usr/local/bin/autoconf213 -bash-2.05b$ $PHP_AUTOCONF -h Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir] [-l dir] [--localdir=dir] [--version] [template-file] I look at the source of my phpize, and am not finding anything to see why this is happening... test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader if test ! -x "`$php_shtool path $PHP_AUTOCONF`"; then In a shell: test -z $PHP_AUTOCONF test -z $PHP_AUTOHEADER ./build/shtool path $PHP_AUTOCONF test ! -x "./build/shtool path $PHP_AUTOCONF" all produced no output at all I tried all the other build/shtool on my system, and none of them produced output for "path $PHP_AUTOCONF" Not quite sure what any of them are supposed to do, mind you... Seems like phpize is expecting that last test to produce output... -- Like Music? http://l-i-e.com/artists.htm