Project

General

Profile

Actions

Bug #6760

closed

straightforward cmake->make fails on openssl absence

Added by Andrey Rusanov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/23/2018
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by Andrey Rusanov over 5 years ago

libssl-dev installation fixes this problem

Actions #2

Updated by Roel Standaert over 5 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.

Actions #3

Updated by Andrey Rusanov over 5 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

Actions #4

Updated by Roel Standaert over 5 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?

Actions #5

Updated by Andrey Rusanov over 5 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.

Actions #6

Updated by Roel Standaert over 5 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF