Hi folks! I am currently installing savannah. I am at the stage, that when I log in I get: "Fatal error: Call to unsupported or undefined function krb5_login() in /data/savannah/www/account/register.php on line 65"
I read that I need to install phpkrb5 to fix that. (Do I?) Thats what I do and where my problems start. My build process looks like this: [EMAIL PROTECTED] ./configure --with-apache-include=/usr/include/apache/ --with-php-extensions=/usr/share/php --with-php-dir=/tmp/php/php-3.0.18 --with-php-version=3 --with-krb5=/usr/kerberos [EMAIL PROTECTED] 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/tmp/php/php-3.0.18 -I/tmp/php/php-3.0.18/Zend -I/tmp/php/php-3.0.18/main -I/tmp/php/php-3.0.18/TSRM -I/usr/include/apache/ -DUSE_PHP=3 -DPHPKRB5_VERSION=\"1.0.0\" -I/usr/kerberos/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/tmp/php/php-3.0.18 -I/tmp/php/php-3.0.18/Zend -I/tmp/php/php-3.0.18/main -I/tmp/php/php-3.0.18/TSRM -I/usr/include/apache/ -DUSE_PHP=3 -DPHPKRB5_VERSION=\"1.0.0\" -I/usr/kerberos/include -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -c php3_krb5.c -fPIC -DPIC -o .libs/php3_krb5.lo php3_krb5.c: In function `php3_info_krb5': php3_krb5.c:43: parse error before `KRB5_VERSION' php3_krb5.c: In function `php3_krb5_string': php3_krb5.c:79: warning: implicit declaration of function `krb5_string' make: *** [php3_krb5.lo] Error 1 When I add -DKRB5_VERSION=\"1.2.4\" manually in the Makefile compilation works. Now php does use the krb5 extension (see http://gridportal.fzk.de/docs/site/phpinfo.php) But still it get "Fatal error: Call to unsupported or undefined function krb5_login() in /data/savannah/www/account/register.php on line 65" I compared my phpinfo with that from the gnu people (http://savannah.gnu.org/docs/site/phpinfo.php) and saw that there is a different information string in the KRB5 section. I found this string in the php4_krb5.c source file from phpkrb5-1.0.0, whereas my information string is php3_krb5.c. (I thought we should use php3. Btw when I use --with-php-version=4 I get the errors as described on http://mail.gnu.org/pipermail/savannah-dev/2002-May/000859.html) Is there anyone with a clue? If so could you shed some light on this problem? -- Greetings from Karlsruhe, Marcus
