23.01.2020
Posted by 

Code: server#./configure -enable-daemon -disable-gtkchecking for a BSD-compatible install. /usr/bin/install -cchecking whether build environment is sane. Yeschecking for a thread-safe mkdir -p. /bin/mkdir -pchecking for gawk.

Gawkchecking whether make sets $(MAKE). Yeschecking how to create a ustar tar archive. Gnutarchecking build system type. I686-pc-linux-gnuchecking host system type. I686-pc-linux-gnuchecking for style of include used by make. GNUchecking for gcc. Gccchecking whether the C compiler works.

Yeschecking for C compiler default output file name. A.outchecking for suffix of executables.checking whether we are cross compiling.

Nochecking for suffix of object files. Ochecking whether we are using the GNU C compiler. Yeschecking whether gcc accepts -g. Yeschecking for gcc option to accept ISO C89.

None neededchecking dependency style of gcc. Gcc3checking for a sed that does not truncate output. /bin/sedchecking for grep that handles long lines and -e.

Build

/bin/grepchecking for egrep. /bin/grep -Echecking for fgrep.

/bin/grep -Fchecking for ld used by gcc. /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld. Yeschecking for BSD- or MS-compatible name lister (nm). /usr/bin/nm -Bchecking the name lister (/usr/bin/nm -B) interface. BSD nmchecking whether ln -s works. Yeschecking the maximum length of command line arguments.

98304checking whether the shell understands some XSI constructs. Yeschecking whether the shell understands '+='. Yeschecking for /usr/bin/ld option to reload object files.rchecking for objdump. Objdumpchecking how to recognize dependent libraries. Passallchecking for ar. Archecking for strip. Stripchecking for ranlib.

Ranlibchecking command to parse /usr/bin/nm -B output from gcc object. Okchecking how to run the C preprocessor. Gcc -Echecking for ANSI C header files. Yeschecking for sys/types.h. Yeschecking for sys/stat.h. Yeschecking for stdlib.h.

Yeschecking for string.h. Yeschecking for memory.h. Yeschecking for strings.h. Yeschecking for inttypes.h. Yeschecking for stdint.h. Yeschecking for unistd.h. Yeschecking for dlfcn.h.

Yeschecking for objdir.libschecking if gcc supports -fno-rtti -fno-exceptions. Nochecking for gcc option to produce PIC.fPIC -DPICchecking if gcc PIC flag -fPIC -DPIC works. Yeschecking if gcc static flag -static works. Yeschecking if gcc supports -c -o file.o.

Install Libevent Windows 11

Yeschecking if gcc supports -c -o file.o. (cached) yeschecking whether the gcc linker (/usr/bin/ld) supports shared libraries. Yeschecking whether -lc should be explicitly linked in. Nochecking dynamic linker characteristics. GNU/Linux ld.sochecking how to hardcode library paths into programs. Immediatechecking whether stripping libraries is possible. Yeschecking if libtool supports shared libraries.

Yeschecking whether to build shared libraries. Yeschecking whether to build static libraries. Yeschecking for gcc.

(cached) gccchecking whether we are using the GNU C compiler. (cached) yeschecking whether gcc accepts -g. (cached) yeschecking for gcc option to accept ISO C89. (cached) none neededchecking dependency style of gcc. (cached) gcc3checking for g. Gchecking whether we are using the GNU C compiler. Yeschecking whether g accepts -g.

Yeschecking dependency style of g. Gcc3checking whether we are using the GNU C compiler. (cached) yeschecking whether g accepts -g. (cached) yeschecking dependency style of g. (cached) gcc3checking how to run the C preprocessor. G -Echecking for ld used by g. /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld.

Yeschecking whether the g linker (/usr/bin/ld) supports shared libraries. Yeschecking for g option to produce PIC.fPIC -DPICchecking if g PIC flag -fPIC -DPIC works. Yeschecking if g static flag -static works. Yeschecking if g supports -c -o file.o. Yeschecking if g supports -c -o file.o. (cached) yeschecking whether the g linker (/usr/bin/ld) supports shared libraries. Yeschecking dynamic linker characteristics.

Build Libevent Under Windows

GNU/Linux ld.sochecking how to hardcode library paths into programs. Immediatechecking for inline. Inlinechecking gcc version. 4.1.2checking for ANSI C header files. (cached) yeschecking whether time.h and sys/time.h may both be included. Yeschecking for iconvopen. Yeschecking for pread.

Yeschecking for pwrite. Yeschecking for lrintf. Nochecking for strlcpy. Nochecking for daemon. Yeschecking for dirname.

Yeschecking for basename. Yeschecking for strcasecmp. Yeschecking for localtimer. Yeschecking for fallocate64. Nochecking for posixfallocate. Yeschecking for memmem. Yeschecking for strsep.

Yeschecking for strtold. Yeschecking for syslog.

Yeschecking for valloc. Yeschecking for getpagesize. Yeschecking for posixmemalign. Yeschecking for statvfs. Yeschecking whether make sets $(MAKE). (cached) yeschecking for the pthreads library -lpthreads. Nochecking whether pthreads work without any flags.

Install Libevent Windows 7

Nochecking whether pthreads work with -Kthread. Nochecking whether pthreads work with -kthread. Nochecking for the pthreads library -llthread. Nochecking whether pthreads work with -pthread.

Yeschecking for joinable pthread attribute. PTHREADCREATEJOINABLEchecking if more special flags are required for pthreads. Nochecking for library containing cos.lmchecking for library containing socket.

None requiredchecking for library containing gethostbyname. None requiredchecking for pkg-config. /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0. Yeschecking for OPENSSL.

Yeschecking for LIBCURL. Yeschecking for LIBEVENT. Configure: error: Package requirements (libevent = 2.0.10) were not met:No package 'libevent' foundConsider adjusting the PKGCONFIGPATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables LIBEVENTCFLAGSand LIBEVENTLIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.

I had the same issue on RHEL 5.4 and actually found libevent is installed but there is no libevent.so symlink, only the real version of the library: /usr/lib64/libevent-1.1a.so.1/usr/lib64/libevent-1.1a.so.1.0.2So, ln -s /usr/lib64/libevent-1.1a.so.1 /usr/lib64/libevent.so works pretty well for me without the need to install or alter anything. No idea why RedHat's libevent rpm didn't create the symlink. Maybe a bug to report?But now, it's complaining for this: error: event.h: No such file or directory. Before the configuration and compilation of tmux (or any program) you need to tell it where it can find the libraries it needs. If you have installed some library in a non-standard location, you can use the environmental variable LDLIBRARYPRELOAD to tell, where some libraries are located.I your case: $ export LDLIBRARYPRELOAD=$HOME/.bin-libevent/libAnd then go on with the configuration/compilation.Later on, the binary will also need to know where your additional libraries can be found, so you'll need to place the export statement in your.bashrc (if bash is your login shell).