Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64715 invoked from network); 28 May 2003 07:56:07 -0000 Received: from unknown (HELO jawa.at) (213.229.17.146) by pb1.pair.com with SMTP; 28 May 2003 07:56:07 -0000 Received: from dings.jawa.at (dings.jawa.at [192.168.200.60]) by jawa.at (8.12.6p2/8.12.6) with ESMTP id h4S7u4Ri072479; Wed, 28 May 2003 09:56:04 +0200 (CEST) (envelope-from mbretter@jawa.at) Date: Wed, 28 May 2003 09:56:08 +0200 (=?ISO-8859-15?Q?Westeurop=E4ische_Normalzeit?=) To: joerg mauz cc: internals@lists.php.net In-Reply-To: <000101c324e8$598cfb10$680fa8c0@asterix> Message-ID: References: <000101c324e8$598cfb10$680fa8c0@asterix> X-X-Sender: mbretter@files.jawa.at MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-32.2 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_PINE version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Subject: Re: [PHP-DEV] building external libraries for binary distributtion From: mbretter@jawa.at (Michael Bretterklieber) Hi, On Wed, 28 May 2003, joerg mauz wrote: > hi all, > > i work on building my own external library that should be usable within > php > using the //dl(.) command. so i read it the docs about how to write > extension > but i felt somehow low left alone, cause the docs only just describes > how to > create extensions that are shipped with the source for being able to > build a > complete new php (and the code the documents contain isn't working > either !!!). > so what i'm looking for is a mechanism to built my extension on my local > php > installation (full sourc of everything available) and then just only > send the library > file (myext.so) to the customer, that itself just puts the lib somewhere > to be loaded > by php's //dl(.) command > > are there any other docs / recources available than those from the > php-manual: en/zend.creating.php > http://pear.php.net/manual/en/introduction.php#about-pecl - after you have written your config.m4 do this: - phpize - ./configure - make - make install then you get a .so, wich you can send to your customer. bye, -- ------------------------------- ---------------------------------- Michael Bretterklieber - http://www.bretterklieber.com JAWA Management Software GmbH - http://www.jawa.at Tel: ++43-(0)316-403274-12 - GSM: ++43-(0)676-84 03 15 712 ------------------------------- ---------------------------------- "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972