Hi,
i have a question regarding the --askpass option.
I think the username and hostname in the argument vector would be useful for
some applications. Is this a bad idea?
BTW, why does lsh write the prompt string in argv[1]?
Regards
Georg Sauthoff
The configure script doesn't appear to be doing its mojo with
src/spki/spki-types.in. Or am I doing something wrong? An abridged
transcript follows.
Sorry I can't offer more information on this; automake/autoconf make my
head spin.
TIA
Neale
------8<------
~/src/import $ uname -a
Linux drteeth 2.6.9-1-686 #1 Thu Nov 25 03:48:29 EST 2004 i686 GNU/Linux
~/src/import $ cvs -d :pserver:anonymous@cvs.lysator.liu.se:/cvsroot/lsh co lsh
cvs checkout: Updating lsh
U lsh/.bootstrap
U lsh/.cvsignore
U lsh/ANNOUNCE
U lsh/AUTHORS
U lsh/COPYING
U lsh/ChangeLog
U lsh/ChangeLog.1
U lsh/ChangeLog.2
U lsh/FAQ
U lsh/Makefile.am
[snip]
~/src/import $ cd lsh
~/src/import/lsh $ ./.bootstrap
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: installing `./depcomp'
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: installing `./depcomp'
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: installing `./COPYING'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
Makefile.am: installing `./INSTALL'
doc/Makefile.am:12: installing `./texinfo.tex'
src/Makefile.am: installing `./depcomp'
~/src/import/lsh $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
[snip]
~/src/import/lsh $ make
/usr/bin/make all-recursive
[snip]
Making all in spki
make[4]: Entering directory `/home/neale/src/import/lsh/src/spki'
/usr/bin/make all-recursive
make[5]: Entering directory `/home/neale/src/import/lsh/src/spki'
Making all in .
make[6]: Entering directory `/home/neale/src/import/lsh/src/spki'
if gcc -DHAVE_CONFIG_H -I. -I/home/neale/src/import/lsh/src/spki -I. -I/home/neale/src/import/lsh/src/spki/.. -I../nettle -g -O2 -ggdb3 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT certificate.o -MD -MP -MF ".deps/certificate.Tpo" \
-c -o certificate.o `test -f 'certificate.c' || echo '/home/neale/src/import/lsh/src/spki/'`certificate.c; \
then mv -f ".deps/certificate.Tpo" ".deps/certificate.Po"; \
else rm -f ".deps/certificate.Tpo"; exit 1; \
fi
In file included from certificate.c:35:
certificate.h:34:24: spki-types.h: No such file or directory
In file included from certificate.c:36:
parse.h:47: error: field `type' has incomplete type
parse.h:55: error: field `type' has incomplete type
parse.h:92: warning: parameter has incomplete type
certificate.c: In function `spki_hash_verify':
certificate.c:647: error: `SPKI_TYPE_MD5' undeclared (first use in this function)
certificate.c:647: error: (Each undeclared identifier is reported only once
certificate.c:647: error: for each function it appears in.)
certificate.c:650: error: `SPKI_TYPE_SHA1' undeclared (first use in this function)
certificate.c: In function `parse_sequence':
certificate.c:690: error: `SPKI_TYPE_SEQUENCE' undeclared (first use in this function)
certificate.c:690: error: type of formal parameter 2 is incomplete
certificate.c:690: error: invalid use of undefined type `enum spki_type'
certificate.c:697: error: `SPKI_TYPE_END_OF_EXPR' undeclared (first use in this function)
certificate.c:698: error: invalid use of undefined type `enum spki_type'
certificate.c:716: error: `SPKI_TYPE_CERT' undeclared (first use in this function)
certificate.c:727: error: invalid use of undefined type `enum spki_type'
certificate.c:742: error: `SPKI_TYPE_PUBLIC_KEY' undeclared (first use in this function)
certificate.c:750: error: invalid use of undefined type `enum spki_type'
certificate.c:760: error: `SPKI_TYPE_SIGNATURE' undeclared (first use in this function)
certificate.c:770: error: invalid use of undefined type `enum spki_type'
certificate.c:771: error: `SPKI_TYPE_HASH' undeclared (first use in this function)
certificate.c:771: error: invalid use of undefined type `enum spki_type'
certificate.c:773: error: invalid use of undefined type `enum spki_type'
certificate.c:786: error: `SPKI_TYPE_DO' undeclared (first use in this function)
certificate.c:788: error: invalid use of undefined type `enum spki_type'
make[6]: *** [certificate.o] Error 1
make[6]: Leaving directory `/home/neale/src/import/lsh/src/spki'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/neale/src/import/lsh/src/spki'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/neale/src/import/lsh/src/spki'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/neale/src/import/lsh/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/neale/src/import/lsh/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/neale/src/import/lsh'
make: *** [all] Error 2
~/src/import/lsh $ find . -name spki-types\*
./src/spki/spki-types.in