Re: trouble installing php on 6.3

2018-04-17 Thread IL Ka
According to /usr.sbin/pkg_add/OpenBSD/Temp.pm If PKG_TMPDIR is not set, it uses OpenBSD::Paths->vartmp >our $tempbase = $ENV{'PKG_TMPDIR'} || OpenBSD::Paths->vartmp; And according to /usr.sbin/pkg_add/OpenBSD/Paths.pm Default value is "/var/tmp". >sub vartmp() { '/var/tmp' } It seems that

Re: trouble installing php on 6.3

2018-04-17 Thread Michael Maurer
On 17 April 2018 at 14:13, IL Ka wrote: > So, does it work only with PKG_TMPDIR set? > > # PKG_TMPDIR=/tmp/foo pkg_add -r -vvv curl > (-r is used to replace old package) > > Could it be your harddrive or filesystem problem? > Try to fsck partition where pkg_add stores

Re: trouble installing php on 6.3

2018-04-17 Thread IL Ka
So, does it work only with PKG_TMPDIR set? # PKG_TMPDIR=/tmp/foo pkg_add -r -vvv curl (-r is used to replace old package) Could it be your harddrive or filesystem problem? Try to fsck partition where pkg_add stores packages. If you are able to download file by wget, you can install it using

Re: trouble installing php on 6.3

2018-04-17 Thread Michael Maurer
On 17 April 2018 at 08:56, Michael Maurer wrote: > On 16 April 2018 at 18:41, IL Ka wrote: >> Hm.. sounds strange then. >> >> Did you try to call "pkg_add libxml"? >> If not, then try and in case of success try pkg_add php again >> >> >> If it

Re: trouble installing php on 6.3

2018-04-17 Thread Michael Maurer
On 16 April 2018 at 18:41, IL Ka wrote: > Hm.. sounds strange then. > > Did you try to call "pkg_add libxml"? > If not, then try and in case of success try pkg_add php again > > > If it does not work, then lets do the following: > > To make sure libxml is deleted > #

Re: trouble installing php on 6.3

2018-04-16 Thread IL Ka
Hm.. sounds strange then. Did you try to call "pkg_add libxml"? If not, then try and in case of success try pkg_add php again If it does not work, then lets do the following: To make sure libxml is deleted # pkg_delete libxml use different mirror # echo

Re: trouble installing php on 6.3

2018-04-16 Thread Michael Maurer
On 16 April 2018 at 17:42, IL Ka wrote: > php depends on libxml, pkg_add tries to download it, and downloaded > archive is broken. > pkg_add uses "/etc/installurl" to find website to download packages. You > may try different website (echo

Re: trouble installing php on 6.3

2018-04-16 Thread IL Ka
php depends on libxml, pkg_add tries to download it, and downloaded archive is broken. pkg_add uses "/etc/installurl" to find website to download packages. You may try different website (echo "https://ftp.openbsd.org/pub/OpenBSD/; > /etc/installurl) Also, try to download this file and unpack

trouble installing php on 6.3

2018-04-16 Thread Michael Maurer
I'm having trouble setting up php on a fresh install of 6.3. This is what I get - burt# pkg_add php quirks-2.414 signed on 2018-03-28T14:24:37Z Ambiguous: choose package for php a 0: 1: php-5.6.34 2: php-7.0.28 Your choice: 1 Fatal error: Ustar