Installation is simple. By running "urpmi pear", PEAR and a number of dependencies will be installed. The output of "urpmi pear" should look like what's below.
Please note that a number of the following Pear modules can be installed via Pear. I just installed them via urpmi to ensure version compatability. You can probaby install them in the manner described in the wifidog-auth/INSTALL text file. Some packages may already be installed. Some errors can be safely ignored.
[root@gateway ~]# urpmi php-pear To satisfy dependencies, the following packages are going to be installed: php-pear-5.2.1-2.1mdv2007.1.noarch php-pear-MDB2-2.3.0-1mdv2007.1.noarch php-pear-PEAR_Command_Packaging-0.1.2-1mdv2007.1.noarch php-pear-PEAR_RemoteInstaller-0.3.0-1mdv2007.1.noarch php-pear-PHP_Compat-1.5.0-1mdv2007.1.noarch php-pear-Structures_Graph-1.0.2-1mdv2007.1.noarch Proceed with the installation of the 6 packages? (4 MB) (Y/n) y http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-pear-PEAR_RemoteInstaller-0.3.0-1mdv2007.1.noarch.rpm http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-pear-PHP_Compat-1.5.0-1mdv2007.1.noarch.rpm http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-pear-MDB2-2.3.0-1mdv2007.1.noarch.rpm http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-pear-Structures_Graph-1.0.2-1mdv2007.1.noarch.rpm http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/release/php-pear-PEAR_Command_Packaging-0.1.2-1mdv2007.1.noarch.rpm http://ftp.ussg.iu.edu/linux/mandrake/official/2007.1/i586/media/main/updates/php-pear-5.2.1-2.1mdv2007.1.noarch.rpm installing php-pear-PHP_Compat-1.5.0-1mdv2007.1.noarch.rpm php-pear-PEAR_RemoteInstaller-0.3.0-1mdv2007.1.noarch.rpm php-pear-MDB2-2.3.0-1mdv2007.1.noarch.rpm php-pear-Structures_Graph-1.0.2-1mdv2007.1.noarch.rpm php-pear-PEAR_Command_Packaging-0.1.2-1mdv2007.1.noarch.rpm php-pear-5.2.1-2.1mdv2007.1.noarch.rpm from /var/cache/urpmi/rpms Preparing... ############################################# 1/6: php-pear ############################################# warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1) warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2) pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0) Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 warning: pear/DB requires package "pear/PEAR" (version >= 1.0b1) Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 pear/Log can optionally use package "pear/DB" (version >= 1.3) pear/Log can optionally use package "pear/MDB2" (version >= 2.0.0RC1) pear/Log can optionally use PHP extension "sqlite" Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 pear/Mail can optionally use package "pear/Net_SMTP" (version >= 1.1.0)
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 warning: pear/Net_SMTP requires package "pear/Net_Socket" warning: pear/Net_SMTP requires package "pear/Auth_SASL" Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 pear/PHPUnit can optionally use package "pear/PHP_Compat" Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175 warning: pear/XML_Parser requires package "pear/PEAR"
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175 PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175 PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175
PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175
PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
Retrieving channel.xml from remote server
Channel pear.php.net channel.xml is up to date
2/6: php-pear-PHP_Compat #############################################
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175
PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175
PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
3/6: php-pear-PEAR_RemoteInstaller#############################################
warning: pear/PEAR_RemoteInstaller requires package "pear/PEAR" (version >= 1.4.3)
pear/PEAR_RemoteInstaller can optionally use package "pecl/ssh2"
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175
PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175
PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
4/6: php-pear-MDB2 #############################################
warning: pear/MDB2 requires package "pear/PEAR" (version >= 1.3.6)
Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in PEAR/Downloader.php on line 1175
PHP Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in /usr/share/pear/PEAR/Downloader.php on line 1175
PHP Fatal error: PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php' (include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1175
5/6: php-pear-Structures_Graph#############################################
Skipping package "pear/Structures_Graph", already installed as version 1.0.2
No valid packages found
install failed
6/6: php-pear-PEAR_Command_Packaging#############################################
Skipping package "pear/PEAR_Command_Packaging", already installed as version 0.1.2
No valid packages found
install failed
[root@gateway ~]#
Back to "Setting up a captive portal"