Subject: Re: [OpenAFS] 1.6.2 compilation notes, Sol10 Date: Thu, Mar 14, 2013 
at 09:06:44AM -0400 Quoting Derrick Brashear ([email protected]):
> I take it the krb5-config from your heimdal doesn't put out a useful
> set of libs?

Did not check, actually. Same machine, make distclean, and: 

./configure --prefix=/opt/openafs \
        --disable-kernel-module \
        --exec-prefix=/opt/openafs-162   \
        --with-krb5=/usr/heimdal  CC=/opt/SUNWspro/bin/cc

Almost similar: 

# cd src/venus/
# LC_ALL=C make  # not all people read swedish compiler errors fluently
/opt/SUNWspro/bin/cc -I/usr/heimdal/include    -O 
-I/tank/scratch/openafs-1.6.2/src/config -I/tank/scratch/openafs-1.6.2/include 
-I. -I.  -mt -DAFS_PTHREAD_ENV -dy -Bdynamic -o afsio afsio.o vldbint.cs.o 
afscbint.ss.o vldbint.xdr.o /tank/scratch/openafs-1.6.2/lib/libafscp.a  
/tank/scratch/openafs-1.6.2/lib/libafsauthent.a  
/tank/scratch/openafs-1.6.2/lib/libafsrpc.a  
/tank/scratch/openafs-1.6.2/lib/libcmd.a  
/tank/scratch/openafs-1.6.2/lib/libafsutil.a \
        -lpthread -lsocket -lresolv -lsocket -lnsl -lintl -ldl -lkrb5 -lcom_err 
-lsocket -lnsl -lresolv
ld: fatal: library -lcom_err: not found
ld: fatal: File processing errors. No output written to afsio
*** Error code 1
make: Fatal error: Command failed for target `afsio'

Again, doing: 

#KRB5LIBS = -lkrb5 -lcom_err -lsocket -lnsl -lresolv
KRB5LIBS = -lkrb5 -lsocket -lnsl -lresolv

...helps us to continue. 

And, the other issue, in src/aklog, remains as well. I'll try to upgrade 
Heimdal, just to eliminate that. krb5-conf returns: 

# krb5-config --libs
-L/usr/heimdal-1.2.1/lib -lkrb5 -lhx509 -lcom_err -lhcrypto -lasn1 -lwind 
-lroken -ldoor -lresolv -lnsl -lsocket -pthreads
# krb5-config --cflags
-I/usr/heimdal-1.2.1/include 
# 

...which apparently isn't used. config.log reports: 

# grep krb5-config config.log
configure:22407: checking for krb5 support in krb5-config
KRB5_CONFIG='/usr/heimdal/bin/krb5-config'

I'm running 1.6.2 now, and doing fine, so the imminent issues (security)
are gone but even so we want compiles on Solaris to work.
 
> On Thu, Mar 14, 2013 at 8:37 AM, Måns Nilsson <[email protected]> 
> wrote:
> > Just a little headsup on compiling on Sol10 (old release, I can't,
> > for reasons of lawnmower, upgrade as easily as I wish.)
> >
> >
> > 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
> >             --exec-prefix=/opt/openafs-162
> >             --with-krb5=/usr/heimdal
> >             CC=/opt/SUNWspro/bin/cc CFLAGS=-I/usr/heimdal/include
> >             LDFLAGS=-L/usr/heimdal/lib  -lkrb5 -lhx509
> >
> > src/venus lotsa borkenedness, can be built through if not fault-free by
> > removing -lcom_err from the KRB5LIBS variable in Makefile
> >
> > src/aklog needs -lasn1 in the corresponding variable.
> >
> >
> > --
> > Måns Nilsson     primary/secondary/besserwisser/machina
> > MN-1334-RIPE                             +46 705 989668
> > ... I see TOILET SEATS ...
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> >
> > iEYEARECAAYFAlFBxJwACgkQ02/pMZDM1cVktACgpqxULBb3syCOINX4nhrNKyzv
> > YRwAnja4BB51UM0yPSBn4N9lXd+oMm2X
> > =Zilc
> > -----END PGP SIGNATURE-----
> >
> 
> 
> 
> -- 
> Derrick

-- 
Måns Nilsson     primary/secondary/besserwisser/machina
MN-1334-RIPE                             +46 705 989668
I'm meditating on the FORMALDEHYDE and the ASBESTOS leaking into my
PERSONAL SPACE!!

Attachment: signature.asc
Description: Digital signature

Reply via email to