Compile problem on Solaris 9

2012-02-29 Thread Robert Nusser
Hi,

These errors seem to be beyond my comprehension! Would anyone please
be able to give me some advice. I would love it if I could get tmux
working on this old Solaris box!


bash-2.05$ cd tmux-1.6
bash-2.05$ ./configure
...
...
bash-2.05$ make
gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
-DPACKAGE_VERSION=\"1.6\" -DPACKAGE_STRING=\"tmux\ 1.6\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
-DVERSION=\"1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DHAVE_CURSES_H=1 -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_B64_NTOP=1 -DHAVE_LIBXNET=1
-DHAVE_CLOSEFROM=1 -DHAVE_DAEMON=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1
-DHAVE_DECL_OPTARG=0 -DHAVE_DECL_OPTIND=0 -DHAVE_DECL_OPTRESET=0
-DHAVE_BZERO=1 -DHAVE_SYSCONF=1 -DHAVE_PROC_PID=1 -I.
-I/usr/local/include-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-I. -I- -I/usr/local/include -D_XPG4_2 -D__EXTENSIONS__
-D_POSIX_PTHREAD_SEMANTICS   -std=c99 -MT arguments.o -MD -MP -MF
.deps/arguments.Tpo -c -o arguments.o arguments.c
In file included from /usr/local/include/evutil.h:37,
 from /usr/local/include/event.h:57,
 from tmux.h:28,
 from arguments.c:24:
/usr/local/include/event2/util.h:431: error: parse error before "evutil_strtoll"
In file included from /usr/local/include/event.h:73,
 from tmux.h:28,
 from arguments.c:24:
/usr/local/include/event2/buffer.h:202: error: parse error before "uint64_t"
/usr/local/include/event2/buffer.h:210: error: parse error before "uint64_t"
In file included from /usr/local/include/event.h:75,
 from tmux.h:28,
 from arguments.c:24:
/usr/local/include/event2/bufferevent.h:806: error: parse error before
"uint64_t"
In file included from /usr/local/include/event.h:78,
 from tmux.h:28,
 from arguments.c:24:
/usr/local/include/event2/tag.h:86: error: parse error before "uint64_t"
/usr/local/include/event2/tag.h:91: error: parse error before "uint64_t"
/usr/local/include/event2/tag.h:109: error: parse error before "uint64_t"
In file included from tmux.h:37,
 from arguments.c:24:
compat.h:37: error: parse error before "u_int64_t"
compat.h:37: warning: type defaults to `int' in declaration of `u_int64_t'
compat.h:37: warning: data definition has no type or storage class
*** Error code 1
make: Fatal error: Command failed for target `arguments.o'
bash-2.05$

bash-2.05$ gcc -v
Reading specs from /opt/sfw/gcc-3/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: ../gcc-3.3.2/configure --prefix=/opt/sfw/gcc-3
--with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as --without-gnu-ld
--without-gnu-as --enable-shared
Thread model: posix
gcc version 3.3.2

I compiled and installed  libevent-2.0.17-stable without problems.

Any ideas?

Thanks,
Robert

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


multiple panes for same terminal session?

2012-02-29 Thread Sam Cramer
Here's a question from a potential "screen" defector:

Can tmux split a window into two panes, both of which are associated with
the same terminal session?  If so, is it possible to put one of those panes
into copy mode while still being able to interact normally with the other
pane?

The use case motivating this question is being able to scroll back in the
history of a terminal session in order to refer to old commands or command
output while still being able to interact with a shell or other program
running "at the bottom" of that session.

Thanks,
Sam
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: multiple panes for same terminal session?

2012-02-29 Thread Nicholas Marriott
No it can't, panes have to be in one window only.


On Wed, Feb 29, 2012 at 06:50:21PM -0800, Sam Cramer wrote:
>Here's a question from a potential "screen" defector:
>Can tmux split a window into two panes, both of which are associated with
>the same terminal session? *If so, is it possible to put one of those
>panes into copy mode while still being able to interact normally with the
>other pane?
>The use case motivating this question is being able to scroll back in the
>history of a terminal session in order to refer to old commands or command
>output while still being able to interact with a shell or other program
>running "at the bottom" of that session.
>Thanks,
>Sam

> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users