Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21816 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48415 invoked by uid 1010); 9 Feb 2006 00:37:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 48400 invoked from network); 9 Feb 2006 00:37:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 00:37:30 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:54713] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8B/41-35443-9CE8AE34 for ; Wed, 08 Feb 2006 19:37:29 -0500 Received: from [192.168.200.106] (c-24-6-5-134.hsd1.ca.comcast.net [24.6.5.134]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k190bGSE009612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 8 Feb 2006 16:37:21 -0800 Message-ID: <43EA8EBC.3040902@lerdorf.com> Date: Wed, 08 Feb 2006 16:37:16 -0800 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Andrew Mather CC: internals@lists.php.net References: <000e01c62cfd$ef7443c0$ca5f8a51@VaioCen> In-Reply-To: <000e01c62cfd$ef7443c0$ca5f8a51@VaioCen> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Writing PHP extensions without re-building PHP From: rasmus@lerdorf.com (Rasmus Lerdorf) Andrew Mather wrote: > ps: the example given at http://www.zend.com/php/internals/ makes sense, as such, > but while the first two command (phpize, ./configure, seem to work, the make command > throws errors like confetti, based on the lack of php.h, zend.h etc in an environment that > was installed 'out of the box' of Suse 9.3, rather than to the bespoke 'we can rebuild it' > requirements of the example. > > Making such an example compile and run as a dynamically loadable module in the > described environment would be my goal, allowing me to extend it as required later. Perhaps you didn't install the -dev package in SUSE? I know nothing about SUSE and how they chose to package PHP, but if you installed PHP from our sources, it would have installed those files. I am sure SUSE has those hidden away somewhere. -Rasmus