php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58441 kadm5 files in default path... not found
Submitted: 2008-12-01 12:03 UTC Modified: 2017-04-01 20:44 UTC
Votes:4
Avg. Score:4.5 ± 0.9
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:1 (25.0%)
From: cndr at seznam dot cz Assigned:
Status: Wont fix Package: kadm5 (PECL)
PHP Version: 5.2.5 OS: FC8, ker. 2.6.25
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cndr at seznam dot cz
New email:
PHP Version: OS:

 

 [2008-12-01 12:03 UTC] cndr at seznam dot cz
Description:
------------
After: pecl install http://pecl.php.net/get/kadm5-0.2.3.tgz
downloading kadm5-0.2.3.tgz ...
Starting to download kadm5-0.2.3.tgz (23,090 bytes)
........done: 23,090 bytes
13 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
building in /var/tmp/pear-build-root/kadm5-0.2.3
running: /tmp/pear/download/kadm5-0.2.3/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-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 -I/usr/include/php/ext/date/lib
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.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for kadm5 files in default path... not found
configure: error: Please reinstall the kadm5 distribution
ERROR: `/tmp/pear/download/kadm5-0.2.3/configure' failed

installed packages:
Package php-pecl-apc - 3.0.19-1.fc8.i386 is already installed.
Package php-pecl-radius - 1.2.5-5.fc8.i386 is already installed.
Package php-pecl-Fileinfo - 1.0.4-3.fc8.i386 is already installed.
Package php-pecl-pdflib - 2.1.5-2.fc8.i386 is already installed.
Package php-pecl-xdebug - 2.0.3-4.fc8.i386 is already installed.
Package php-pecl-mailparse - 2.1.4-1.fc8.i386 is already installed.
Package php-pecl-phar - 1.2.3-2.fc8.i386 is already installed.
Package php-pecl-memcache - 2.2.4-1.fc8.i386 is already installed.
Package krb5-workstation-servers - 1.6.2-14.fc8.i386 is already installed.
Package krb5-server - 1.6.2-14.fc8.i386 is already installed.
Package krb5-workstation-clients - 1.6.2-14.fc8.i386 is already installed.
Package krb5-server-ldap - 1.6.2-14.fc8.i386 is already installed.
Package krb5-workstation - 1.6.2-14.fc8.i386 is already installed.
Package krb5-devel - 1.6.2-14.fc8.i386 is already installed.
Package krb5-auth-dialog - 0.7-5.fc8.i386 is already installed.
Package krb5-libs - 1.6.2-14.fc8.i386 is already installed.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-05 09:40 UTC] tgol at kinetix dot gr
I have passed this using this:

[root@foo kadm5-0.2.3]# ./configure --with-kadm5=/usr/include/krb5
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 for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... re2c
checking for re2c version... 0.12.0 (ok)
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
[root@support02 kadm5-0.2.3]# make
/bin/sh /tmp/kadm5-0.2.3/libtool --mode=compile gcc  -I. -I/tmp/kadm5-0.2.3 -DPHP_ATOM_INC -I/tmp/kadm5-0.2.3/include -I/tmp/kadm5-0.2.3/main -I/tmp/kadm5-0.2.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/krb5 -I/usr/include/krb5/krb5  -DHAVE_CONFIG_H  -g -O2   -c /tmp/kadm5-0.2.3/kadm5.c -o kadm5.lo
mkdir .libs
 gcc -I. -I/tmp/kadm5-0.2.3 -DPHP_ATOM_INC -I/tmp/kadm5-0.2.3/include -I/tmp/kadm5-0.2.3/main -I/tmp/kadm5-0.2.3 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/krb5 -I/usr/include/krb5/krb5 -DHAVE_CONFIG_H -g -O2 -c /tmp/kadm5-0.2.3/kadm5.c  -fPIC -DPIC -o .libs/kadm5.o
/tmp/kadm5-0.2.3/kadm5.c:32:25: error: kadm5/admin.h: No such file or directory
/tmp/kadm5-0.2.3/kadm5.c: In function 'zm_startup_kadm5':
/tmp/kadm5-0.2.3/kadm5.c:207: error: 'KRB5_KDB_DISALLOW_POSTDATED' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:207: error: (Each undeclared identifier is reported only once
/tmp/kadm5-0.2.3/kadm5.c:207: error: for each function it appears in.)
/tmp/kadm5-0.2.3/kadm5.c:210: error: 'KRB5_KDB_DISALLOW_FORWARDABLE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:213: error: 'KRB5_KDB_DISALLOW_TGT_BASED' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:216: error: 'KRB5_KDB_DISALLOW_RENEWABLE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:219: error: 'KRB5_KDB_DISALLOW_PROXIABLE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:222: error: 'KRB5_KDB_DISALLOW_DUP_SKEY' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:225: error: 'KRB5_KDB_DISALLOW_ALL_TIX' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:228: error: 'KRB5_KDB_REQUIRES_PRE_AUTH' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:231: error: 'KRB5_KDB_REQUIRES_HW_AUTH' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:234: error: 'KRB5_KDB_REQUIRES_PWCHANGE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:237: error: 'KRB5_KDB_DISALLOW_SVR' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:240: error: 'KRB5_KDB_PWCHANGE_SERVICE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:243: error: 'KRB5_KDB_SUPPORT_DESMD5' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:246: error: 'KRB5_KDB_NEW_PRINC' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: At top level:
/tmp/kadm5-0.2.3/kadm5.c:282: error: expected ')' before 'error_code'
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_init_with_password':
/tmp/kadm5-0.2.3/kadm5.c:450: error: 'kadm5_config_params' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:450: error: expected ';' before 'params'
/tmp/kadm5-0.2.3/kadm5.c:452: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:452: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:454: error: 'params' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:464: error: 'KADM5_CONFIG_REALM' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:466: error: 'KADM5_CONFIG_ADMIN_SERVER' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:468: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:470: error: 'KADM5_ADMIN_SERVICE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:472: error: 'KADM5_STRUCT_VERSION' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:473: error: 'KADM5_API_VERSION_2' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_flush':
/tmp/kadm5-0.2.3/kadm5.c:516: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:516: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:524: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_create_principal':
/tmp/kadm5-0.2.3/kadm5.c:544: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:544: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:545: error: 'kadm5_principal_ent_rec' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:545: error: expected ';' before 'princ'
/tmp/kadm5-0.2.3/kadm5.c:546: error: 'kadm5_policy_ent_rec' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:546: error: expected ';' before 'defpol'
/tmp/kadm5-0.2.3/kadm5.c:547: error: 'krb5_context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:547: error: expected ';' before 'context'
/tmp/kadm5-0.2.3/kadm5.c:564: error: 'princ' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:596: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:596: error: 'context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:619: error: 'KADM5_POLICY' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:619: error: 'KADM5_POLICY_CLR' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:620: error: 'defpol' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:664: error: 'KADM5_PRINC_EXPIRE_TIME' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:668: error: 'KADM5_PW_EXPIRATION' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:672: error: 'KADM5_MAX_LIFE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:676: error: 'KADM5_MAX_RLIFE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:680: error: 'KADM5_KVNO' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:693: error: 'KADM5_ATTRIBUTES' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:704: error: 'KRB5_KDB_DISALLOW_ALL_TIX' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:711: error: 'KADM5_PRINCIPAL' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_chpass_principal':
/tmp/kadm5-0.2.3/kadm5.c:753: error: 'krb5_principal' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:753: error: expected ';' before 'princ'
/tmp/kadm5-0.2.3/kadm5.c:761: error: 'krb5_context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:761: error: expected ';' before 'context'
/tmp/kadm5-0.2.3/kadm5.c:762: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:762: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:765: error: 'princ' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:778: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:778: error: 'context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_delete_principal':
/tmp/kadm5-0.2.3/kadm5.c:811: error: 'krb5_principal' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:811: error: expected ';' before 'princ'
/tmp/kadm5-0.2.3/kadm5.c:817: error: 'krb5_context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:817: error: expected ';' before 'context'
/tmp/kadm5-0.2.3/kadm5.c:818: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:818: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:820: error: 'princ' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:832: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:832: error: 'context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_modify_principal':
/tmp/kadm5-0.2.3/kadm5.c:868: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:868: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:869: error: 'kadm5_principal_ent_rec' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:869: error: expected ';' before 'princ'
/tmp/kadm5-0.2.3/kadm5.c:870: error: 'kadm5_policy_ent_rec' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:870: error: expected ';' before 'defpol'
/tmp/kadm5-0.2.3/kadm5.c:871: error: 'krb5_context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:871: error: expected ';' before 'context'
/tmp/kadm5-0.2.3/kadm5.c:886: error: 'princ' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:901: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:901: error: 'context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:951: error: 'KADM5_PRINC_EXPIRE_TIME' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:955: error: 'KADM5_PW_EXPIRATION' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:959: error: 'KADM5_MAX_LIFE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:963: error: 'KADM5_MAX_RLIFE' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:967: error: 'KADM5_KVNO' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:971: error: 'KADM5_POLICY' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:974: error: 'KADM5_POLICY_CLR' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:978: error: 'KADM5_FAIL_AUTH_COUNT' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:982: error: 'KADM5_ATTRIBUTES' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_get_principals':
/tmp/kadm5-0.2.3/kadm5.c:1019: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1019: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:1036: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_get_principal':
/tmp/kadm5-0.2.3/kadm5.c:1057: error: 'krb5_principal' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1057: error: expected ';' before 'princ'
/tmp/kadm5-0.2.3/kadm5.c:1065: error: 'krb5_context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1065: error: expected ';' before 'context'
/tmp/kadm5-0.2.3/kadm5.c:1066: error: 'kadm5_principal_ent_rec' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1066: error: expected ';' before 'ent'
/tmp/kadm5-0.2.3/kadm5.c:1067: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1067: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:1071: error: 'ent' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1072: error: 'princ' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1086: error: 'rc' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1086: error: 'context' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1101: error: 'KADM5_PRINCIPAL_NORMAL_MASK' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_get_policies':
/tmp/kadm5-0.2.3/kadm5.c:1156: error: 'kadm5_ret_t' undeclared (first use in this function)
/tmp/kadm5-0.2.3/kadm5.c:1156: error: expected ';' before 'rc'
/tmp/kadm5-0.2.3/kadm5.c:1172: error: 'rc' undeclared (first use in this function)
make: *** [kadm5.lo] Error 1

but it still doesn't compile.
 [2009-02-19 07:55 UTC] bbot at mail dot ru
> configure: error: Please reinstall the kadm5 distribution

Try to install heimdal-dev.
 [2009-04-22 15:44 UTC] flavio at openrising dot com
I am having the same issue. After install heindal-dev, I got the following:

root@gosa:~/kadm5-0.2.3# phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
root@gosa:~/kadm5-0.2.3# ./configure --with-kadm5=/usr/include/krb5
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.13.3 (ok)
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
root@gosa:~/kadm5-0.2.3# make
/bin/bash /root/kadm5-0.2.3/libtool --mode=compile gcc  -I. -I/root/kadm5-0.2.3 -DPHP_ATOM_INC -I/root/kadm5-0.2.3/include -I/root/kadm5-0.2.3/main -I/root/kadm5-0.2.3 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/krb5 -I/usr/include/krb5/krb5  -DHAVE_CONFIG_H  -g -O2   -c /root/kadm5-0.2.3/kadm5.c -o kadm5.lo 
libtool: compile:  gcc -I. -I/root/kadm5-0.2.3 -DPHP_ATOM_INC -I/root/kadm5-0.2.3/include -I/root/kadm5-0.2.3/main -I/root/kadm5-0.2.3 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/krb5 -I/usr/include/krb5/krb5 -DHAVE_CONFIG_H -g -O2 -c /root/kadm5-0.2.3/kadm5.c  -fPIC -DPIC -o .libs/kadm5.o
/root/kadm5-0.2.3/kadm5.c: In function ?€˜kadm5_error?€™:
/root/kadm5-0.2.3/kadm5.c:285: error: ?€˜KADM5_FAILURE?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:285: error: (Each undeclared identifier is reported only once
/root/kadm5-0.2.3/kadm5.c:285: error: for each function it appears in.)
/root/kadm5-0.2.3/kadm5.c:288: error: ?€˜KADM5_AUTH_GET?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:291: error: ?€˜KADM5_AUTH_ADD?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:294: error: ?€˜KADM5_AUTH_MODIFY?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:297: error: ?€˜KADM5_AUTH_DELETE?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:300: error: ?€˜KADM5_AUTH_INSUFFICIENT?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:303: error: ?€˜KADM5_BAD_DB?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:306: error: ?€˜KADM5_DUP?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:309: error: ?€˜KADM5_RPC_ERROR?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:312: error: ?€˜KADM5_NO_SRV?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:315: error: ?€˜KADM5_BAD_HIST_KEY?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:318: error: ?€˜KADM5_NOT_INIT?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:321: error: ?€˜KADM5_UNK_PRINC?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:324: error: ?€˜KADM5_UNK_POLICY?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:327: error: ?€˜KADM5_BAD_MASK?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:330: error: ?€˜KADM5_BAD_CLASS?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:333: error: ?€˜KADM5_BAD_LENGTH?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:336: error: ?€˜KADM5_BAD_POLICY?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:339: error: ?€˜KADM5_BAD_PRINCIPAL?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:342: error: ?€˜KADM5_BAD_AUX_ATTR?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:345: error: ?€˜KADM5_BAD_HISTORY?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:348: error: ?€˜KADM5_BAD_MIN_PASS_LIFE?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:351: error: ?€˜KADM5_PASS_Q_TOOSHORT?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:354: error: ?€˜KADM5_PASS_Q_CLASS?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:357: error: ?€˜KADM5_PASS_Q_DICT?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:360: error: ?€˜KADM5_PASS_REUSE?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:363: error: ?€˜KADM5_PASS_TOOSOON?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:366: error: ?€˜KADM5_POLICY_REF?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:369: error: ?€˜KADM5_INIT?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:372: error: ?€˜KADM5_BAD_PASSWORD?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:375: error: ?€˜KADM5_PROTECT_PRINCIPAL?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:378: error: ?€˜KADM5_BAD_SERVER_HANDLE?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:381: error: ?€˜KADM5_BAD_STRUCT_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:384: error: ?€˜KADM5_OLD_STRUCT_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:387: error: ?€˜KADM5_NEW_STRUCT_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:390: error: ?€˜KADM5_BAD_API_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:393: error: ?€˜KADM5_OLD_LIB_API_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:396: error: ?€˜KADM5_OLD_SERVER_API_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:399: error: ?€˜KADM5_NEW_LIB_API_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:402: error: ?€˜KADM5_NEW_SERVER_API_VERSION?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:405: error: ?€˜KADM5_SECURE_PRINC_MISSING?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:408: error: ?€˜KADM5_NO_RENAME_SALT?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:411: error: ?€˜KADM5_BAD_CLIENT_PARAMS?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:414: error: ?€˜KADM5_BAD_SERVER_PARAMS?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:417: error: ?€˜KADM5_AUTH_LIST?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:420: error: ?€˜KADM5_AUTH_CHANGEPW?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:423: error: ?€˜KADM5_BAD_TL_TYPE?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:426: error: ?€˜KADM5_MISSING_CONF_PARAMS?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:429: error: ?€˜KADM5_BAD_SERVER_NAME?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:432: error: ?€˜KADM5_AUTH_SETKEY?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:435: error: ?€˜KADM5_SETKEY_DUP_ENCTYPES?€™ undeclared (first use in this function)
/root/kadm5-0.2.3/kadm5.c:438: error: label at end of compound statement
/root/kadm5-0.2.3/kadm5.c: In function ?€˜zif_kadm5_create_principal?€™:
/root/kadm5-0.2.3/kadm5.c:660: warning: format ?€˜%d?€™ expects type ?€˜int?€™, but argument 3 has type ?€˜long int?€™
/root/kadm5-0.2.3/kadm5.c: In function ?€˜zif_kadm5_modify_principal?€™:
/root/kadm5-0.2.3/kadm5.c:947: warning: format ?€˜%d?€™ expects type ?€˜int?€™, but argument 3 has type ?€˜long int?€™
/root/kadm5-0.2.3/kadm5.c: In function ?€˜zif_kadm5_get_principals?€™:
/root/kadm5-0.2.3/kadm5.c:1047: warning: passing argument 3 of ?€˜kadm5_free_name_list?€™ makes pointer from integer without a cast
/root/kadm5-0.2.3/kadm5.c: In function ?€˜zif_kadm5_get_policies?€™:
/root/kadm5-0.2.3/kadm5.c:1183: warning: passing argument 3 of ?€˜kadm5_free_name_list?€™ makes pointer from integer without a cast
make: *** [kadm5.lo] Error 1
root@gosa:~/kadm5-0.2.3# 

why it is so difficult to install it? :( 
By the way, I am on Ubuntu 8.10...

Thank you in advance for any help here. peace.
 [2009-06-09 08:16 UTC] aa6345 at coventry dot ac dot uk
Same problem here. Did, pecl download. pecl install kadm5-0.2.3.tgz.
13 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
building in /var/tmp/pear-build-aa6345/kadm5-0.2.3
running: /tmp/pear/download/kadm5-0.2.3/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for kadm5 files in default path... not found
configure: error: Please reinstall the kadm5 distribution
ERROR: `/tmp/pear/download/kadm5-0.2.3/configure' failed

