Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 11, 2010, 8:22 pm
rate this thread
I would like to compile php (version 5.2.3) with yaz (2.1.18),
in a way that i can step through the results with gdb.
I can already compile php, with a configure like:
CFLAGS='-g -O0' ./configure --prefix=/home/danh/install.d/
php_5_2_3_static --disable-shared --enable-static
This produces a php that i can step through with gdb.
But i don't know how to shoehorn yaz in (i would like to do
yaz 2.1.18). I tried adding --with-yaz, but it had no
Thanks in advance for any ideas.
(PS: i'm doing this on ubuntu 9.10. And i'm using
old versions of php and yaz in order to chase down
Re: would like to compile a debugging version of php with yaz
On Tue, 11 May 2010 13:22:25 -0700, dan wrote:
You're probably better off dropping the CFLAGS and just adding --enable-
debug to the configure options.
The yaz extension doesn't ship with the main PHP distribution; it lives
in PECL. Once you've got your debug build of PHP installed, you can
install yaz through the instructions in the manual , since phpize will
pick up on the fact PHP is a debug build and build the extension