Re: kadm5 Library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Sorry, I could have been a little clearer:

I can't recompile PHP.  It's against our general policy to use custom compiled software on the grounds that there are too many sysadmins managing a lot of these machines and if some software is custom compiled and others not, it gets too confusing when it comes to keeping the machines updated and patched.  We're talking a dozen sysadmins and hundreds of machines here.  :)

That is understandable. No harm is done and sorry for the late reply.
I did try to compile the PECL library by specifying the path to the Kerberos libraries as you suggested, but it turns out that the normal version of Kerberos seems to have, among other things, a "krb5/admin.h" header file, and the one that comes with CentOS has "krb5/krb5.h" instead, and even when I change the source code to use "krb5/krb5.h", it still throws about 50 errors talking about missing functions and re-defined functions and so on.

Did you try to install krb5-devel. Try "yum search krb5" to see all the available packages that CentOS includes. In case your yum doesn't find something you may add more repos like Dag's:

http://dag.wieers.com/

It is just an rpm that updates the systems repositories that I find very useful.

I'm thinking that the problem is that the PECL module was designed to work with one version of the Kerberos library and CentOS provides a different version.  I guess I was really asking if anyone had any diffs or anything I could apply to the PECL module to make it compile on a CentOS machine.  Or perhaps is there a Yum repository somewhere that I could use to get a version of the PECL module precompiled for CentOS?

I am not aware if there is a pre-compiled package for kerberos but Dag's repo doesn't provide it AFAIK. It does provide some other pecl extensions like php-pecl-fileinfo etc but not this one.

What you need is to find a kerberos rpm to include development header in order to compile it your self.

I should point out that the Perl Kerberos module did install and compile successfully on this machine, so I'm fairly sure that Kerberos is itself working.

Tim Gustafson
BSOE Webmaster
UC Santa Cruz
tjg@xxxxxxxxxxxx
831-459-5354


Well let me tell what I did:
I have installed this that is needed for the package to work:
http://dag.wieers.com/rpm/packages/re2c/re2c-0.12.0-1.el5.rf.i386.rpm

I have downloaded the source and tried to compile it with:
./configure --with-kadm5=/usr/include/krb5

But the compilation failed.

My installed packages are:
krb5-server-1.6.1-25.el5_2.2
krb5-libs-1.6.1-25.el5_2.2
krb5-workstation-1.6.1-25.el5_2.2
pam_krb5-2.2.14-1.el5_2.1
krb5-devel-1.6.1-25.el5_2.2


And then I run into this:
http://pecl.php.net/bugs/bug.php?id=15196&thanks=3

I have already reported the bug and lets hope it will get fixed.

--
Thodoris


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux