On Wed, Sep 4, 2013 at 12:45 AM, Saad Malik <simf...@gmail.com> 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.h    cursslk.h  menu.h      panel.h        tic.h
cursesm.h    eti.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

Reply via email to