Are there any other PHP kerberos libs????
 [2009-09-29 02:39 UTC] fde at fde dot com
I'm on the other hand getting a bunch of different errors which don't seem to be related to missing development headers.

I'm trying to compile it on the current Debian/Lenny stable with no luck so far.

Is there anything I'm failing to notice here? Any help welcome ;)

/tmp/kadm5-0.2.3/kadm5.c: In function 'kadm5_error':
/tmp/kadm5-0.2.3/kadm5.c:438: error: label at end of compound statement
/tmp/kadm5-0.2.3/kadm5.c: In function 'zif_kadm5_init_with_password':
/tmp/kadm5-0.2.3/kadm5.c:474: warning: passing argument 7 of 'kadm5_init_with_password' from incompatible pointer type
/tmp/kadm5-0.2.3/kadm5.c:474: error: too few arguments to function 'kadm5_init_with_password'
make: *** [kadm5.lo] Error 1
 [2010-07-19 08:39 UTC] piotrek dot chwala at gmail dot com
I've got same problems with installing kadm5 PECL module.
After typing:

pecl install kadm5-alpha

result is:

downloading kadm5-0.2.3.tgz ...
Starting to download kadm5-0.2.3.tgz (23,090 bytes)
........done: 23,090 bytes
13 source files, building
WARNING: php_bin /usr/lib64/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
building in /var/tmp/pear-build-root/kadm5-0.2.3
running: /var/tmp/pear/kadm5-0.2.3/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/lib64/php5
checking for PHP includes... -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php5/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/lib64/php5/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for kadm5 files in default path... not found
configure: error: Please reinstall the kadm5 distribution
ERROR: `/var/tmp/pear/kadm5-0.2.3/configure' failed






What I need to install else to get it working?

I've resolved this problem on my ubuntu desktop by installing libkrb5-dev, then I've passed configure script, but get errors when compiling using make:



(ubuntu, desktop)



downloading kadm5-0.2.3.tgz ...
Starting to download kadm5-0.2.3.tgz (23,090 bytes)
........done: 23,090 bytes
13 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
building in /var/tmp/pear-build-root/kadm5-0.2.3
running: /build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20060613
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... gawk
checking for kadm5 support... yes, shared
checking for kadm5 files in default path... found in /usr/include
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /var/tmp/pear-build-root/kadm5-0.2.3/libtool --mode=compile cc  -I. -I/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/kadm5-0.2.3/include -I/var/tmp/pear-build-root/kadm5-0.2.3/main -I/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/krb5  -DHAVE_CONFIG_H  -g -O2   -c /build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c -o kadm5.lo
libtool: compile:  cc -I. -I/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/kadm5-0.2.3/include -I/var/tmp/pear-build-root/kadm5-0.2.3/main -I/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/krb5 -DHAVE_CONFIG_H -g -O2 -c /build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c  -fPIC -DPIC -o .libs/kadm5.o
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c: In function ?kadm5_error?:
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c:438: error: label at end of compound statement
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c: In function ?zif_kadm5_init_with_password?:
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c:474: warning: passing argument 7 of ?kadm5_init_with_password? from incompatible pointer type
/usr/include/kadm5/admin.h:360: note: expected ?char **? but argument is of type ?void **?
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c:474: error: too few arguments to function ?kadm5_init_with_password?
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c: In function ?zif_kadm5_create_principal?:
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c:660: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c: In function ?zif_kadm5_modify_principal?:
/build/buildd/php5-5.2.10.dfsg.1/pear-build-download/kadm5-0.2.3/kadm5.c:947: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int?
make: *** [kadm5.lo] Błąd 1
ERROR: `make' failed
 [2010-11-06 12:18 UTC] georg dot poppe_ at gmx dot de
