Hello, *I'd say it is _possible_ to get clearwater built and working on CentOS . . . * *BUT it would be much MUCH MUCH easier to use ubuntu to build it and run it!* AND on ubuntu you can install rpms for clearwater binaries and tools and you can have a full working and upgradable environment quickly.
*To answer your question:* *You will need to install libevent-devel to satisfy that dependancy.* (sudo yum install libevent-devel) *BUT I found CentOS package versions of libevent-devel was too old so needed to build from source.* Maybe you have a more recent CentOS? Try the yum install first. If that doesn't work then: cd ; wget -c https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz tar -zxvf libevent-2.0.21-stable.tar.gz cd libevent-2.0.21-stable less README ./configure --prefix=/usr/local make -j5 sudo make install I also needed to install *cmake* from source. And needed a later version of *boost* so needed to install that from source. And for that I needed a later version of *gcc*! So, anyway, I would really recommend using ubuntu. :-) James. On 15 May 2014 09:32, Paul Sun <[email protected]> wrote: > Hi > > I am new in Clearwater, and I am trying to set it up on CentOS6. > > I proceed to build the source and I am stopped with below error, can > anyone help? The libevent-2.0.13 is installed and the libevent_pthread > should be in the /usr/lib64. > > Can anyone help? > > > - PS > > Build Type: RelWithDebInfo > Std CFLAGS: -Wall -fno-strict-aliasing -DPROJECT_VERSION="1.2.8" > -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -DEVHTP_DISABLE_SSL > Dbg CFLAGS: -g -Wall -fno-strict-aliasing -ggdb > Rel CFLAGS: -O3 -DNDEBUG -Wall -fno-strict-aliasing > -- Found LibEvent: /usr/lib64/libevent.so > -- Could NOT find LibEventPthreads (missing: LIBEVENT_PTHREADS_LIBRARY) > -- Found LibEventCore: /usr/lib64/libevent_core.so > -- Found LibEventExtra: /usr/lib64/libevent_extra.so > Diabling SSL > CMake Error: The following variables are used in this project, but they > are set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the > CMake files: > LIBEVENT_PTHREADS_LIBRARY (ADVANCED) > linked by target "libevhtp" in directory > /root/clearwater/sprout/modules/libevhtp > linked by target "test" in directory > /root/clearwater/sprout/modules/libevhtp > linked by target "test_basic" in directory > /root/clearwater/sprout/modules/libevhtp > linked by target "test_client" in directory > /root/clearwater/sprout/modules/libevhtp > linked by target "test_proxy" in directory > /root/clearwater/sprout/modules/libevhtp > linked by target "test_vhost" in directory > /root/clearwater/sprout/modules/libevhtp > > -- Configuring incomplete, errors occurred! > make: *** [/root/clearwater/sprout/build/libevhtp/build/Makefile] Error 1 > _______________________________________________ > Clearwater mailing list > [email protected] > http://lists.projectclearwater.org/listinfo/clearwater > -- <http://www.linkedin.com/company/76647?trk=fc_badge> openmindnetworks.com _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
