Bug #6760
closedstraightforward cmake->make fails on openssl absence
0%
Description
OpenSSL is optional on configuration stage, but obligatory on build:
[ 17%] Building CXX object src/CMakeFiles/wt.dir/Wt/WEvent.C.o
/home/andreyrusanov/GITREPOS/wt/src/Wt/WEnvironment.C:28:25: fatal error: openssl/ssl.h: No such file or directory
compilation terminated.
src/CMakeFiles/wt.dir/build.make:1478: recipe for target 'src/CMakeFiles/wt.dir/Wt/WEnvironment.C.o' failed
make[2]: * [src/CMakeFiles/wt.dir/Wt/WEnvironment.C.o] Error 1
make[2]: * Waiting for unfinished jobs....
CMakeFiles/Makefile2:198: recipe for target 'src/CMakeFiles/wt.dir/all' failed
make[1]: * [src/CMakeFiles/wt.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: * [all] Error 2
Updated by Andrey Rusanov about 6 years ago
libssl-dev installation fixes this problem
Updated by Roel Standaert about 6 years ago
- Status changed from New to Feedback
Which version are you trying to build? I see that there is an appropriate ifdef around that include.
Updated by Andrey Rusanov about 6 years ago
Roel Standaert wrote:
Which version are you trying to build? I see that there is an appropriate ifdef around that include.
latest origin/master
commit bde9d97a81f1bdcaedd472c2e2b92212f1337c1f
Author: Roel Standaert <roel@emweb.be>
Date: Tue Nov 20 10:04:54 2018 +0100
Updated by Roel Standaert about 6 years ago
I must say I find both issues (#6760 and #6761) quite bizarre. We build Wt without OpenSSL and without FastCGI (and without either being installed) all the time.
You're sure you started from a clean build directory? What distro are you using? Could you outline the exact steps you are taking to build Wt?
Updated by Andrey Rusanov about 6 years ago
Ок. Now I'm not sure, because I installed wt-package, cloned sources, build, then uninstalled wt-package and rebuild...
You can close and remove both, I think.
Updated by Roel Standaert about 6 years ago
- Status changed from Feedback to Closed