MIT Kerberos compilation error (Was: Re: MIT & SEAM Kerberos compatibility)

Christian cgregoir99 at yahoo.com
Tue Sep 2 05:00:53 EDT 2003


"Jerome Walter" <walter+SP at M.efrei.fr> wrote in message
news:3f545a69$0$6240$626a54ce at news.free.fr...
> Christian wrote:
> > Edit util/et/Makefile and look fot the line
> > @echo "building static $(LIB) library"
> > That's where the static libs are built. Remove the @ on the line below,
the
> > one starting with @dirs and run 'make clean' then 'make' so that you can
see
> > the command run. Might be something wrong with the options passed to ar.
>
> Thank you for the tip: here comes the output :
>
> rm -f libcom_err.a
> building static com_err library
> dirs=`echo OBJS.ST | \
>          sed -e 's%/OBJS.ST%%g' -e 's%OBJS.ST%.%'`; \
>          false cq libcom_err.a `for d in $dirs; do \
>                  sed -e '/^$/d' -e "s%^%$d/%" -e "s% % $d/%g" \
>                          $d/OBJS.ST; done`
> *** Error code 255
> make: Fatal error: Command failed for target `libcom_err.a'
> Current working directory /export/home/root/krb5-1.3.1/solaris/util/et
> *** Error code 1
>
> I have to admit, i have no idea what is false ...
>

Should be 'ar cq ...' instead of 'false cq ...'. On Solaris, the latter does
nothing, just returning 255, hence the 'Error code 255' msg that pops up.
I guess configure couldn't find a proper ar and so replaced it with false in
your makefiles.

Check if ar can be found on your platform (have a look at the output of
configure),
which ar
It might not be located in $PATH

Christian




More information about the Kerberos mailing list