[OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread Andrew Deason
On Sat, 16 Mar 2013 12:13:04 -0700 Russ Allbery r...@stanford.edu wrote: The basic problem that you're having is that you aren't getting -lasn1 and -lhcrypto (at least). During the configure run, do you see a line that says checking for --deps support in krb5-config? Heimdal's

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread brandon s allbery kf8nh
On Thu, 28 Mar 2013 13:26:46 -0500 Andrew Deason adea...@sinenomine.net wrote: arguments reveals that Solaris Studio doesn't like -pthreads (it interprets it as the options -p, -h, etc, and obviously -h is not correct). And krb5-config does indeed say -pthreads for krb5-config --libs. This

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread Russ Allbery
Andrew Deason adea...@sinenomine.net writes: No, krb5-config --deps doesn't exist in any release of heimdal I'm aware of (1.5.3 didn't seem to have it). And Måns is using heimdal 1.2.1, which certainly does not have --deps (discussed briefly offline). windlord:~ krb5-config.heimdal --deps

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread Russ Allbery
I should also note that RRA_LIB_KRB5 and, for that matter, krb5-config only guarantee to provide access to the krb5 API. The reason why OpenAFS has these problems is because OpenAFS uses functions that are not part of the krb5 API and are provided by other libraries in both MIT Kerberos and in

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread Russ Allbery
Andrew Deason adea...@sinenomine.net writes: For the linker? I thought for linking all it did was -lpthread (though it may do other things for the preprocessor or compiler). It's not a valid option to GNU ld, either. It's opaque to the user. Basically, the gcc documentation says use -pthread

[OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread Andrew Deason
On Thu, 28 Mar 2013 13:03:13 -0700 Russ Allbery r...@stanford.edu wrote: MIT Kerberos definitely requires (or at least required) linking with pthreads, since without it you get undefined references to pthread_setspecific and the like on platforms without transitive shared library dependency

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-28 Thread Russ Allbery
Andrew Deason adea...@sinenomine.net writes: So, another interesting thing on this. heimdal gives you .la files for all of the various libraries, and on master, we build with libtool. So, libtool uses the information in the .la files, which includes -pthreads, so it always breaks no matter

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-16 Thread Måns Nilsson
Subject: Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10 Date: Fri, Mar 15, 2013 at 02:11:41PM +0100 Quoting Måns Nilsson (mansa...@besserwisser.org): Subject: Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10 Date: Thu, Mar 14, 2013 at 02:16:57PM -0400 Quoting Derrick Brashear (sha

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-16 Thread Russ Allbery
Måns Nilsson mansa...@besserwisser.org writes: Didn't get it right, anyway: ./configure --disable-kernel-module \ --prefix=/opt/openafs \ --exec-prefix=/opt/openafs-162 \ PATH_KRB5_CONFIG=/usr/heimdal/bin/krb5-config \ CC=/opt/SUNWspro/bin/cc make dest master

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-16 Thread Russ Allbery
Russ Allbery r...@stanford.edu writes: Måns Nilsson mansa...@besserwisser.org writes: Didn't get it right, anyway: ./configure --disable-kernel-module \ --prefix=/opt/openafs \ --exec-prefix=/opt/openafs-162 \ PATH_KRB5_CONFIG=/usr/heimdal/bin/krb5-config \

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-16 Thread Russ Allbery
Russ Allbery r...@stanford.edu writes: The basic problem that you're having is that you aren't getting -lasn1 and -lhcrypto (at least). During the configure run, do you see a line that says checking for --deps support in krb5-config? Heimdal's krb5-config only outputs the full set of

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-16 Thread Måns Nilsson
Subject: Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10 Date: Sat, Mar 16, 2013 at 12:13:04PM -0700 Quoting Russ Allbery (r...@stanford.edu): Russ Allbery r...@stanford.edu writes: The basic problem that you're having is that you aren't getting -lasn1 and -lhcrypto (at least). During

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-15 Thread Måns Nilsson
Subject: Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10 Date: Thu, Mar 14, 2013 at 02:16:57PM -0400 Quoting Derrick Brashear (sha...@gmail.com): Pretty sure by 1.6.2 it's PATH_KRB5_CONFIG, but yes, that's the idea Without setting that variable, ./configure finds the right krb5-config

[OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-14 Thread Andrew Deason
On Thu, 14 Mar 2013 13:37:49 +0100 Måns Nilsson mansa...@besserwisser.org wrote: SunOS 5.10 Generic_142900-07 sun4u sparc SUNW,UltraAX-i2 ./configure --disable-kernel-module --with-sysname=sun4x_510 # this is a zone with RO mounted /usr --prefix=/opt/openafs

Re: [OpenAFS] Re: 1.6.2 compilation notes, Sol10

2013-03-14 Thread Derrick Brashear
Pretty sure by 1.6.2 it's PATH_KRB5_CONFIG, but yes, that's the idea Derrick On Mar 14, 2013, at 14:11, Andrew Deason adea...@sinenomine.net wrote: On Thu, 14 Mar 2013 13:37:49 +0100 Måns Nilsson mansa...@besserwisser.org wrote: SunOS 5.10 Generic_142900-07 sun4u sparc SUNW,UltraAX-i2