Subject: Re: pkgsrc php4 install fails mysteriously
To: James K. Lowden <jklowden@schemamania.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: netbsd-help
Date: 12/18/2002 10:53:53
On Tue, Dec 17, 2002 at 11:34:52PM -0500, James K. Lowden wrote:
> The build builds, and a lot of stuff installs, and then:
> 
> [quote]
> Installing program: phptar
> Installing program: phpextdist
> install -d -o root -g wheel -m 555 /usr/pkg/libexec/cgi-bin
> /bin/ln -sf ../../bin/php /usr/pkg/libexec/cgi-bin/php
> install -d -o root -g wheel -m 555 /usr/pkg/share/examples/php
> cd /usr/pkgsrc/www/php4/work/php-4.2.3; install -c -o root -g wheel -m 444
> php.ini-dist php.ini-recommended /usr/pkg/share/examples/php
> install -d -o root -g wheel -m 555 /usr/pkg/share/php
> install -c -o root -g wheel -m 444
> /usr/pkgsrc/www/php4/work/php-4.2.3/php.gif /usr/pkg/share/php
> Installing configuration files for php-4.2.3:
> 
>     /usr/pkg/etc/php.ini already exists, example file is
>         /usr/pkg/share/examples/php/php.ini-recommended
> 
> =========================================================================
> ==
> You may wish to customize the following files for php-4.2.3:
> 
>         /usr/pkg/etc/php.ini
> =========================================================================
> ==
> Unexpected argument: 
> *** Error code 1
> 
> Stop.
> *** Error code 1
> [end quote]

If you try doing the install as

	make install PKG_DEBUG_LEVEL=2

it will show you all that you need to know about what it's doing
(and much, much more).

Regards,
Alistair