On Wed, Apr 20, 2016 at 5:46 AM, louis scott <[email protected]> wrote:
> I think I solved at least one case.
> It helps that I just did a fresh install of mint rosa xfce edition, so it
> looks more like a machine that hasn't done development.
> A dev machine would have the missing parts as a matter of course.

The required tools/libraries are listed here:
https://github.com/JuliaLang/julia#required-build-tools-and-external-libraries
Feel free to report any missing/out-of-date info.

>
> The issue is that make does not get all dependencies.  I was missing cmake
> and libssl-dev.
>
> To see this, I reran saving the output and searched for "rror".
>
>>> make -j 2 2>&1 | tee makejulia.txt
>
> Making clean in m4
> patching file CMakeLists.txt
> Hunk #1 succeeded at 274 (offset 57 lines).
> /bin/sh: 2: cmake: not found
> make[1]: ***
> [build/libgit2-785d8c48ea8725691da3c50e7dae8751523d4c30/Makefile] Error 127
>
> ~~~~~~~~~~~~~~~~~~~~
> So I install cmake, try again
> ~~~~~~~~~~~~~~~~~~~~
>
> :
> -- checking for module 'libcurl'
> --   package 'libcurl' not found
> CMake Error at
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108
> (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-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
> (_FPHSA_FAILURE_MESSAGE)
>   /usr/share/cmake-2.8/Modules/FindOpenSSL.cmake:313
> (find_package_handle_standard_args)
>   CMakeLists.txt:277 (FIND_PACKAGE)
>
>
> -- Configuring incomplete, errors occurred!
> :
> :
> 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
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> It stops at gfortran, but the problem is actually here:
>
> The lines in CMAkeLists.tct:277 are here:
>
> IF (NOT AMIGA AND USE_OPENSSL)
> FIND_PACKAGE(OpenSSL REQUIRED)
> ENDIF ()
>
> I check
> dpkg -s libcurl3  is OK
> dpkg -s openssl is OK
> dpkg -s openssl-dev is missing, I install it
>
> make now runs to completion.
>

Reply via email to