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

Re: cvs and heimdal



On Mon, Jul 26, 1999 at 08:45:43AM +0200, Assar Westerlund wrote:
> Brian May <bam@snoopy.apana.org.au> writes:
> > In addition, with 0.1h my Kerberos password is no longer accepted...
> 
> This was caused by a CVS mistake I did. :-(  Please try 0.1j.
> 
> > BTW, in order to get heimdal 0.1h to compile, I had to modify one of the
> > make files (I modified the *.am file, the *.in file was automatically
> > generated). Otherwise gcc would try to link in some object files
> > multiple times for the libroken shared library.
> 
> Right, thanks for the patch, it's in 0.1j.

0.1j still has the same problem with my password not being accepted.
I haven't yet had time to investigate properly, so I may have done
something stupid, but I did install the latest version, killed the old
kdc, and restarted a new copy of kdc.


cvs produces the same error, but I didn't expect much since I don't have
a valid ticket.


Some other comments:

1. Since 0.1h running config.status to update the Makefiles (ie this is
what configure does internally) is extremely slow (ie 15 seconds per
Makefile). I have no idea why - it seems to be spending a lot of time
in sed though (which hasn't changed).





2. Running "make" has encounters problems when the build directory
doesn't equal the source directory:

[523] [snoopy:bam] ~/cvswork/heimdal/build >make
cd .. && aclocal -I ../cf
aclocal: couldn't open directory `../cf': No such file or directory
make: *** [../aclocal.m4] Error 2

(actually, I would rather if the Makefile didn't try to recreate
these files - but my use of CVS confuses it, probably by missing up the
time stamps.)

The above command line should read:

cd .. && aclocal -I cf

as the first cd .. changes to the correct directory.

This looks like a problem with automake, but I may be wrong.




3. Running "make check" has two problems. The first one:
Making check in editline
make[2]: Entering directory `/homes/bam/cvswork/heimdal/build/lib/editline'
make  check-local
make[3]: Entering directory `/homes/bam/cvswork/heimdal/build/lib/editline'

I have to push Ctrl+D to get it to continue.  I believe the make file
is trying to invoke "testit --version" but this operation is not supported.



4. Continued from above:

Making check in krb5
make[2]: Entering directory `/homes/bam/cvswork/heimdal/build/lib/krb5'
cd ../../.. && automake --foreign lib/krb5/Makefile
make  n-fold-test string-to-key-test
make[3]: Entering directory `/homes/bam/cvswork/heimdal/build/lib/krb5'
cd ../../.. && automake --foreign lib/krb5/Makefile
../../libtool --mode=link gcc  -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2  -o n-fold-test  n-fold-test.o libkrb5.la -lresolv
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -o .libs/n-fold-test n-fold-test.o -Wl,--rpath -Wl,/usr/local/lib/heimdal/lib .libs/libkrb5.so -lresolv -lresolv
.libs/libkrb5.so: undefined reference to `free_Principal'
.libs/libkrb5.so: undefined reference to `md5_update'
.libs/libkrb5.so: undefined reference to `md5_init'
.libs/libkrb5.so: undefined reference to `copy_Realm'
.libs/libkrb5.so: undefined reference to `strlwr'
.libs/libkrb5.so: undefined reference to `des_is_weak_key'
.libs/libkrb5.so: undefined reference to `decode_TGS_REP'
.libs/libkrb5.so: undefined reference to `copy_PrincipalName'
.libs/libkrb5.so: undefined reference to `decode_EncKrbCredPart'

[...]

.libs/libkrb5.so: undefined reference to `copy_Ticket'
.libs/libkrb5.so: undefined reference to `decode_KRB_SAFE'
.libs/libkrb5.so: undefined reference to `free_KRB_ERROR'
.libs/libkrb5.so: undefined reference to `strupr'
.libs/libkrb5.so: undefined reference to `free_EncKrbCredPart'
.libs/libkrb5.so: undefined reference to `free_AP_REP'
.libs/libkrb5.so: undefined reference to `encode_KDC_REQ_BODY'
.libs/libkrb5.so: undefined reference to `sha_init'
.libs/libkrb5.so: undefined reference to `copy_EncryptedData'
.libs/libkrb5.so: undefined reference to `decode_ETYPE_INFO'
.libs/libkrb5.so: undefined reference to `set_progname'
.libs/libkrb5.so: undefined reference to `parse_time'
.libs/libkrb5.so: undefined reference to `length_AP_REQ'
.libs/libkrb5.so: undefined reference to `des_string_to_key'
.libs/libkrb5.so: undefined reference to `free_EncryptedData'
.libs/libkrb5.so: undefined reference to `md4_update'
.libs/libkrb5.so: undefined reference to `decode_EncTicketPart'
make[3]: *** [n-fold-test] Error 1
make[3]: Leaving directory `/homes/bam/cvswork/heimdal/build/lib/krb5'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/homes/bam/cvswork/heimdal/build/lib/krb5'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/homes/bam/cvswork/heimdal/build/lib'
make: *** [check-recursive] Error 1

something really broke here.

-- 
Brian May <bam@snoopy.apana.org.au>

PGP signature