I get errors from ./autogen.sh. Here is the output:
$ ./autogen.sh
configure.ac:17: installing 'etc/compile'
configure.ac:9: installing 'etc/config.guess'
configure.ac:9: installing 'etc/config.sub'
configure.ac:7: installing 'etc/install-sh'
configure.ac:7: installing 'etc/missing'
Makefile.am:194: warning: source file 'compat/forkpty-@***@.c' is in a
subd
irectory,
Makefile.am:194: but option 'subdir-objects' is disabled
automake-1.14: warning: possible forward-incompatibility.
automake-1.14: At least a source file is in a subdirectory, but the
'subdir-obje
cts'
automake-1.14: automake option hasn't been enabled. For now, the
corresponding
output
automake-1.14: object file(s) will be placed in the top-level directory.
Howeve
r,
automake-1.14: this behaviour will change in future Automake versions: they
will
automake-1.14: unconditionally cause object files to be placed in the same
subdi
rectory
automake-1.14: of the corresponding sources.
automake-1.14: You are advised to start using 'subdir-objects' option
throughout
your
automake-1.14: project, to avoid future incompatibilities.
Makefile.am:197: warning: source file 'compat/imsg.c' is in a subdirectory,
Makefile.am:197: but option 'subdir-objects' is disabled
Makefile.am:197: warning: source file 'compat/imsg-buffer.c' is in a
subdirector
y,
Makefile.am:197: but option 'subdir-objects' is disabled
Makefile.am:200: warning: source file 'compat/closefrom.c' is in a
subdirectory,
Makefile.am:200: but option 'subdir-objects' is disabled
Makefile.am:203: warning: source file 'compat/daemon.c' is in a
subdirectory,
Makefile.am:203: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file 'compat/setenv.c' is in a
subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:209: warning: source file 'compat/strlcat.c' is in a
subdirectory,
Makefile.am:209: but option 'subdir-objects' is disabled
Makefile.am:212: warning: source file 'compat/strlcpy.c' is in a
subdirectory,
Makefile.am:212: but option 'subdir-objects' is disabled
Makefile.am:215: warning: source file 'compat/asprintf.c' is in a
subdirectory,
Makefile.am:215: but option 'subdir-objects' is disabled
Makefile.am:218: warning: source file 'compat/fgetln.c' is in a
subdirectory,
Makefile.am:218: but option 'subdir-objects' is disabled
Makefile.am:221: warning: source file 'compat/getopt.c' is in a
subdirectory,
Makefile.am:221: but option 'subdir-objects' is disabled
Makefile.am:224: warning: source file 'compat/strcasestr.c' is in a
subdirectory
,
Makefile.am:224: but option 'subdir-objects' is disabled
Makefile.am:227: warning: source file 'compat/strsep.c' is in a
subdirectory,
Makefile.am:227: but option 'subdir-objects' is disabled
Makefile.am:230: warning: source file 'compat/vis.c' is in a subdirectory,
Makefile.am:230: but option 'subdir-objects' is disabled
Makefile.am:230: warning: source file 'compat/unvis.c' is in a subdirectory,
Makefile.am:230: but option 'subdir-objects' is disabled
Makefile.am:233: warning: source file 'compat/strtonum.c' is in a
subdirectory,
Makefile.am:233: but option 'subdir-objects' is disabled
Makefile.am:236: warning: source file 'compat/b64_ntop.c' is in a
subdirectory,
Makefile.am:236: but option 'subdir-objects' is disabled
Makefile.am:239: warning: source file 'compat/cfmakeraw.c' is in a
subdirectory,
Makefile.am:239: but option 'subdir-objects' is disabled
Makefile.am: installing 'etc/depcomp'
configure.ac:111: error: possibly undefined macro: AC_SEARCH_LIBS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf-2.69: /usr/bin/autoconf-2.69 failed with exit status: 1
autoreconf failed
Post by Saad MalikMark,
*tmux*
$ git clone git://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code
$ cd tmux-tmux-code
$ ./autogen.sh
$ CFLAGS="-I/usr/include/ncurses" ./configure --prefix=/usr
$ make && make install
However, before trying to build/install the latest tmux I would recommend
that you verify that your cygwin is the latest. Download and run the latest
setup file: http://cygwin.com/setup-x86.exe. Just click next through all
the options, if there are any upgrades it should automatically install
them. By the way, the autogen.sh step above needs the Cygwin dependencies
autoconf/automake, so make sure they're installed via the cygwin setup.exe.
I just built the latest tmux from trunk so it's still compiling/working
for Cygwin.
-Saad
Post by Mark VolkmannPost by Mark VolkmannPost by Saad MalikMark,
*libevent*
$ cd libevent-2.0.21-stable
$ make clean
$ ./configure --prefix=/usr
$ make && make install
*tmux*
$ cd tmux-tmux-code
$ make clean
$ CFLAGS="-I/usr/include/ncurses" ./configure --prefix=/usr
I am stuck on this step.
Saad correctly pointed out that I have a lowercase L for the flag above
instead of an uppercase I. That fixed that problem.
tty.c:197:6: error: `ECHOPRT' undeclared (first use in this function)
tty.c:197:6: note: each undeclared identifier is reported only once for
each function it appears in
Makefile:745: recipe for target `tty.o' failed
--
R. Mark Volkmann
Object Computing, Inc.
--
R. Mark Volkmann
Object Computing, Inc.