Ok, this did work. Thanks a lot for the suggestion. I actually haven't proceeded with trying this, cause I thought that since the moment julia command was not working inside the source folder the problem had to do with the installation itself and not with linking. My mistake. Thanks a lot for all your answers and help hope now will be able to use Cxx.
On Friday, July 10, 2015 at 5:04:25 PM UTC+2, El suisse wrote: > > for add softlink: > > sudo ln -s /home/kostav/julia/./julia /usr/local/bin > > > 2015-07-10 11:57 GMT-03:00 Isaiah Norton <isaiah...@gmail.com > <javascript:>>: > >> Also both 'julia/usr/bin/julia` and `julia/usr/bin/julia-debug` do exist. >> >> What else could I try? >> >> >> Run one of them? >> >> bar@baz:~/julia$ /home/kostav/julia/usr/bin/julia >> >> On Fri, Jul 10, 2015 at 10:50 AM, Kostas Tavlaridis-Gyparakis < >> kostas.t...@gmail.com <javascript:>> wrote: >> >>> Thanks a lot for pointing out the above mentioned part of the Readme >>> file I have had a look on it as well and tried >>> also to add the prefix line in Make.used but also didn't work. >>> Also both 'julia/usr/bin/julia` and `julia/usr/bin/julia-debug` do exist. >>> Make, maketest and make-install all run without any error msg. >>> What else could I try? >>> >>> >>> On Friday, July 10, 2015 at 4:43:09 PM UTC+2, Isaiah wrote: >>>> >>>> If `julia/usr/bin/julia` or `julia/usr/bin/julia-debug` do not exist, >>>> then something went wrong in the build. >>>> >>>> On Fri, Jul 10, 2015 at 10:40 AM, El suisse <elsu...@gmail.com> wrote: >>>> >>>>> from the README..md >>>>> >>>>> Once it is built, you can run the julia executable using its full >>>>> path in the directory created above (the julia directory), or, to run >>>>> it from anywhere, either >>>>> >>>>> - >>>>> >>>>> add a soft link to the julia executable in the julia directory to >>>>> /usr/local/bin (or any suitable directory already in your path), or >>>>> - >>>>> >>>>> add the julia directory to your executable path for this shell >>>>> session (in bash: export PATH="$(pwd):$PATH" ; in csh or tcsh: >>>>> set path= ( $path $cwd ) ), or >>>>> - >>>>> >>>>> add the julia directory to your executable path permanently (e.g. >>>>> in .bash_profile), or >>>>> - >>>>> >>>>> write prefix=/path/to/install/folder into Make.user and then run make >>>>> install. >>>>> >>>>> Now you should be able to run Julia like this: >>>>> >>>>> julia >>>>> >>>>> If everything works correctly, you will see a Julia banner and an >>>>> interactive prompt into which you can enter expressions for evaluation. >>>>> (Errors related to libraries might be caused by old, incompatible >>>>> libraries >>>>> sitting around in your PATH. In that case, try moving the julia >>>>> directory earlier in the PATH). >>>>> >>>>> >>>>> 2015-07-10 11:33 GMT-03:00 Kostas Tavlaridis-Gyparakis < >>>>> kostas.t...@gmail.com>: >>>>> >>>>>> I downloaded the julia file and located them in the home directory >>>>>> ("/home/kostav/julia") >>>>>> then I run make, make test and make install as well. >>>>>> All of them seem to work. >>>>>> Then when I try to run julia command in terminal opening terminal >>>>>> from the file where the source is located ("/home/kostav/julia"), I >>>>>> receive >>>>>> a msg saying that julia is not installed. >>>>>> In the usr/bin there is no folder or file under the name julia. >>>>>> I am really not sure what to do to fix this, and since I want Cxx >>>>>> package >>>>>> I do need the source code installation... >>>>>> >>>>>> >>>>>> On Friday, July 10, 2015 at 4:26:43 PM UTC+2, Seth wrote: >>>>>>> >>>>>>> I haven't read the entire thread here, but if you're in the >>>>>>> top-level julia source directory and have built julia from source, the >>>>>>> binary is located in ./usr/bin/julia . >>>>>>> >>>>>>> >>>>>>> On Friday, July 10, 2015 at 7:19:53 AM UTC-7, Kostas >>>>>>> Tavlaridis-Gyparakis wrote: >>>>>>>> >>>>>>>> Any suggestions pls??? >>>>>>>> >>>>>>>> On Friday, July 10, 2015 at 11:04:58 AM UTC+2, Kostas >>>>>>>> Tavlaridis-Gyparakis wrote: >>>>>>>>> >>>>>>>>> Finally manage to run make command with no errors. >>>>>>>>> Yet again after this I perform make test and everything seems to >>>>>>>>> be fine. >>>>>>>>> Then I run make install and once its finished, I try to run Julia >>>>>>>>> command in >>>>>>>>> terminal in the path where the julia source file is located but I >>>>>>>>> receive msg >>>>>>>>> saying that I don't have julia installed. >>>>>>>>> Any idea on how to proceed with this? >>>>>>>>> >>>>>>>>> On Friday, July 10, 2015 at 1:17:53 AM UTC+2, Kostas >>>>>>>>> Tavlaridis-Gyparakis wrote: >>>>>>>>>> >>>>>>>>>> * I was missing cmake now this problem is solved. >>>>>>>>>> Hopefully the build will work properly now! >>>>>>>>>> >>>>>>>>>> On Friday, July 10, 2015 at 12:58:12 AM UTC+2, Kostas >>>>>>>>>> Tavlaridis-Gyparakis wrote: >>>>>>>>>>> >>>>>>>>>>> Thanks a lot once again. >>>>>>>>>>> So after fixing this a few more errors I am stacked with the >>>>>>>>>>> following error msg: >>>>>>>>>>> >>>>>>>>>>> Making check in cxx >>>>>>>>>>> ================== >>>>>>>>>>> All 0 tests passed >>>>>>>>>>> ================== >>>>>>>>>>> Making check in mpn >>>>>>>>>>> Making check in mpz >>>>>>>>>>> Making check in mpq >>>>>>>>>>> Making check in mpf >>>>>>>>>>> Making check in printf >>>>>>>>>>> Making check in scanf >>>>>>>>>>> Making check in rand >>>>>>>>>>> Making check in cxx >>>>>>>>>>> Making check in demos >>>>>>>>>>> Making check in calc >>>>>>>>>>> Making check in expr >>>>>>>>>>> Making check in tune >>>>>>>>>>> Making check in doc >>>>>>>>>>> Note: checking out '159061a8ce206b694448313a84387600408f6029'. >>>>>>>>>>> >>>>>>>>>>> You are in 'detached HEAD' state. You can look around, make >>>>>>>>>>> experimental >>>>>>>>>>> changes and commit them, and you can discard any commits you >>>>>>>>>>> make in this >>>>>>>>>>> state without impacting any branches by performing another >>>>>>>>>>> checkout. >>>>>>>>>>> >>>>>>>>>>> If you want to create a new branch to retain commits you create, >>>>>>>>>>> you may >>>>>>>>>>> do so (now or later) by using -b with the checkout command >>>>>>>>>>> again. Example: >>>>>>>>>>> >>>>>>>>>>> git checkout -b new_branch_name >>>>>>>>>>> >>>>>>>>>>> patching file CMakeLists.txt >>>>>>>>>>> patching file src/openssl_stream.c >>>>>>>>>>> /bin/sh: 2: cmake: not found >>>>>>>>>>> Makefile:1907: recipe for target 'libgit2/build/Makefile' failed >>>>>>>>>>> make[1]: *** [libgit2/build/Makefile] Error 127 >>>>>>>>>>> Makefile:49: recipe for target 'julia-deps' failed >>>>>>>>>>> make: *** [julia-deps] Error 2 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Thursday, July 9, 2015 at 10:27:12 PM UTC+2, Keno Fischer >>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>> I fixed that this morning in >>>>>>>>>>>> https://github.com/llvm-mirror/lldb/commit/f9d5ebafe446857ff805b078b90c8c400758acdd. >>>>>>>>>>>> >>>>>>>>>>>> Try updating LLDB (make -C deps update-llvm will do the trick). >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Jul 9, 2015 at 4:24 PM, Kostas Tavlaridis-Gyparakis < >>>>>>>>>>>> kostas.t...@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hello again, >>>>>>>>>>>>> I am facing some problems when trying to run the julia source >>>>>>>>>>>>> code. >>>>>>>>>>>>> As you pointed out I created the Make.user file and tried to >>>>>>>>>>>>> run the source >>>>>>>>>>>>> code but I receive the following error which I can not sort >>>>>>>>>>>>> out how to fix: >>>>>>>>>>>>> >>>>>>>>>>>>> /home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbInitialize.a(SystemInitializerCommon.o): >>>>>>>>>>>>> >>>>>>>>>>>>> In function `lldb_private::SystemInitializerCommon::Initialize()': >>>>>>>>>>>>> SystemInitializerCommon.cpp:(.text._ZN12lldb_private23SystemInitializerCommon10InitializeEv+0x65): >>>>>>>>>>>>> >>>>>>>>>>>>> undefined reference to >>>>>>>>>>>>> `lldb_private::DynamicLoaderWindowsDYLD::Initialize()' >>>>>>>>>>>>> /home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldbInitialize.a(SystemInitializerCommon.o): >>>>>>>>>>>>> >>>>>>>>>>>>> In function `lldb_private::SystemInitializerCommon::Terminate()': >>>>>>>>>>>>> SystemInitializerCommon.cpp:(.text._ZN12lldb_private23SystemInitializerCommon9TerminateEv+0x3c): >>>>>>>>>>>>> >>>>>>>>>>>>> undefined reference to >>>>>>>>>>>>> `lldb_private::DynamicLoaderWindowsDYLD::Terminate()' >>>>>>>>>>>>> collect2: error: ld returned 1 exit status >>>>>>>>>>>>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:1206: recipe >>>>>>>>>>>>> for target >>>>>>>>>>>>> '/home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldb.so' >>>>>>>>>>>>> >>>>>>>>>>>>> failed >>>>>>>>>>>>> make[5]: *** >>>>>>>>>>>>> [/home/kostav/julia/deps/llvm-svn/build_Release+Asserts/Release+Asserts/lib/liblldb.so] >>>>>>>>>>>>> >>>>>>>>>>>>> Error 1 >>>>>>>>>>>>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:880: recipe >>>>>>>>>>>>> for target 'install' failed >>>>>>>>>>>>> make[4]: *** [install] Error 1 >>>>>>>>>>>>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:965: recipe >>>>>>>>>>>>> for target 'install' failed >>>>>>>>>>>>> make[3]: *** [install] Error 1 >>>>>>>>>>>>> /home/kostav/julia/deps/llvm-svn/Makefile.rules:880: recipe >>>>>>>>>>>>> for target 'install' failed >>>>>>>>>>>>> make[2]: *** [install] Error 1 >>>>>>>>>>>>> Makefile:642: recipe for target >>>>>>>>>>>>> '/home/kostav/julia/usr/lib/libLLVMCodeGen.a' failed >>>>>>>>>>>>> make[1]: *** [/home/kostav/julia/usr/lib/libLLVMCodeGen.a] >>>>>>>>>>>>> Error 2 >>>>>>>>>>>>> Makefile:49: recipe for target 'julia-deps' failed >>>>>>>>>>>>> make: *** [julia-deps] Error 2 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Tuesday, July 7, 2015 at 6:03:12 PM UTC+2, Keno Fischer >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Yes, that is correct, just create a Make.user file with that >>>>>>>>>>>>>> content in the same directory as your julia source install >>>>>>>>>>>>>> (where the >>>>>>>>>>>>>> Make.inc file already is). The `LLVM_VER=svn` line directs >>>>>>>>>>>>>> it to use the svn version of llvm. >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Tue, Jul 7, 2015 at 11:59 AM, Kostas Tavlaridis-Gyparakis >>>>>>>>>>>>>> <kostas.t...@gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Ok, thank you pointing that out. >>>>>>>>>>>>>>> So, I need to uninstall my current version and install using >>>>>>>>>>>>>>> the source files. >>>>>>>>>>>>>>> Just two questions really noob ones. >>>>>>>>>>>>>>> In the read me file, it says that I need to add the >>>>>>>>>>>>>>> following lines to a Make.user: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> override LLDB_VER=master >>>>>>>>>>>>>>> override LLVM_VER=svn >>>>>>>>>>>>>>> override LLVM_ASSERTIONS=1 >>>>>>>>>>>>>>> override BUILD_LLVM_CLANG=1 >>>>>>>>>>>>>>> override BUILD_LLDB=1 >>>>>>>>>>>>>>> override USE_LLVM_SHLIB=1 >>>>>>>>>>>>>>> override LLDB_DISABLE_PYTHON=1 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Does this mean that I just create a file with the name >>>>>>>>>>>>>>> Make.user and copy paste this line >>>>>>>>>>>>>>> on the file and then save it in the directory where the source >>>>>>>>>>>>>>> file is downloaded? >>>>>>>>>>>>>>> Also when you say "ne that uses LLVM-svn" not sure what I need >>>>>>>>>>>>>>> to check for this one. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tuesday, July 7, 2015 at 5:36:49 PM UTC+2, Keno Fischer >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Please see the instructions in the Cxx.jl README. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> In particular, you need (at the moment at least) >>>>>>>>>>>>>>>> - a source install of julia >>>>>>>>>>>>>>>> - one that uses LLVM-svn >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Tue, Jul 7, 2015 at 11:33 AM, Kostas >>>>>>>>>>>>>>>> Tavlaridis-Gyparakis <kostas.t...@gmail.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hello, >>>>>>>>>>>>>>>>> I am running the following version of Julia: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Julia Version 0.4.0-dev+5809 >>>>>>>>>>>>>>>>> Commit b414076* (2015-07-06 15:38 UTC) >>>>>>>>>>>>>>>>> Platform Info: >>>>>>>>>>>>>>>>> System: Linux (x86_64-linux-gnu) >>>>>>>>>>>>>>>>> CPU: Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz >>>>>>>>>>>>>>>>> WORD_SIZE: 64 >>>>>>>>>>>>>>>>> BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY >>>>>>>>>>>>>>>>> Haswell) >>>>>>>>>>>>>>>>> LAPACK: liblapack.so.3 >>>>>>>>>>>>>>>>> LIBM: libopenlibm >>>>>>>>>>>>>>>>> LLVM: libLLVM-3.3 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> And when I try to add the CXX package I receive the >>>>>>>>>>>>>>>>> following error: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Pkg.build("Cxx") >>>>>>>>>>>>>>>>> INFO: Building Cxx >>>>>>>>>>>>>>>>> Tuning for julia installation at: /usr/bin >>>>>>>>>>>>>>>>> BuildBootstrap.Makefile:2: >>>>>>>>>>>>>>>>> /usr/bin/../../deps/Versions.make: No such file or directory >>>>>>>>>>>>>>>>> BuildBootstrap.Makefile:3: /usr/bin/../../Make.inc: No >>>>>>>>>>>>>>>>> such file or directory >>>>>>>>>>>>>>>>> make: *** No rule to make target >>>>>>>>>>>>>>>>> '/usr/bin/../../Make.inc'. Stop. >>>>>>>>>>>>>>>>> =================================[ ERROR: Cxx >>>>>>>>>>>>>>>>> ]================================= >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> LoadError: failed process: Process(`make -f >>>>>>>>>>>>>>>>> BuildBootstrap.Makefile JULIA_HOME=/usr/bin`, >>>>>>>>>>>>>>>>> ProcessExited(2)) [2] >>>>>>>>>>>>>>>>> while loading /home/kostav/.julia/v0.4/Cxx/deps/build.jl, >>>>>>>>>>>>>>>>> in expression starting on line 16 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> ================================================================================ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> ================================[ BUILD ERRORS >>>>>>>>>>>>>>>>> ]================================ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> WARNING: Cxx had build errors. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> - packages with build errors remain installed in >>>>>>>>>>>>>>>>> /home/kostav/.julia/v0.4 >>>>>>>>>>>>>>>>> - build the package(s) and all dependencies with >>>>>>>>>>>>>>>>> `Pkg.build("Cxx")` >>>>>>>>>>>>>>>>> - build a single package by running its `deps/build.jl` >>>>>>>>>>>>>>>>> script >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> ================================================================================ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I did try to search online about it and found some posts >>>>>>>>>>>>>>>>> but didn't manage to solve the issue, so in case there >>>>>>>>>>>>>>>>> are any suggestions I would be really glad to hear. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>> >>>>> >>>> >> >