Re: tmux on Cygwin
On Wed, Sep 4, 2013 at 12:45 AM, Saad Malik wrote: > Mark, > Here are the instructions for compiling tmux in cygwin: > > *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. Before running this, I installed ncurses 5.9. Here is part of the config.log file that is generated by the configure command: gcc version 4.7.3 (GCC) configure:3197: $? = 0 configure:3186: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3197: $? = 1 configure:3186: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3197: $? = 1 configure:3217: checking whether the C compiler works configure:3239: gcc -l/usr/include/ncurses conftest.c >&5 /usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot find -l/usr/include/ncurses collect2: error: ld returned 1 exit status I have that ncurses directory. I can do the following: $ ls /usr/include/ncurses curses.h cursesp.h etip.h ncurses.h term_entry.h cursesapp.h cursesw.h form.h ncurses_dll.h termcap.h cursesf.hcursslk.h menu.h panel.htic.h cursesm.heti.h nc_tparm.h term.h unctrl.h Any idea what I could be doing wrong? > $ make && make install > -- R. Mark Volkmann Object Computing, Inc. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: tmux on Cygwin
On Wed, Sep 4, 2013 at 11:24 AM, Mark Volkmann wrote: > On Wed, Sep 4, 2013 at 12:45 AM, Saad Malik wrote: > >> Mark, >> Here are the instructions for compiling tmux in cygwin: >> >> *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. I am building tmux-1.8. When I run make I get this: tty.c: In function `tty_init_termios': 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. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: tmux on Cygwin
Mark, Try building from the latest trunk: *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 On Wed, Sep 4, 2013 at 10:26 AM, Mark Volkmann wrote: > On Wed, Sep 4, 2013 at 11:24 AM, Mark Volkmann > wrote: > >> On Wed, Sep 4, 2013 at 12:45 AM, Saad Malik wrote: >> >>> Mark, >>> Here are the instructions for compiling tmux in cygwin: >>> >>> *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. > > I am building tmux-1.8. When I run make I get this: > > tty.c: In function `tty_init_termios': > 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. > -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: tmux on Cygwin
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-@PLATFORM@.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 On Wed, Sep 4, 2013 at 12:46 PM, Saad Malik wrote: > Mark, > Try building from the latest trunk: > > *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 > > > > On Wed, Sep 4, 2013 at 10:26 AM, Mark Volkmann > wrote: > >> On Wed, Sep 4, 2013 at 11:24 AM, Mark Volkmann > > wrote: >> >>> On Wed, Sep 4, 2013 at 12:45 AM, Saad Malik wrote: >>> Mark, Here are the instructions for compiling tmux in cygwin: *libevent* $ cd libevent-2.0.21-stable $ make clean $ ./configure --prefix=/usr $ make && make install >>>
Re: tmux on Cygwin
Most of these just look like warnings. But for this: > 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. I believe you need to have pkg-config installed. You can install this via cygwin's setup.exe utility. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users