checking for kadm5 files in default path... not found

To avoid this error install the package libkrb5-dev under 
Ubuntu. It now runs until the error in the message above.
 [2012-01-07 18:16 UTC] roy dot nilanjan at gmail dot com
In function ‘zif_kadm5_init_with_password’:
/home/enilray/kadm5-0.2.3/kadm5.c:469:11: warning: passing argument 1 of ‘kadm5_init_with_password’ from incompatible pointer type
/usr/include/kadm5/admin.h:348:16: note: expected ‘krb5_context’ but argument is of type ‘char *’
/home/enilray/kadm5-0.2.3/kadm5.c:469:11: error: too few arguments to function ‘kadm5_init_with_password’
/usr/include/kadm5/admin.h:348:16: note: declared here
/home/enilray/kadm5-0.2.3/kadm5.c: In function ‘zif_kadm5_destroy’:
/home/enilray/kadm5-0.2.3/kadm5.c:493:2: warning: ‘zend_get_parameters_ex’ is deprecated (declared at /usr/include/php5/Zend/zend_API.h:222)
/home/enilray/kadm5-0.2.3/kadm5.c: In function ‘zif_kadm5_flush’:
/home/enilray/kadm5-0.2.3/kadm5.c:513:2: warning: ‘zend_get_parameters_ex’ is deprecated (declared at /usr/include/php5/Zend/zend_API.h:222)
/home/enilray/kadm5-0.2.3/kadm5.c: In function ‘zif_kadm5_create_principal’:
/home/enilray/kadm5-0.2.3/kadm5.c:655:5: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
/home/enilray/kadm5-0.2.3/kadm5.c: In function ‘zif_kadm5_modify_principal’:
/home/enilray/kadm5-0.2.3/kadm5.c:942:5: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
make: *** [kadm5.lo] Error 1

please let me know the solution
 [2017-04-01 20:44 UTC] tpunt@php.net
-Status: Open +Status: Wont fix
 [2017-04-01 20:44 UTC] tpunt@php.net
Due to this extension not seeing any activity since 2003, this issue will not be fixed. We are therefore closing this now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC