has anyone had any luck installing the PAM module in PHP

 ive spent the last 2 days fscking with the damn thing and to no
avail i get a whole host of different problems based on what
version of php versus what version of php_pam versus what
version of ...

 my most recent error looks like the following .. perhaps you can
help..

btw i am running rh6.2, libtool 1.4.2 autoconf 2.13, im installing
php 4.1.0 (had SERIOUS problems with 4.1.1 and pam)

 if i run aclocal;autoconf in the root of the php tree i get these
errors:

[root@killswitch php-4.1.0]# aclocal;autoconf
configure.in:445: warning: AC_TRY_RUN called without default to
allow cross compiling
ext/imap/config.m4:168: warning: AC_TRY_RUN called without
default to allow cross compiling
ext/mysql/config.m4:48: warning: AC_TRY_RUN called without
default to allow cross compiling
ext/qtdom/config.m4:34: AC_PROG_CXXCPP was called before
AC_PROG_CXX
ext/session/config.m4:35: warning: AC_TRY_RUN called without
default to allow cross compiling
ext/session/config.m4:35: warning: AC_TRY_RUN called without
default to allow cross compiling
ext/session/config.m4:36: warning: AC_TRY_RUN called without
default to allow cross compiling
ext/session/config.m4:36: warning: AC_TRY_RUN called without
default to allow cross compiling
ext/xml/config.m4:7: warning: AC_TRY_RUN called without default
to allow cross compiling


but at least it see's pam in the ext directory,

 so my configure goes something like this:

--with-pam --enable-track-vars --enable-magic-quotes --enable-
trans-sid --with-imap=/usr/src/imap-2001a/ --with-
mysql=/usr/local/ --without-gd --with-apxs=/www/bin/apxs

and this is followed by a successful make up til this error:

Making all in pam
make[2]: Entering directory `/usr/src/php/php-4.1.0/ext/pam'
make[3]: Entering directory `/usr/src/php/php-4.1.0/ext/pam'
make[3]: *** No rule to make target `../../Zend/../php_config.h',
needed by `pam.lo'.  Stop.
make[3]: Leaving directory `/usr/src/php/php-4.1.0/ext/pam'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php/php-4.1.0/ext/pam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php/php-4.1.0/ext'
make: *** [all-recursive] Error 1


anyone have these experiences?


cheers

 - jonathan roberts
      tranceport.net



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to