I've been migrating to OpenBSD from FreeBSD and have some problems installing PHP5. I got Apache installed (the version that came with OpenBSD 4.3 release base install) and when i'm trying to install PHP5 i get following error(s).
Code:
# make configure
===> www/php5/core
===> php5-core-5.2.5p3 depends on: libxml-* - not found
===> Verifying install for libxml-* in textproc/libxml
===> Checking files for libxml2-2.6.32
`/usr/ports/distfiles/libxml2-2.6.32.tar.gz' is up to date.
>> (SHA256) libxml2-2.6.32.tar.gz: OK
===> libxml-2.6.32 depends on: python-2.5* - not found
===> Verifying install for python-2.5* in lang/python/2.5
===> python-2.5.2p0 uses X11, but /usr/X11R6 not found.
===> Returning to build of libxml-2.6.32
===> libxml-2.6.32 depends on: python-2.5* - not found
===> Verifying install for python-2.5* in lang/python/2.5
===> python-2.5.2p0 uses X11, but /usr/X11R6 not found.
===> Returning to build of libxml-2.6.32
Dependency check failed
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1556 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1927 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1398 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1896 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1428 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/www/php5/core (line 1556 of /usr/ports/infrastructure/mk/bsd.port.mk).
===> Exiting www/php5/core with an error
*** Error code 1
Stop in /usr/ports/www/php5 (line 124 of /usr/ports/infrastructure/mk/bsd.port.subdir.mk).
It seems to me that it's Python complains that X11 isn't installed and mess things up. It's going to be a web- & mailserver and i really don't want or need X11 on it. Anyone have any ideas?