Kitware / DIVA

DIVA project repository
Other
18 stars 9 forks source link

make error when super-build DIVA #17

Closed shanshuo closed 6 years ago

shanshuo commented 6 years ago

Hi, an error occurs when I tried to super-build DIVA. The information follows. OS: ubuntu 16.04 Complete output: output.txt CMakeCache.txt

CMakeFiles/libjpeg-turbo.dir/build.make:89: recipe for target 'build/src/libjpeg-turbo-stamp/libjpeg-turbo-download' failed
make[5]: *** [build/src/libjpeg-turbo-stamp/libjpeg-turbo-download] Error 1
CMakeFiles/Makefile2:1320: recipe for target 'CMakeFiles/libjpeg-turbo.dir/all' failed
make[4]: *** [CMakeFiles/libjpeg-turbo.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/fletch.dir/build.make:110: recipe for target 'DIVA-ExternalProject-Stamps/fletch-build' failed
make[2]: *** [DIVA-ExternalProject-Stamps/fletch-build] Error 2
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/fletch.dir/all' failed
make[1]: *** [CMakeFiles/fletch.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
as6520 commented 6 years ago

Hi From the log it appears as though curl is not supporting https protocol. Based on my experience this happens when ssl is not present on the system. Could you retry after installing libssl using apt-get install libssl-dev?

collinsr commented 6 years ago

If you're building with a system-provided cmake, it may not have been built with ssl enabled. The builds on cmake.org, for example

https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.tar.gz

...should work.

On Thu, Oct 25, 2018 at 8:08 AM, Ameya Shringi notifications@github.com wrote:

Hi From the log it appears as though curl is not supporting https protocol. Based on my experience this happens when ssl is not present on the system. Could you retry after installing libssl using apt-get install libssl-dev?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kitware/DIVA/issues/17#issuecomment-433025398, or mute the thread https://github.com/notifications/unsubscribe-auth/AHC7JHYAclRd2qhOPQaiPcg1AoIe6eQBks5uoanQgaJpZM4X57IO .

shanshuo commented 6 years ago

@collinsr Thanks. Using the compiler you provided to cmake works.