On Mon, Apr 22, 2013 at 12:00:24PM +0000, John Long wrote: > Hi Nicholas, > > Thank you very much. In the meantime after I got Dagobert's answer and had > not yet received your post, I compiled and installed the latest gawk and the > tmux build goes ok now. It still looks we're in somewhat of a flux regarding > which of Dagobert's patches made it to head because without me patching the > build breaks and with patching some of them apply, some don't but in the end > it builds with no errors after putting gawk ahead of Solaris awk in the > path.
Ok well I think this is right so I will apply it and if it is still busted I guess next time someone tries to build on Solaris they will complain. > > Unfortunately, I am having the same problem I have always had on Solaris > Intel: the backspace key goes in the wrong direction. This is real odd > because on Solaris SPARC it works ok. > > Do you or anyone else have any idea what could be causing this? I remember > at one point you suggested me building against gnu curses rather than > Solaris curses and I thought I tried that, but maybe I didn't do all that > was needed. Can you please explain how I could compile and link against gnu > curses rather than Solaris curses so I can test your earlier theory? Well, do you already compile and link against libevent manually? You just need to do the same but with ncurses. Build it into somewhere eg /opt/ncurses: # ./configure --prefix=/opt/ncurses # make # make install I don't think ncurses has any dependencies but if it does you will need to either install them or figure out how to tell ncurses to disable them. Then build tmux. I would try a static build so you don't need to faff about with LD_LIBRARY_PATH: $ CFLAGS="-I/opt/ncurses/include" LDFLAGS="-L/opt/ncurses/lib" ./configure --prefix=/opt/tmux --enable-static $ make $ make install If you already set CFLAGS and LDFLAGS for libevent you'll need to include those bits too (eg CFLAGS="-I/path/to/ncurses/include -I/path/to/libevent/include"). If that doesn't work try removing --enable-static but you'll need to run tmux with LD_LIBRARY_PATH pointing to /opt/ncurses/lib. I haven't used Solaris for a while but tmux definitely worked on Solaris 8, 9 and 10 a couple of years ago and I have heard few other complaints until now. > > Thanks alot. > > /jl > > On Mon, Apr 22, 2013 at 12:53:28PM +0100, Nicholas Marriott wrote: > > The script isn't for awk, I think we just invoke it in a way nawk isn't > > pleased with. Try this please: > > > > You will need to run autogen.sh again. > > > > diff --git a/Makefile.am b/Makefile.am > > index c5369fd..c131940 100644 > > --- a/Makefile.am > > +++ b/Makefile.am > > @@ -242,7 +242,7 @@ tmux.1: tmux.1.in > > if test x@MANFORMAT@ = xmdoc; then \ > > cp tmux.1.in tmux.1; \ > > else \ > > - $(AWK) -fmdoc2man.awk tmux.1.in >tmux.1; \ > > + $(AWK) -fmdoc2man.awk <tmux.1.in >tmux.1; \ > > fi > > > > # Update SF web site. > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users