Rastus
12 February 2016, 15:02
I tried to build Hiawatha 10.1 in such a manner:
$ cmake -DENABLE_TOOLKIT=off ..
$ make
However, it seems to fail when building wigwam:
[ 74%] Building C object CMakeFiles/wigwam.dir/src/libfs.c.o
In file included from /home/pi/hiawatha-10.1/src/session.h:21:0,
from /home/pi/hiawatha-10.1/src/cache.c:27:
/home/pi/hiawatha-10.1/src/serverconfig.h:432:30: error: unknown type name ‘t_url_toolkit’
int toolkit_rules_str_to_ptr(t_url_toolkit *toolkit_rules, t_charlist *rules_str, t_url_toolkit ***rules_ptr);
^
/home/pi/hiawatha-10.1/src/serverconfig.h:432:83: error: unknown type name ‘t_url_toolkit’
int toolkit_rules_str_to_ptr(t_url_toolkit *toolkit_rules, t_charlist *rules_str, t_url_toolkit ***rules_ptr);
^
CMakeFiles/hiawatha.dir/build.make:77: recipe for target 'CMakeFiles/hiawatha.dir/src/cache.c.o' failed
make[2]: *** [CMakeFiles/hiawatha.dir/src/cache.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 75%] Building C object CMakeFiles/wigwam.dir/src/libstr.c.o
In file included from /home/pi/hiawatha-10.1/src/session.h:21:0,
from /home/pi/hiawatha-10.1/src/send.h:17,
from /home/pi/hiawatha-10.1/src/cgi.c:26:
/home/pi/hiawatha-10.1/src/serverconfig.h:432:30: error: unknown type name ‘t_url_toolkit’
int toolkit_rules_str_to_ptr(t_url_toolkit *toolkit_rules, t_charlist *rules_str, t_url_toolkit ***rules_ptr);
^
/home/pi/hiawatha-10.1/src/serverconfig.h:432:83: error: unknown type name ‘t_url_toolkit’
int toolkit_rules_str_to_ptr(t_url_toolkit *toolkit_rules, t_charlist *rules_str, t_url_toolkit ***rules_ptr);
^
CMakeFiles/hiawatha.dir/build.make:100: recipe for target 'CMakeFiles/hiawatha.dir/src/cgi.c.o' failed
make[2]: *** [CMakeFiles/hiawatha.dir/src/cgi.c.o] Error 1
CMakeFiles/Makefile2:97: recipe for target 'CMakeFiles/hiawatha.dir/all' failed
make[1]: *** [CMakeFiles/hiawatha.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 76%] Building C object CMakeFiles/wigwam.dir/src/liblist.c.o
[ 77%] Building C object CMakeFiles/wigwam.dir/src/memdbg.c.o
[ 78%] Building C object CMakeFiles/wigwam.dir/src/toolkit.c.o
[ 79%] Building C object CMakeFiles/wigwam.dir/src/wigwam.c.o
Linking C executable wigwam
[ 79%] Built target wigwam
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
Am I doing something wrong, or is this a bug?
Thank you for making Hiawatha available, Hugo. Your work is very much appreciated!
This topic has been closed.