Click to See Complete Forum and Search --> : --with-dom install problem


Anon
11-10-2000, 05:52 PM
i compile php4.03pl1 with configure option:

--with-dom=/usr/local/libxml/lib

...which pionts at the *.so's for llibxml2-2.2.7.

it compiles error free. but all functions are undefined when i test them.

any ideas?

Anon
11-10-2000, 06:39 PM
Have you installed libxml? make;make install?
I supposse you have.
Then I suggest you to build php as a module
--with-apxs
I have:

--enable-bcmath --with-db --enable-bottaro --with-apxs=/apache/bin/apxs --with-sablot --with-dom --enable-shmop
--with-zlib --enable-track-vars --with-ftp --with-gettext --with-mysql --enable-trans-sid --with-gd --with-mcrypt
--enable-sysvsem --enable-sysvshm

And works.
Luis

Anon
11-10-2000, 06:41 PM
libxml is compiled ;)

and php is compiled as an apache module.

Anon
11-10-2000, 07:33 PM
i got it to work:

used the newest snapshot from snaps.php.net

and moved my libxml libraries to /usr/lib instead of specifiying a dir.

Anon
01-25-2001, 02:53 PM
I'm also having a similar problem on a FreeBSD 4.2-STABLE system. I installed libxml2 from the ports and added --with-dom in one of the scripts of the mod_php4 tree. I can't get the module to compile!

Anon
01-25-2001, 03:35 PM
what is the error that you are getting?

when is it happening? during configure?
if so, look at the file config.log in your php source dir.