Getopt.php problem

From: Date: Thu, 05 Sep 2002 11:00:32 +0000
Subject: Getopt.php problem
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2246@lists.php.net to get a copy of this message
Hello I am trying to setup PEAR ona SuSE 7.3 box; I downloaded and compiled php-4.2.2 as follows: $ ./configure --enable-force-cgi-redirect --with-pgsql --without-mysql $ make $ make install copied the php.ini-reccomended in /usr/local/lib/php.ini then I tried to install the PEAR package manager with this "lynx -source http://pear.php.net/go-pear | php -q" but it just does nothing, eventually I issue CTRL^C to get a prompt back. Moreover, I get also this error: anto@pgsql:~> pear help login PHP Notice: Undefined index: argv in /usr/local/lib/php/Console/Getopt.php on line 207 PHP Notice: Undefined variable: HTTP_SERVER_VARS in /usr/local/lib/php/Console /Getopt.php on line 208 Could not read cmd args (register_argc_argv=Off?) Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. any suggestion on what am I doing wrong? thanks anto

« previous php.pear.general (#2246) next »