[dev] phpkrb5 for php5

Ralf Hornik Mailings ralf at best.homeunix.org
Tue Jun 24 13:38:38 UTC 2008


Dear Horde devlopers,

is phpkrb5 still under development?

I use php5 and I do not get it compiled. However, I cannot tell configure
that I use version 5. Only 3 or 4 is supported, even in current CVS
repository:

(With version 4)
root at proxima:/opt/install/phpkrb5# make
/bin/sh ./libtool --mode=compile gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1
-DHAVE_LIBCOM_ERR=1 -DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1  -I. -I. 
-DCOMPILE_DL  -I/opt/install/php5/php5-5.2.4 
-I/opt/install/php5/php5-5.2.4/Zend   -I/opt/install/php5/php5-5.2.4/main 
   -I/opt/install/php5/php5-5.2.4/TSRM     -I/usr/include/php5/Zend       
-I/usr/include/php5/main        -I/usr/include/php5/TSRM    
-I/usr/include/apache2 -DUSE_PHP=4       -DPHPKRB5_VERSION=\"1.0.0\" 
-I/usr//include   -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c php4_krb5.c
rm -f .libs/php4_krb5.lo
gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1 -DHAVE_LIBCOM_ERR=1
-DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1 -I. -I. -DCOMPILE_DL
-I/opt/install/php5/php5-5.2.4 -I/opt/install/php5/php5-5.2.4/Zend
-I/opt/install/php5/php5-5.2.4/main -I/opt/install/php5/php5-5.2.4/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/apache2 -DUSE_PHP=4 -DPHPKRB5_VERSION=\"1.0.0\"
-I/usr//include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c php4_krb5.c  -fPIC -DPIC -o .libs/php4_krb5.lo
php4_krb5.c:77:7: warning: missing terminating " character
php4_krb5.c:81:29: warning: missing terminating " character
php4_krb5.c:116:1: error: unterminated argument list invoking macro "PUTS"
php4_krb5.c: In function 'zm_info_krb5':
php4_krb5.c:77: error: 'PUTS' undeclared (first use in this function)
php4_krb5.c:77: error: (Each undeclared identifier is reported only once
php4_krb5.c:77: error: for each function it appears in.)
php4_krb5.c:77: error: expected ';' at end of input
php4_krb5.c:77: error: expected declaration or statement at end of input
make: *** [php4_krb5.lo] Error 1

(With version 3)
/bin/sh ./libtool --mode=compile gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1
-DHAVE_LIBCOM_ERR=1 -DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1  -I. -I. 
-DCOMPILE_DL  -I/opt/install/php5/php5-5.2.4 
-I/opt/install/php5/php5-5.2.4/Zend   -I/opt/install/php5/php5-5.2.4/main 
   -I/opt/install/php5/php5-5.2.4/TSRM     -I/usr/include/php5/Zend       
-I/usr/include/php5/TSRM        -I/usr/include/php5/main    
-I/usr/include/apache2 -DUSE_PHP=3       -DPHPKRB5_VERSION=\"1.0.0\" 
-I/usr//include   -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c phpkrb5.c
mkdir .libs
gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1 -DHAVE_LIBCOM_ERR=1
-DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1 -I. -I. -DCOMPILE_DL
-I/opt/install/php5/php5-5.2.4 -I/opt/install/php5/php5-5.2.4/Zend
-I/opt/install/php5/php5-5.2.4/main -I/opt/install/php5/php5-5.2.4/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/TSRM -I/usr/include/php5/main
-I/usr/include/apache2 -DUSE_PHP=3 -DPHPKRB5_VERSION=\"1.0.0\"
-I/usr//include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c phpkrb5.c  -fPIC -DPIC -o .libs/phpkrb5.lo
gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1 -DHAVE_LIBCOM_ERR=1
-DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1 -I. -I. -DCOMPILE_DL
-I/opt/install/php5/php5-5.2.4 -I/opt/install/php5/php5-5.2.4/Zend
-I/opt/install/php5/php5-5.2.4/main -I/opt/install/php5/php5-5.2.4/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/TSRM -I/usr/include/php5/main
-I/usr/include/apache2 -DUSE_PHP=3 -DPHPKRB5_VERSION=\"1.0.0\"
-I/usr//include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c phpkrb5.c -o phpkrb5.o >/dev/null 2>&1
mv -f .libs/phpkrb5.lo phpkrb5.lo
/bin/sh ./libtool --mode=compile gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1
-DHAVE_LIBCOM_ERR=1 -DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1  -I. -I. 
-DCOMPILE_DL  -I/opt/install/php5/php5-5.2.4 
-I/opt/install/php5/php5-5.2.4/Zend   -I/opt/install/php5/php5-5.2.4/main 
   -I/opt/install/php5/php5-5.2.4/TSRM     -I/usr/include/php5/Zend       
-I/usr/include/php5/TSRM        -I/usr/include/php5/main    
-I/usr/include/apache2 -DUSE_PHP=3       -DPHPKRB5_VERSION=\"1.0.0\" 
-I/usr//include   -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c php3_krb5.c
rm -f .libs/php3_krb5.lo
gcc -DHAVE_LIBKRB5=1 -DHAVE_KRB5_H=1 -DHAVE_LIBCOM_ERR=1
-DHAVE_LIBK5CRYPTO=1 -DHAVE_LIBKRB5=1 -I. -I. -DCOMPILE_DL
-I/opt/install/php5/php5-5.2.4 -I/opt/install/php5/php5-5.2.4/Zend
-I/opt/install/php5/php5-5.2.4/main -I/opt/install/php5/php5-5.2.4/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/TSRM -I/usr/include/php5/main
-I/usr/include/apache2 -DUSE_PHP=3 -DPHPKRB5_VERSION=\"1.0.0\"
-I/usr//include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes
-c php3_krb5.c  -fPIC -DPIC -o .libs/php3_krb5.lo
php3_krb5.c:22:22: error: dl/phpdl.h: No such file or directory
php3_krb5.c:24:32: error: internal_functions.h: No such file or directory
php3_krb5.c:43:61: warning: missing terminating " character
php3_krb5.c:46:23: warning: missing terminating " character
php3_krb5.c:47:1: warning: missing terminating " character
php3_krb5.c:97:1: error: unterminated argument list invoking macro "PUTS"
php3_krb5.c: In function 'php3_info_krb5':
php3_krb5.c:42: error: 'PUTS' undeclared (first use in this function)
php3_krb5.c:42: error: (Each undeclared identifier is reported only once
php3_krb5.c:42: error: for each function it appears in.)
php3_krb5.c:42: error: expected ';' at end of input
php3_krb5.c:42: error: expected declaration or statement at end of input
make: *** [php3_krb5.lo] Error 1

The current branch tells me that php5 is now included, but I cannot find it.
Can somebody help me out?

Thanks and best regards

Ralf



More information about the dev mailing list