A beta version of Hiawatha 8.0 which uses CMake instead of Autoconf is now ready for download. Please, test it and send me your feedback. Installation instructions can be found in a INSTALL file inside the source package.
The source package can be found at the download page.
CPack: Install projects
CPack: - Run preinstall target for: Hiawatha
CPack: - Install project: Hiawatha
CMake Error at /home/builder/hiawatha/builds/hiawatha-8.0-beta/cmake_install.cmake:156 (FILE):
file INSTALL cannot find
"/home/builder/hiawatha/builds/hiawatha-8.0-beta/debian/hiawatha".
CPack Error: Error when generating package: Hiawatha
make: *** [package] Error 1
Fail to build the deb package.
Install from source success but it overwrites my previous configuration files and all my settings are gone.
Can you give me some more information about the Debian package build failure?
--- Configuring done
--- Generating done
--- Build files have been written to: /home/samiux/hiawatha-8.0-beta
However, there is not deb package in the directory.
CMake Error at cmake_install.cmake:42 (FILE):
file INSTALL cannot copy file "/home/samiux/hiawatha-8.0-beta/cgi-wrapper"
to "/usr/local/sbin/cgi-wrapper".
make: *** [install] Error 1
Can you send me a copy of your build directory? Please, send it to hugo@hiawatha-webserver.org.
hiawatha-8.0-beta-cmake; all this below runs fine:
# mkdir build && cd ./build
# cmake .. -DCOMPILE_FOR_DEBIAN=on
# make package
I have the hiawatha_8.0-beta_x86_64.deb package, but when I try to install it:
# dpkg -i hiawatha_8.0-beta_x86_64.deb
I get:
dpkg: warning: parsing file '/var/lib/dpkg/tmp.ci/control' near line 5 package 'hiawatha:x86_64':
'x86_64' is not a valid architecture name: character `_' not allowed (only letters, digits and characters `-')
dpkg: error processing hiawatha_8.0-beta_x86_64.deb (--install):
package architecture (x86_64) does not match system (amd64)
Errors were encountered while processing:
hiawatha_8.0-beta_x86_64.deb
Seems to be a simple issue; nevertheless needs fixing IMO.
(And BTW, thank you for the 8.0 version!)
CPack Error: Error when generating package: Hiawatha
make: *** [package] Error 1
Is this intentional?
A minute before I wrote this message, I created a new source package which fixes some issues with the Debian package creation. Redownload the 8.0-beta-cmake source package, please.
Here's a tiny patch I propose to add a bit of convenience to the dependency sanity check on the Debian build script:
~~~~~ CUT ~~~~~
15c15
< exit
---
> dep_sane=false
17a18,20
> if [ "$dep_sane" ] ; then
> exit 1
> fi
~~~~~ CUT ~~~~~
...that way you get a full list of missing deps instead of having to work through them individually.
All the best,
-C