Prem R. Baranwal <C_prem.b <at> appnomic.com> writes:
> Can anybody describe the steps to build libevhtp project?
> I copied the source files, built the pattern matching module (onigurima),
> added LIBEVENT_LIBRARY path (pointing to libevent.lib)
> and ran cmake on main folder.

I don't think you need to build oniguruma separately.
libevhtp will build it for you.

Anyway, I'm using the following command-line to build libevehtp:
  CMAKE_LIBRARY_PATH=/usr/local/libevent/lib cmake \
    -DEVHTP_DISABLE_SSL=ON -DEVHTP_DISABLE_REGEX=ON -DEVHTP_DIABLE_REGEX=ON \
    -DLIBEVENT_INCLUDE_DIR=/usr/local/libevent/include \
    -DCMAKE_C_FLAGS='-fPIC -ggdb -fno-omit-frame-pointer -O2' .

Just my two cents.

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://lists.monkey.org:8080/listinfo/libevent-users

Reply via email to