[OpenAFS] aklog build failure, 1.4.14, Solaris 10, Solaris Studio cc

2011-02-25 Thread Jeff Blaine
I swear I hit something like this a few years ago (2008), but cannot for the life of me find any info on the problem or solution. Solaris Studio 12.2 Solaris 10 SPARC OpenAFS 1.4.14 MIT Kerberos 1.6.3 in /usr/rcf-krb5 make dest ... /opt/SUNWspro/bin/cc -I/usr/rcf-krb5/include -DALLOW_REGISTER

Re: [OpenAFS] aklog: build failure?

2005-12-22 Thread Sergio Gelato
* Jim Rees [2005-12-21 17:20:37 -0500]: I don't know. It's whatever came with OpenBSD 3.6, so it would be at least a year old. Heimdal has had krb5-config since at least version 0.5, but OpenBSD's customised makefile doesn't seem to build it. I checked OpenBSD 3.8, which has Heimdal 0.6.3

Re: [OpenAFS] aklog: build failure?

2005-12-22 Thread Jim Rees
krb5-config is not needed on OpenBSD because Heimdal is installed in a standard place. All that's needed is to avoid running the MIT krb5-config. Do you really need aklog when you have Heimdal's afslog? Not really, but I do like to run the same software on all platforms when I can.

Re: [OpenAFS] aklog: build failure?

2005-12-22 Thread Ken Hornstein
krb5-config is not needed on OpenBSD because Heimdal is installed in a standard place. All that's needed is to avoid running the MIT krb5-config. Urrrk. Explain to me, as a software distributor, how exactly I'm supposed to determine _which_ Kerberos libraries to link against on OpenBSD? I am

Re: [OpenAFS] aklog: build failure?

2005-12-22 Thread Jim Rees
I was speaking of OpenAFS, not OpenBSD/Heimdal in general. It would be nice to have krb5-config on OpenBSD, but it's not necessary for OpenAFS. As a distributor of software other than OpenAFS, yes you have a problem. ___ OpenAFS-info mailing list

[OpenAFS] aklog: build failure?

2005-12-21 Thread Michael Bartosh
I noted this conversation in the archives: http://www.mail-archive.com/openafs-info@openafs.org/msg18512.html ...which leads me to believe that the I have to build my own aklog, regardless of which rpm's I use. When I try to build aklog, however, I generate this error: gcc -pipe -O2

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Ken Hornstein
I noted this conversation in the archives: http://www.mail-archive.com/openafs-info@openafs.org/msg18512.html aklog_main.c:198:2: error: #error Must have either keyblock or session member of krb5_creds aklog_main.c:204:2: error: #error You must have one of krb5_524_convert_creds or

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Jim Rees
I just went through this same thing on OpenBSD. In my case it was a matter of adding -lcrypto to KRB5LIBS. As Ken said, check config.log to find out what the problem is, then adjust KRB5CFLAGS and KRB5LIBS. You didn't say how you configured, but if you have a working krb5-config the easiest

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Michael Bartosh
On Dec 21, 2005, at 1:57 PM, Ken Hornstein wrote: I noted this conversation in the archives: http://www.mail-archive.com/openafs-info@openafs.org/msg18512.html aklog_main.c:198:2: error: #error Must have either keyblock or session member of krb5_creds aklog_main.c:204:2: error: #error You

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Ken Hornstein
doh.. I assumed configure would look for krb out of box.. calling -- with-krb5-conf fixed things right up. So, you didn't give it any Kerberos options _at all_ to configure? I ask because in that case, make is not supposed to try to build aklog, and if it did, then that's a bug in the

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Derek Atkins
Quoting Ken Hornstein [EMAIL PROTECTED]: doh.. I assumed configure would look for krb out of box.. calling -- with-krb5-conf fixed things right up. So, you didn't give it any Kerberos options _at all_ to configure? I ask because in that case, make is not supposed to try to build aklog, and

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Jim Rees
When /i/ first started playing with it I assumed that when I used --enable-krb5 it would perform an AM_PATH_PROG(KRB5_CONFIG, krb5-config) and search in my path.. That wouldn't work for me. I've got a /usr/local/bin/krb5-config for MIT, but I normally use Heimdal and it has no krb5-config.

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Jim Rees
Configure generates src/aklog/Makefile even if you don't specify --with-krb5. That's ok because the top-level Makefile doesn't try to descend into src/aklog. But you run into trouble if someone tries to do the make manually, because the correct flags won't be set. This is really user error but

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Ken Hornstein
When /i/ first started playing with it I assumed that when I used --enable-krb5 it would perform an AM_PATH_PROG(KRB5_CONFIG, krb5-config) and search in my path.. That wouldn't work for me. I've got a /usr/local/bin/krb5-config for MIT, but I normally use Heimdal and it has no krb5-config.

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Russ Allbery
Jim Rees [EMAIL PROTECTED] writes: That wouldn't work for me. I've got a /usr/local/bin/krb5-config for MIT, but I normally use Heimdal and it has no krb5-config. That's odd -- what version of Heimdal? The one in Debian has a krb5-config. Maybe that's a Debian local modification? I didn't

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Derek Atkins
Quoting Ken Hornstein [EMAIL PROTECTED]: I was thinking of making that the default, but when the whole thing about making it work with autoconf 2.13 came out, I lost interest in writing complex autoconf macros (does 2.13 even have AC_PATH_PROG()? I don't know, and I'm not interested in digging

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Derek Atkins
Quoting Jim Rees [EMAIL PROTECTED]: When /i/ first started playing with it I assumed that when I used --enable-krb5 it would perform an AM_PATH_PROG(KRB5_CONFIG, krb5-config) and search in my path.. That wouldn't work for me. I've got a /usr/local/bin/krb5-config for MIT, but I normally

Re: [OpenAFS] aklog: build failure?

2005-12-21 Thread Jim Rees
I don't know. It's whatever came with OpenBSD 3.6, so it would be at least a year old. ___ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info