Re: Re: PECL Extension Compilation

From: Date: Thu, 19 Aug 2004 07:28:29 +0000
Subject: Re: Re: PECL Extension Compilation
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1195@lists.php.net to get a copy of this message
Sara Golemon wrote:
1) Download foo.tgz 2) cd /usr/local/src/php-4.3.9/ext (adjust for your installation)
3) tar -zxf /download/foo.tgz     (adjust for where you downloaded it to)
To make a shared module for an already built installation: 4) cd foo 5) phpize
6) ./configure --with-foo    (or --enable-foo depending on whether or not
the package requires external libs) just 'configure' will usually do?
and 'configure --help' should tell you whether it is --with or --enable
7) make all install i'd make that 2 steps as "make install" may require special permissions
that "make all" doesn't need (sudo)
To build it staticly into a new compile: 4) cd .. 5) ./buildconf 6) ./configure <your normal options> --with-foo (or --enable-foo) 7) make all install
-- Hartmut Holzgraefe <hartmut@php.net>

« previous php.pecl.dev (#1195) next »