How to install julia-0.5.0-rc0 on Ubuntu Linux

744 views
Skip to first unread message

Uwe Fechner

unread,
Jul 28, 2016, 4:58:23 AM7/28/16
to julia-users
Hello,

I am trying to install julia-0.5.0-rc0 .

I downloaded it from Github, unpacked it and executed
make -j4

The building failed after 10 minutes with the following
message:


 cblas_zhpr2  PASSED THE COMPUTATIONAL TESTS (   577 CALLS)
 cblas_zhpr2  PASSED THE COMPUTATIONAL TESTS
(   577 CALLS)

 
END OF TESTS
OK
.

 
OpenBLAS build complete. (BLAS CBLAS LAPACK LAPACKE)

  OS              
... Linux            
 
Architecture     ... x86_64              
  BINARY          
... 64bit                
 
Use 64 bits int    (equivalent to "-i8" in Fortran)      
  C compiler      
... GCC  (command line : gcc -m64)
 
Fortran compiler ... GFORTRAN  (command line : gfortran -m64)
 
Library Name     ... libopenblas64_p-r0.2.18.a (Multi threaded; Max num-threads is 16)

To install the library, you can run "make PREFIX=/path/to/your/installation install".

make
: *** [julia-deps] Error 2
ufechner@TUD277255
:~/00Software/julia-0.5.0-rc0$


How can I fix this?

I am using Ubuntu 14.04.

Best regards:

Uwe

Milan Bouchet-Valat

unread,
Jul 28, 2016, 5:07:20 AM7/28/16
to julia...@googlegroups.com
Can you run it without -j4 and post the last messages? Those reported
here don't seem related to the failure.


Regards

Uwe Fechner

unread,
Jul 28, 2016, 9:24:18 AM7/28/16
to julia-users
I did. Took very long, but now there is a better error message:

100   375  100   375    0     0    797      0 --:--:-- --:--:-- --:--:--   797
100 4077k  100 4077k    0     0  1915k      0  0:00:02  0:00:02 --:--:-- 2714k
patching file
CMakeLists.txt
Hunk #1 succeeded at 343 (offset -11 lines).
patching file src
/transports/ssh.c
patching file
CMakeLists.txt
Hunk #1 succeeded at 274 (offset 57 lines).
patching file src
/openssl_stream.c
-- The C compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM - Success
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC - Failed
-- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC
-- Performing Test HAVE_STRUCT_STAT_MTIME_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_NSEC
-- Performing Test HAVE_STRUCT_STAT_NSEC - Success
-- checking for module 'libcurl'
--   package 'libcurl' not found
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
 
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR
(missing: OPENSSL_LIBRARIES
  OPENSSL_INCLUDE_DIR
)
Call Stack (most recent call first):
 
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
 
/usr/share/cmake-3.2/Modules/FindOpenSSL.cmake:334 (find_package_handle_standard_args)
 
CMakeLists.txt:277 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "/home/ufechner/00Software/julia-0.5.0-rc0/deps/build/libgit2-211e117a0590583a720c53172406f34186c543bd/CMakeFiles/CMakeOutput.log".
See also "/home/ufechner/00Software/julia-0.5.0-rc0/deps/build/libgit2-211e117a0590583a720c53172406f34186c543bd/CMakeFiles/CMakeError.log".
make
[1]: *** [build/libgit2-211e117a0590583a720c53172406f34186c543bd/Makefile] Error 1

make
: *** [julia-deps] Error 2

Any idea, how to fix this?

Best regards:

Uwe

Andreas Lobinger

unread,
Jul 28, 2016, 9:37:28 AM7/28/16
to julia-users
As the error message relates to a missing OpenSSL ->
try to find setttings for: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR, it might be an idea to install the openSSL development package.

Uwe Fechner

unread,
Jul 28, 2016, 10:37:24 AM7/28/16
to julia-users
The following command fixed the problem:
sudo apt-get install libssl-dev

Perhaps this command could be mentioned in the section "Ubuntu" of Readme.md ?

Andreas Lobinger

unread,
Jul 28, 2016, 11:37:38 AM7/28/16
to julia-users


On Thursday, July 28, 2016 at 4:37:24 PM UTC+2, Uwe Fechner wrote:
The following command fixed the problem:
sudo apt-get install libssl-dev

Perhaps this command could be mentioned in the section "Ubuntu" of Readme.md
 
it actually is, in section Required Build Tools and External Libraries

Uwe Fechner

unread,
Jul 29, 2016, 12:30:16 PM7/29/16
to julia-users
Thanks.
Reply all
Reply to author
Forward
0 new messages