I am compiling a set of packages for two different architectures (i686 and
x86_64 with the build machine being x86_64) which require both libevent and
libevent-devel installed. 

>From what I can gather there won't be any problems if I install both
libevent.i686 and libevent.x86_64 packages on the same machine as there is no
clash of files or directories.

This does not appear to be the case for libevent-devel, however! Quick check of
the include directories gives me this:

diff -NurBb ./i686/usr/include/event-config.h 
--- ./i686/usr/include/event-config.h   2010-11-27 18:36:54.175230724 +0000
+++ ./x86_64/usr/include/event-config.h 2010-11-27 18:37:31.568230278 +0000
@@ -234,7 +234,7 @@
 #define _EVENT_SIZEOF_INT 4
 /* The size of `long', as computed by sizeof. */
 /* The size of `long long', as computed by sizeof. */

Which to me indicates that if I have the x86_64 version of libevent-devel
installed (as the machine on which I am building these packages is x86_64) and
then proceed and install the .i686 version of this package then I am going to be
royally screwed!

Is there any way around this?

Libevent-users mailing list

Reply via email to