Code Monkey home page Code Monkey logo

cloudbase / ehs Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 7.0 443 KB

Embedded HTTP Server (EHS) is a C++ class library which can be inherited from to add HTTP(S) server functionality to any class or application. It is easily extendable (samples included) and supports SSL, form data via POST or GET, uploads via multi-part form attachments and WebSockets. Operation modes include single- and multi-threaded operation. Forked from: http://sourceforge.net/projects/ehs/

License: GNU Lesser General Public License v2.1

C 0.10% C++ 56.78% Perl 2.95% CMake 13.21% Makefile 1.29% M4 24.46% Inno Setup 0.98% Shell 0.22%

ehs's Introduction

This isn't really done yet.

EHS is distributed under version 2.1 of the LGPL as described in COPYING.

Check out INSTALL for installation notes.

check out ehs_development_guide.txt for how to develop using EHS.

ehs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ehs's Issues

Need to depend on "cmake"

root@sid64:/usr/local/src/EHS# debuild
[…]
dh build
   dh_testdir
   dh_auto_configure
Can't exec "cmake": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 218.
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo failed to to execute: No such file or di
rectory
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Fix:

diff --git a/debian/control b/debian/control
index b0dcf59..921a087 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: ehs
 Priority: extra
 Maintainer: Fritz Elfert <[email protected]>
-Build-Depends: debhelper (>= 8.0.0), autotools-dev, g++, libssl-dev, libdw-dev, libboost-dev, libboost-regex-dev, libpcre3-dev, libtool, doxygen, graphviz
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, g++, libssl-dev, libdw-dev, libboost-dev, libboost-regex-dev, libpcre3-dev, libtool, doxygen, graphviz, cmake
 Standards-Version: 3.9.2
 Section: libs
 Homepage: http://ehs.fritz-elfert.de

Can't handle boost 1.58

$ ./configure
[…]
checking whether g++ accepts -fno-strict-aliasing... yes
checking for Boost headers version >= 1.33.1... yes
checking for Boost's header version... 
configure: error: invalid value: boost_major_version=

Missing conf/doxygen.cfg

$ debuild
[…]
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/EHS/obj-x86_64-linux-gnu
   debian/rules override_dh_auto_build
make[1]: Entering directory `/usr/local/src/EHS'
chmod a+wr conf/doxygen.cfg
chmod: cannot access conf/doxygen.cfg: No such file or directory
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/usr/local/src/EHS'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Not sure how to do this with cmake, but running autoreconf -fiv && ./configure before debuild will create this file.

Build error - No rule to make target `ehs.h', needed by `doc/ehs.tag'

make[1]: Leaving directory `/usr/local/src/EHS'
   debian/rules override_dh_auto_build
make[1]: Entering directory `/usr/local/src/EHS'
chmod a+wr conf/doxygen.cfg
dh_auto_build -- doxygen-doc
make[2]: Entering directory `/usr/local/src/EHS'
make[2]: *** No rule to make target `ehs.h', needed by `doc/ehs.tag'.  Stop.
make[2]: Leaving directory `/usr/local/src/EHS'
dh_auto_build: make -j1 doxygen-doc returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/usr/local/src/EHS'
make: *** [build] Error 2dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.