Posted by John MacLeod on 11/23/05 16:54
I'm trying to install a local copy of php5 and not having much luck. I want
LIBXML and IMAP support. When I go to configure php (no matter what options
I use) I end up with the error message...
<start quote>
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr/home/MYACCOUNT/libxml
configure: error: libxml2 version 2.5.10 or greater required.
<end quote>
I want LIBXML support so I downloaded and tried to install it...I get as far
as "nice make install" when I get the following error message...
<start quote>
MYACCOUNT@% nice make install \
--prefix=/usr/home/MYACCOUNT/libxml \
--exec-prefix=/usr/home/MYACCOUNT/libxml? --prefix=/usr/home/MYACCOUNT/libxml
\
? --exec-prefix=/usr/home/MYACCOUNT/libxml
Making install in include
Making install in libxml
make install-exec-hook
/usr/local/bin/bash ../../mkinstalldirs /usr/local/include/libxml2/libxml
test -z "/usr/local/include/libxml2/libxml" || mkdir -p --
"/usr/local/include/libxml2/libxml"
/usr/bin/install -c -m 644 'SAX.h' '/usr/local/include/libxml2/libxml/SAX.h'
install: /usr/local/include/libxml2/libxml/SAX.h: Permission denied
*** Error code 71
Stop in /usr/home/MYACCOUNT/libxml/include/libxml.
*** Error code 1
Stop in /usr/home/MYACCOUNT/libxml/include/libxml.
*** Error code 1
Stop in /usr/home/MYACCOUNT/libxml/include.
*** Error code 1
Stop in /usr/home/MYACCOUNT/libxml.
<end quote>
....as you can see I'm trying to install it locally by using
"--prefix=/usr/home/MYACCOUNT/libxml" as I read in the help file but it
still wants to use "/usr/local/include/libxml2/libxml" and I obviously don't
have permission for that folder...
What do I do?
My server uses Apache & FreeBSD 4.8
Thanks,
John MacLeod
Navigation:
[Reply to this message]
|