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. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>> >>>>>