Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21817 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49791 invoked by uid 1010); 9 Feb 2006 00:41:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49775 invoked from network); 9 Feb 2006 00:41:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2006 00:41:16 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:39275] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id D3/81-35443-9AF8AE34 for ; Wed, 08 Feb 2006 19:41:14 -0500 Received: from localhost (strato.aixcept.de [81.169.182.136]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 1279A35C007; Thu, 9 Feb 2006 01:41:10 +0100 (CET) Date: Thu, 9 Feb 2006 01:41:08 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1272469188.20060209014108@marcus-boerger.de> To: Rasmus Lerdorf Cc: Andrew Mather , internals@lists.php.net In-Reply-To: <43EA8EBC.3040902@lerdorf.com> References: <000e01c62cfd$ef7443c0$ca5f8a51@VaioCen> <43EA8EBC.3040902@lerdorf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Writing PHP extensions without re-building PHP From: helly@php.net (Marcus Boerger) Hello Rasmus, Thursday, February 9, 2006, 1:37:16 AM, you wrote: > 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. They have and there is no need to rebuild php completley, you can build extensions standalone, only most developers prepare integrated builds in the beginning. For some info: http://talks.marcus-boerger.de you'll find what you want. Best regards, Marcus