Problem with installation of libxml2

Slash

Verified User
Joined
Jul 20, 2006
Messages
8
Location
Leunen (NL)
I am trying to upgrade PHP from version 4 to 5 on a FreeBSD 6 server.

I am using the following article from the knowledge base for this: http://help.directadmin.com/item.php?id=135

I get an error on libxml2 (as described in the document) however I cannot install libxml2 because of the following error:

server01:/# pkg_add -r libxml2
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/libxml2.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/libxml2.tbz' by URL
server01:/#

Can anyone please tell us how to fix this?
 

chatwizrd

Verified User
Joined
Jul 3, 2005
Messages
2,007
Why not use custombuild?

cd /usr/local/directadmin/custombuild

edit options.conf to your liking

Then run:

./build php d
 
Top