Subject: pkgsrc php4 install fails mysteriously
To: netbsd-help <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 12/17/2002 23:34:52
Hello, 

I posted this yesterday to tech-pkg, no replies.  Perhaps it is not a
package issue, precisely?  I really don't know how to go about tracking it
down, and would appreciate any (non-null :) pointers.  I mean, whose
"Unexpected argument" should I look for?

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]

Much obliged.  And thanks.

--jkl