Hello, I have nettle in ~/gnu, that is why I do:
./configure --with-lib-path=/home/data1/protected/gnu/lib --prefix=/home/data1/protected/gnu after removing nettle from Debian, and using the one from GSRC, from make -C gnu/nettle I tried with: ./configure --with-lib-path=/home/data1/protected/gnu/lib,/home/data1/protected/gnu/include --prefix=/home/data1/protected/gnu Maybe I am doing something wrong. My nettle IS in ~/gnu/ but I am maybe using wrong ./configure option. If someone can help, thank you. On Sat, Mar 19, 2016 at 01:30:48AM -0700, carl hansen wrote: > On Sat, Mar 19, 2016 at 12:23 AM, Jean Louis <[email protected]> wrote: > > > Hello, > > > > Yes, have done same steps with same verson, and I am on Debian Jessie > > and here is what I get: > > > > --- > > res = (dsa_keypair_from_sexp_alist(&dsa_params, dsa_pub, NULL, > > ^ > > In file included from verify.c:28:0: > > /usr/include/nettle/dsa.h:227:1: note: expected ‘unsigned int’ but > > argument is of type ‘void *’ > > dsa_keypair_from_sexp_alist(struct dsa_public_key *pub, > > ^ > > verify.c:113:10: warning: passing argument 5 of > > ‘nettle_dsa_keypair_from_sexp_alist’ makes pointer from integer without a > > cast > > DSA_SHA256_Q_BITS, &key->sexp) > > ^ > > In file included from verify.c:28:0: > > /usr/include/nettle/dsa.h:227:1: note: expected ‘struct sexp_iterator *’ > > but argument is of type ‘int’ > > dsa_keypair_from_sexp_alist(struct dsa_public_key *pub, > > ^ > > verify.c:111:10: error: too many arguments to function > > ‘nettle_dsa_keypair_from_sexp_alist’ > > res = (dsa_keypair_from_sexp_alist(&dsa_params, dsa_pub, NULL, > > ^ > > /usr/include/nettle/dsa.h:227:1: note: declared here > > dsa_keypair_from_sexp_alist(struct dsa_public_key *pub, > > ^ > > verify.c:102:21: warning: unused variable ‘dsa_params’ [-Wunused-variable] > > struct dsa_params dsa_params; > > ^ > > Makefile:72: recipe for target 'verify.o' failed > > make[2]: *** [verify.o] Error 1 > > make[2]: Leaving directory '/home/data1/protected/Programming/git/lsh/spki' > > Makefile:37: recipe for target 'all' failed > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory '/home/data1/protected/Programming/git/lsh/spki' > > Makefile:19: recipe for target 'all' failed > > make: *** [all] Error 2 > > > > On Fri, Mar 18, 2016 at 06:16:54PM -0700, carl hansen wrote: > > > On Fri, Mar 18, 2016 at 4:06 AM, Jean Louis <[email protected]> wrote: > > > > > > > Hello, > > > > > > > > First is require to run: > > > > > > > > $ autoconf > > > > > > > > And then I have used it like this: > > > > > > > > bash-4.3$ ./configure --with-lib-path=/home/data1/protected/gnu/lib > > > > --prefix=/home/data1/protected/gnu > > > > > > > > And I have this error: > > > > > > > > > > Not clear if you are trying 2.02 or 2.04 > > > > > > I build 2.04 sucessfully just now using EXACTLY these instructions: > > > git clone https://git.lysator.liu.se/lsh/lsh.git > > > cd lsh > > > git checkout lsh-2.0.4 # This is the stable branch > > > ./.bootstrap > > > ./configure > > > make bootstrap > > > make > > > make check > > > > Those are nettle includes in those error messages. Nettle is by the same > author as lsh. I am using nettle 3.2 > What version are you using? You can install nettle via gsrc
