note 2092 deleted from ref.xml by nicos
| From: | nicos@php.net | Date: | Sun, 04 May 2003 18:00:24 +0000 |
| Subject: | note 2092 deleted from ref.xml by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47503@lists.php.net to get a copy of this message | ||
I'm not sure if anyone else has had or will have this problem, but here is my solution. For
some reason, the PHP compile did recognise the Apache 1.3.9 support for XML. I circumvented this by
creating a link from /usr/local/include/xml to the Apache src/lib/expat-lite directory. I then
however ran into problems with the Apache compile. It was looking for libexpat.a which hadn't
been created. I tried to create this by downloading the source and modifying the Makefile, but it
wasnt created for some reason. Finally, I resorted to creating the libexpat.a file by hand:
ar -rc xmltok/xmltok.o
ar -q xmltok/xmlrole.o
ar -q xmlwf/xmlwf.o
ar -q xmlwf/xmlfile.o
ar -q xmlwf/codepage.o
ar -q xmlparse/xmlparse.o
ar -q xmlparse/hashtable.o
I hope this helps someone, because it would have saved me a lot of time. Also note that I was
getting an ANSI non-compliance error in the Apache build process. After added the -v swicth to line
2141 as pointed out in the FAQ, I found out it was the missing libexpat.a package.