lovetree
09-23-2001, 12:44 PM
I have been trying to compile php4 with --with-dom option, but without success.
I installed libxml2 using rpm and from source, but php still cannot find it and complains during 'configure' .
Any advise?
-David
ffeingol
09-23-2001, 01:45 PM
I'm not familar with that option, but must of the options let you do this:
--with-option=/path/to/option
Frank
lovetree
09-23-2001, 02:08 PM
Originally posted by ffeingol
I'm not familar with that option, but must of the options let you do this:
--with-option=/path/to/option
Frank
I did 'locate' and confirmed that libxml2 libraries are at /usr/lib.
And did --with-dom=/usr/lib but without success. Maybe if someone can point as to what file php is is looking for, then I will try again...
Thanks
nexzt
09-23-2001, 10:03 PM
make sure when you run ./configur you have --with-dom=/path/to/isntalled-prefix also check and make sure when do you a 'locate' that the path to the .so files and such are in /etc/ld.so.conf if the path isn't just add the path and run /sbin/./ldconfig and try again.
ffeingol
09-23-2001, 10:51 PM
You make also want to do a:
make clean
or rm your config.cache (I believe that is the name). If not, the configure script will remember things from the previous configure and it won't work correctly.
Frank
lovetree
09-24-2001, 02:32 AM
I am learning and hopefully fast.
After going through documentation and suggestions, I am still stuck and php still cannot locate libxml2 library.
I will try again tomorrow.
Thanks folks!
-David