Re: cvs: php4 /ext/sablot config.m4
| From: | Andi Gutmans | Date: | Mon, 09 Oct 2000 19:30:03 +0000 |
| Subject: | Re: cvs: php4 /ext/sablot config.m4 | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-1970@lists.php.net to get a copy of this message | ||
At 02:20 PM 10/9/00 -0400, Chuck Hagenbuch wrote:
Quoting Andi Gutmans <andi@zend.com>: We put the expat in a different name space that is why your link doesn't work. The expat library includes ~php4/main/php_compat.h. You should make the Saboltron module do the same and not link against external XML libraries (i.e. reverse your patch:). Actually, without my patch, it doesn't even get to building. Once the sablot test is passed, -lsablot is added to the command line for other link tests. So when it tries to test for gzgets in zlib, it fails, because libsablot has unsatisfied dependencies. How do I make sure php_compat.h is included when _that_ test is run?Well actually thinking of it now the Sablotron library is compiled *before* you compile PHP and I guess links against external expat libraries in the system. Correct? In this case, I guess there's nothing you can do with php_compat.h and your patch is correct. I didn't think of it the right way before. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/