I would love to run PHP on my OpenBSD webserver, but I can't seem to install it via the recommended method, pkg_add. If you could give me any pointers I would totally appreciate it. Here's what happens when I try:
ruby:capncrunch {100} unsetenv PKG_PATH
ruby:capncrunch {101} setenv PKG_PATH ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.7/packages/i386/
ruby:capncrunch {102} sudo pkg_add -v ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.7/packages/i386/php4-core-4.3.10p1.tgz[/url]
Password:
parsing php4-core-4.3.10p1
Dependencies for php4-core-4.3.10p1 resolve to: recode-3.6p2, gettext-0.10.40p2, libiconv-1.9.2 (todo: libiconv-1.9.2,recode-3.6p2,gettext-0.10.40p2)
php4-core-4.3.10p1:parsing libiconv-1.9.2
Can't install libiconv-1.9.2: lib not found c.34.2
Even by looking in the dependency tree:
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
php4-core-4.3.10p1:parsing recode-3.6p2
Dependencies for recode-3.6p2 resolve to: gettext-0.10.40p2, libiconv-1.9.2 (todo: libiconv-1.9.2,gettext-0.10.40p2)
Can't install libiconv-1.9.2: lib not found c.34.2
Even by looking in the dependency tree:
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
php4-core-4.3.10p1:parsing gettext-0.10.40p2
Dependencies for gettext-0.10.40p2 resolve to: libiconv-1.9.2 (todo: libiconv-1.9.2)
Can't install libiconv-1.9.2: lib not found c.34.2
Even by looking in the dependency tree:
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install gettext-0.10.40p2: can't resolve libiconv-1.9.2
Can't install recode-3.6p2: can't resolve gettext-0.10.40p2
Can't install gettext-0.10.40p2: can't resolve libiconv-1.9.2
Can't install ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.7/packages/i386/php4-core-4.3.10...
can't resolve recode-3.6p2
ruby:capncrunch {104} uname -a
OpenBSD ruby.mydomain.com 3.7 GENERIC#16 i386
Perhaps it should also be noted that:
ruby:capncrunch {107} getenv PKG_PATH
getenv: Command not found.
Apache is up and running and serving files properly to the web at large, so I am properly connected to the Internet. I have tried to install PHP from within ftp and I get the exact same result. Do you have any clue what's going on here?