cloudbase / EHS

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/
GNU Lesser General Public License v2.1
7 stars 7 forks source link

Need to depend on "cmake" #7

Open FransUrbo opened 8 years ago

FransUrbo commented 8 years ago
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 <ehsdev@fritz-elfert.de>
-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
FransUrbo commented 8 years ago

With #12, this might not be needed..