Help in configuring PAM with PHP
| From: | Vishnu Gopal Singhal | Date: | Mon, 04 Oct 2010 07:59:14 +0000 |
| Subject: | Help in configuring PAM with PHP | ||
| Groups: | php.pecl.dev php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-7710@lists.php.net to get a copy of this message | ||
Hello ,
Can anyone please help me in configuring PHP with PAM on Red Hat Linux.
[root@localhost PAM]# pecl install *pam-1.0.3.tgz* --with-pam=.
parsePackageName(): invalid package name "--with-pam=." in "--with-pam=."
invalid package name/package file "--with-pam=."
Cannot initialize '--with-pam=.', invalid or missing package file
Package "--with-pam=." is not valid
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
building in /var/tmp/pear-build-root/pam-1.0.3
running: /tmp/tmpDkjJnU/pam-1.0.3/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to
regenerate PHP parsers.
checking for gawk... gawk
checking for PAM support... yes, shared
*configure: error: install the the PAM library or use --with-pam=DIR to
specify the location.*
ERROR: `/tmp/tmpDkjJnU/pam-1.0.3/configure' failed
--
*Regards,*
*Vishnu G Singhal*
*If You want to walk fast ..walk alone ,but if you want to walk far walk
together - Ratan Tata
*