CFLAGS="-I/path/to/libevent/include" LDFLAGS="-L/path/to/libevent/lib"
./configure
include has event.h and the event directory
-------- Original message --------
From: Jeffery Joltes <jeff.jol...@gmail.com>
Date:09/01/2015 18:22 (GMT+00:00)
To: Nicholas Marriott
<nicholas.marri...@gmail.com>,tmux-users@lists.sourceforge.net
Subject: Re: Error building source
Thanks for your response Nicholas,
Well I am confused as to how to include the paths for libevent properly. On one
hand event.h seems to be referencing /event2/visibility.h --> which would
indicate that the main include path should be as follows
LIBEVENT_CFLAGS=-I/[path-to-home]/usr/include/libevent/
Note, I have symlinks between this directory and the include directory
delivered with the libevent source
And on the other hand tmux.h is referencing event.h and event_struct.h as if
the include path should be included like this
LIBEVENT_CFLAGS=I/[path-to-home]/usr/include/libevent/event2
is there a specific libevent version that is organized differently?
Also, I have symlinks directly to each of the libevent library files, allowing
for
LIBEVENT_LIBS=-L[path-to-home]/usr/lib/libevent
Any help is greatly appreciated!
Thanks,
Jeff
On Fri, Jan 9, 2015 at 1:25 AM, Nicholas Marriott <nicholas.marri...@gmail.com>
wrote:
What exact command line do you use to configure?
On Thu, Jan 08, 2015 at 03:40:12PM -0700, Jeffery Joltes wrote:
> I do not have root permission so I am trying to build tmux from source. I
> built libevent from source and set the configure flags to specify a custom
> location.
> configure succeeds but I'm getting the following compiler error
> In file included from arguments.c:26:
> tmux.h:27:19: error: event.h: No such file or directory
> In file included from arguments.c:26:
> tmux.h:894: error: field ***changes_timer*** has incomplete type
> tmux.h:929: error: field ***name_timer*** has incomplete type
> tmux.h:1205: error: field ***key_timer*** has incomplete type
> tmux.h:1257: error: field ***event*** has incomplete type
> tmux.h:1279: error: field ***repeat_timer*** has incomplete type
> tmux.h:1307: error: field ***identify_timer*** has incomplete type
> tmux.h:1310: error: field ***message_timer*** has incomplete type
> make: *** [arguments.o] Error 1
> At first glance it looks as if it can't find the event_struct, but I've
> got the feeling there is more to this issue than that.
> Running in CentOS version 6.6
> Any help would be very much appreciated!
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users