Subject: Re: agent patch

Re: agent patch

From: Thomas Stover <thomas_at_wsinnovations.com>
Date: Fri, 10 Jul 2009 14:55:51 -0500

Neil Gierman wrote:
>
> From the patch it looks like there is a new source file "agent.c". Need to
> make sure that is added to the Makefile.am (or Makefile.inc if you are using
> my DSP patch).
>
>

The problem here may be the older automake version, I'll try again later
with a newer linux. It could also be I don't know the first thing about
autotools.

changed this line src/Makefile.am from:
libssh2_priv.h openssl.h libgcrypt.h transport.c
to:
libssh2_priv.h openssl.h libgcrypt.h transport.c agent.c

thomas_at_Alfred:~/src/libssh2-1.0$ automake
configure.in:18: version mismatch. This is Automake 1.10.1,
configure.in:18: but the definition used by this AM_INIT_AUTOMAKE
configure.in:18: comes from Automake 1.9.6. You should recreate
configure.in:18: aclocal.m4 with aclocal and run automake again.
thomas_at_Alfred:~/src/libssh2-1.0$ aclocal
thomas_at_Alfred:~/src/libssh2-1.0$ automake
thomas_at_Alfred:~/src/libssh2-1.0$ ./configure --prefix=/home/thomas/
thomas_at_Alfred:~/src/libssh2-1.0$ make
Making all in src
make[1]: Entering directory `/home/thomas/src/libssh2-1.0/src'
make all-am
make[2]: Entering directory `/home/thomas/src/libssh2-1.0/src'
make[2]: *** No rule to make target `agent.lo', needed by `libssh2.la'.
Stop.
make[2]: Leaving directory `/home/thomas/src/libssh2-1.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/thomas/src/libssh2-1.0/src'
make: *** [all-recursive] Error 1

Most likely I need to change some other part of the automake file.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-10