[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

‏‏RE: Windows last realese version


Hi,

I think that I've found the problem. Please check if I'm right and tell me how to overcome this.
The error came from line 57 on CMakeLists.txt file:
if (NOT OPENSSL_FOUND)
    find_package(GCrypt)
    if (NOT GCRYPT_FOUND)
      message(FATAL_ERROR "Could not find OpenSSL or GCrypt")
    endif (NOT GCRYPT_FOUND)
  endif (NOT OPENSSL_FOUND)

I'm not using GCrypt so the error is becouse the macro OPENSSL_FOUND is not set to TRUE.
So I've looked in the file FindOpenSSL.cmake and see that there is a only path that set it to TRUE:
if (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
    # in cache already
    set(OPENSSL_FOUND TRUE)

Now my problem is that the 2 macros OPENSSL_LIBRARIES and OPENSSL_INCLUDE_DIRS are not set, but those macros are read only!
I suppose that the macro OPENSSL_FOUND should be set to TRUE in this file below.
Am I'm wrong?

________________________________________
מ: Mayan Cohen
‏‏נשלח: יום שישי 05 ספטמבר 2014 10:32
‏‏אל: Andreas Schneider; libssh@xxxxxxxxxx
‏‏נושא: ‏‏RE: Windows last realese version

Hi again,

For the last days I'm trying to compile the package with no success.
The CMake gives me the following error:
Could NOT find NSIS (missing: NSIS_MAKE)
Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES)
Could NOT find GCrypt, try to set the path to GCrypt root folder in the system variable GCRYPT_ROOT_DIR (missing: GCRYPT_INCLUDE_DIR GCRYPT_LIBRARIES)
CMake Error at CMakeLists.txt:57 (message):
Could not find OpenSSL or GCrypt

What did I do wrong?
Please help me with that. I googled this error but didn't found something useful...
________________________________________
מ: Andreas Schneider [asn@xxxxxxxxxxxxxx]
‏‏נשלח: יום שני 25 אוגוסט 2014 13:20
‏‏אל: libssh@xxxxxxxxxx
עותק: Mayan Cohen
‏‏נושא: Re: Windows last realese version

On Sunday 24 August 2014 17:01:56 Mayan Cohen wrote:
> Hi,
>
>
>
> My OS is Windows and I using the 0.5.0 version.
>
> I've download it from this link:
>
> http://www.libssh.org/files/win32/0.5/
>

The lastest version is here:

https://red.libssh.org/projects/libssh/files

We need to do a release soon and provide new packages for windows too ...



        -- andreas

--
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx
The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof.
If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer.
Thank you.

Visit us at:   www.iai.co.il

References:
‏‏RE: Windows last realese versionMayan Cohen <cmayan@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org