Bug #6198
closedMissing Libraries in GIT master Build
0%
Description
Building libwttest may require the pthreads library
building libfcgi mau require openssl and the pthreads library.
The attached patch makes this build for me.
(Check also:
https://build.opensuse.org/package/show/home:eeich:branches:devel:libraries:c_c/wt)
Files
Updated by Egbert Eich over 6 years ago
- File 0001-Add-missing-libraries-to-wttest-and-wtfcgi.patch 0001-Add-missing-libraries-to-wttest-and-wtfcgi.patch added
I guess it is better to check for pthread and ssl usage instead of blindly add the libraries. This is at least how it is done in other parts of the clame files. Updated patch below:
Updated by Roel Standaert over 6 years ago
- Status changed from New to Resolved
I applied the patch with some minor changes, adding PUBLIC
and PRIVATE
appropriately, see the latest commit on master.
I tested the patch on build.opensuse.org
. I noticed that wt.spec
requires more Boost dependencies than we use now. You should be able to leave all of them out, except for boost_thread
, boost_program_options
, boost_filesystem
, and boost_system
.
Regards,
Roel
Updated by Egbert Eich over 6 years ago
Roel, Thanks for the hint!
I've updated the openSUSE package and integrated your fix. I've reduced the boost requires to the once you had listed. I did find, however, that I had to add boost_atomic as well to build successfully everywhere.
Updated by Roel Standaert about 6 years ago
- Status changed from Resolved to Closed