Re: kdelibs 4 support module name or moduleset name for kdesrc-build
- Date: Sat, 23 Sep 2017 14:23:24 +0200
- From: Luigi Toscano <luigi.toscano@xxxxxxxxxx>
- Subject: Re: kdelibs 4 support module name or moduleset name for kdesrc-build
Alain Toussaint wrote:
> Hello,
>
> For about a week, I have been trying to compile the latest kde
> environment but failing because of kdelibs 4 incompatibilities with
> openssl 1.1.0.
>
> I checked out the instructions and all the documentation pertaining to
> kdesrc-build to set the appropriate cmake options for kdelibs 4
> support in my kdesrc-buildrc file:
>
> module kdelibs4support
> cmake-options
> -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so
> -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0
> -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so
> end module
>
> Apparently, it is not picked up at configure time:
>
> # kdesrc-build running: 'cmake'
> '/usr/src/kdesrc/frameworks/kdelibs4support' '-DBUILD_TESTING=TRUE'
> '-DCMAKE_BUILD
> _TYPE:STRING=Release' '-DCMAKE_CXX_FLAGS:STRING=-pipe '
> '-DCMAKE_INSTALL_PREFIX=/usr'
> # from directory: /usr/src/kdesrc/build/frameworks/kdelibs4support
>
> -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.0f")
So far I compiled openssl in the same prefix where I put all development
stuff, and in that case it's picked up.
>
> and unfortunately, that patch is not applied yet:
>
> https://phabricator.kde.org/D6665
>
Alternatively you can apply the patch, test it, and help have it committed :)
Ciao
--
Luigi