I use julia 0.4.6 package from Debian Stretch in arm cpu(with chroot 
environment in my android phone). It works well and IJulia works too.

On Tuesday, September 6, 2016 at 11:12:24 PM UTC+3, Angshuman Goswami wrote:
>
> Anyone has a working version of Julia running on ARM processors?
>
> On Thursday, September 1, 2016 at 10:15:05 PM UTC-4, Josh Langsfeld wrote:
>>
>> This link is only to an archive of the source code; you would still have 
>> to build julia after downloading this.
>>
>> Ideally what you want is an ARM binary that's version 0.4 instead of a 
>> nightly build but I don't see anywhere obvious where that can be downloaded.
>>
>> RobotOS will start working on 0.5 and up eventually, but you may still 
>> need to wait a few weeks.
>>
>> On Thursday, September 1, 2016 at 7:52:09 PM UTC-4, Angshuman Goswami 
>> wrote:
>>>
>>> But there is no folder /bin/julia in the one I downloaded from 
>>> https://github.com/JuliaLang/julia/releases/tag/v0.4.6
>>>
>>> What should be the simlink when I try to build with this ??
>>>
>>> On Thursday, September 1, 2016 at 6:52:41 PM UTC-4, Kaj Wiik wrote:
>>>>
>>>> Hi!
>>>>
>>>> You symlink a wrong file, first 
>>>> sudo rm /usr/local/bin/julia.h
>>>>
>>>> The correct symlink line is
>>>> sudo ln -s /opt/julia-0.4.6/bin/julia  /usr/local/bin
>>>>
>>>> On Friday, September 2, 2016 at 1:11:07 AM UTC+3, Angshuman Goswami 
>>>> wrote:
>>>>>
>>>>> I have downloaded the Julia 0.4.6 from the repository: 
>>>>> https://github.com/JuliaLang/julia/releases/tag/v0.4.6
>>>>> I extracted the folder and copied to opt folder
>>>>> sudo ln -s /opt/julia-0.4.6/src/julia.h  /usr/local/bin
>>>>>
>>>>> I made the folder executable using sudo chmod +x *
>>>>>
>>>>> But I am getting the error:
>>>>> bash: julia: command not found
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thursday, September 1, 2016 at 5:38:10 PM UTC-4, Angshuman Goswami 
>>>>> wrote:
>>>>>>
>>>>>> I want to use Julia 0.4.6. Can you guide me through the process as if 
>>>>>> I am a novice
>>>>>> On Thursday, September 1, 2016 at 2:24:43 AM UTC-4, Lutfullah Tomak 
>>>>>> wrote:
>>>>>>>
>>>>>>> You've already built julia I guess. You need to install python using 
>>>>>>> ubuntu's package system. In command prompt
>>>>>>> sudo apt-get install `pkg-name`
>>>>>>> will install the package you want to install by asking you your 
>>>>>>> password.
>>>>>>> For python
>>>>>>> sudo apt-get install python
>>>>>>> will install python. Close prompt and open julia and try again 
>>>>>>> building PyCall.jl by Pkg.build().
>>>>>>>
>>>>>>> On Wednesday, August 31, 2016 at 11:48:32 PM UTC+3, Angshuman 
>>>>>>> Goswami wrote:
>>>>>>>>
>>>>>>>> I don't get how to do that. 
>>>>>>>>
>>>>>>>> Can you please tell me the steps. Its all too confusing and I am 
>>>>>>>> very new to Ubuntu or Julia. Mostly used to work on Matlab. I have no 
>>>>>>>> idea 
>>>>>>>> how to install dependancies
>>>>>>>>
>>>>>>>> On Wednesday, August 31, 2016 at 3:26:40 AM UTC-4, Kaj Wiik wrote:
>>>>>>>>>
>>>>>>>>> Ah, sorry, I assumed you are using x86_64. Find the arm binary 
>>>>>>>>> tarball and follow the instructions otherwise. See
>>>>>>>>> https://github.com/JuliaLang/julia/blob/master/README.arm.md
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, August 31, 2016 at 9:54:38 AM UTC+3, Lutfullah Tomak 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> You are on an arm cpu so Conda cannot install python for you. 
>>>>>>>>>> Also, you tried downloading x86 cpu linux binaries, instead try arm 
>>>>>>>>>> nightlies.
>>>>>>>>>> To get away with PyCall issues you have to manually install all 
>>>>>>>>>> depencies. 
>>>>>>>>>>
>>>>>>>>>> On Wednesday, August 31, 2016 at 7:53:24 AM UTC+3, Angshuman 
>>>>>>>>>> Goswami wrote:
>>>>>>>>>>>
>>>>>>>>>>> When i performed build again errors cropped up.
>>>>>>>>>>>
>>>>>>>>>>> Pkg.build("PyCall")
>>>>>>>>>>> WARNING: unable to determine host cpu name.
>>>>>>>>>>> INFO: Building PyCall
>>>>>>>>>>> INFO: No system-wide Python was found; got the following error:
>>>>>>>>>>> could not spawn `/usr/local/lib/python2.7 -c "import 
>>>>>>>>>>> distutils.sysconfig; 
>>>>>>>>>>> print(distutils.sysconfig.get_config_var('VERSION'))"`: permission 
>>>>>>>>>>> denied 
>>>>>>>>>>> (EACCES)
>>>>>>>>>>> using the Python distribution in the Conda package
>>>>>>>>>>> INFO: Downloading miniconda installer ...
>>>>>>>>>>>   % Total    % Received % Xferd  Average Speed   Time    
>>>>>>>>>>> Time     Time  Current
>>>>>>>>>>>                                  Dload  Upload   Total   
>>>>>>>>>>> Spent    Left  Speed
>>>>>>>>>>> 100 24.7M  100 24.7M    0     0  2401k      0  0:00:10  0:00:10 
>>>>>>>>>>> --:--:-- 2743k
>>>>>>>>>>> INFO: Installing miniconda ...
>>>>>>>>>>> PREFIX=/home/odroid/.julia/v0.4/Conda/deps/usr
>>>>>>>>>>> installing: _cache-0.0-py27_x0 ...
>>>>>>>>>>> installing: python-2.7.11-0 ...
>>>>>>>>>>> installing: conda-env-2.4.5-py27_0 ...
>>>>>>>>>>> installing: openssl-1.0.2g-0 ...
>>>>>>>>>>> installing: pycosat-0.6.1-py27_0 ...
>>>>>>>>>>> installing: pyyaml-3.11-py27_1 ...
>>>>>>>>>>> installing: readline-6.2-2 ...
>>>>>>>>>>> installing: requests-2.9.1-py27_0 ...
>>>>>>>>>>> installing: sqlite-3.9.2-0 ...
>>>>>>>>>>> installing: tk-8.5.18-0 ...
>>>>>>>>>>> installing: yaml-0.1.6-0 ...
>>>>>>>>>>> installing: zlib-1.2.8-0 ...
>>>>>>>>>>> installing: conda-4.0.5-py27_0 ...
>>>>>>>>>>> installing: pycrypto-2.6.1-py27_0 ...
>>>>>>>>>>> installing: pip-8.1.1-py27_1 ...
>>>>>>>>>>> installing: wheel-0.29.0-py27_0 ...
>>>>>>>>>>> installing: setuptools-20.3-py27_0 ...
>>>>>>>>>>> /home/odroid/.julia/v0.4/Conda/deps/usr/installer.sh: line 288: 
>>>>>>>>>>> /home/odroid/.julia/v0.4/Conda/deps/usr/pkgs/python-2.7.11-0/bin/python:
>>>>>>>>>>>  
>>>>>>>>>>> cannot execute binary file: Exec format error
>>>>>>>>>>> ERROR:
>>>>>>>>>>> cannot execute native linux-32 binary, output from 'uname -a' is:
>>>>>>>>>>> Linux odroid 3.10.69 #1 SMP PREEMPT Thu Feb 12 15:22:14 BRST 
>>>>>>>>>>> 2015 armv7l armv7l armv7l GNU/Linux
>>>>>>>>>>> ===============================[ ERROR: PyCall 
>>>>>>>>>>> ]================================
>>>>>>>>>>>
>>>>>>>>>>> LoadError: failed process: 
>>>>>>>>>>> Process(`/home/odroid/.julia/v0.4/Conda/deps/usr/installer.sh -b -f 
>>>>>>>>>>> -p 
>>>>>>>>>>> /home/odroid/.julia/v0.4/Conda/deps/usr`, ProcessExited(1)) [1]
>>>>>>>>>>> while loading /home/odroid/.julia/v0.4/PyCall/deps/build.jl, in 
>>>>>>>>>>> expression starting on line 17
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ================================================================================
>>>>>>>>>>>
>>>>>>>>>>> ================================[ BUILD ERRORS 
>>>>>>>>>>> ]================================
>>>>>>>>>>>
>>>>>>>>>>> WARNING: PyCall had build errors.
>>>>>>>>>>>
>>>>>>>>>>>  - packages with build errors remain installed in 
>>>>>>>>>>> /home/odroid/.julia/v0.4
>>>>>>>>>>>  - build the package(s) and all dependencies with 
>>>>>>>>>>> `Pkg.build("PyCall")`
>>>>>>>>>>>  - build a single package by running its `deps/build.jl` script
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ================================================================================
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Wednesday, August 31, 2016 at 12:08:33 AM UTC-4, Angshuman 
>>>>>>>>>>> Goswami wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> julia> Pkg.status()
>>>>>>>>>>>> 7 required packages:
>>>>>>>>>>>>  - AmplNLWriter                  0.2.2
>>>>>>>>>>>>  - CoinOptServices               0.1.2
>>>>>>>>>>>>  - IJulia                        1.2.0
>>>>>>>>>>>>  - Ipopt                         0.2.4
>>>>>>>>>>>>  - JuMP                          0.14.0
>>>>>>>>>>>>  - PyCall                        1.7.1
>>>>>>>>>>>>  - RobotOS                       0.4.1
>>>>>>>>>>>> 19 additional packages:
>>>>>>>>>>>>  - BinDeps                       0.4.3
>>>>>>>>>>>>  - Calculus                      0.1.15
>>>>>>>>>>>>  - Cbc                           0.2.3
>>>>>>>>>>>>  - Clp                           0.2.2
>>>>>>>>>>>>  - Compat                        0.8.8
>>>>>>>>>>>>  - Conda                         0.2.3
>>>>>>>>>>>>  - DataStructures                0.4.5
>>>>>>>>>>>>  - ForwardDiff                   0.2.4
>>>>>>>>>>>>  - JSON                          0.7.0
>>>>>>>>>>>>  - Lazy                          0.11.0
>>>>>>>>>>>>  - LightXML                      0.3.0
>>>>>>>>>>>>  - MacroTools                    0.3.2
>>>>>>>>>>>>  - MathProgBase                  0.5.4
>>>>>>>>>>>>  - NaNMath                       0.2.1
>>>>>>>>>>>>  - Nettle                        0.2.4
>>>>>>>>>>>>  - ReverseDiffSparse             0.5.8
>>>>>>>>>>>>  - SHA                           0.2.1
>>>>>>>>>>>>  - URIParser                     0.1.6
>>>>>>>>>>>>  - ZMQ                           0.3.4
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tuesday, August 30, 2016 at 10:58:39 PM UTC-4, Angshuman 
>>>>>>>>>>>> Goswami wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am running julia on a 32 bit system and I made sure the 
>>>>>>>>>>>>> version i downloaded is 32 bit
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tuesday, August 30, 2016 at 10:34:25 PM UTC-4, Angshuman 
>>>>>>>>>>>>> Goswami wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I did that and now I am getting this error when I type julia 
>>>>>>>>>>>>>> to run in the command line 
>>>>>>>>>>>>>> bash: /usr/local/bin/julia: cannot execute binary file: Exec 
>>>>>>>>>>>>>> format error
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tuesday, August 30, 2016 at 4:55:54 AM UTC-4, Kaj Wiik 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have been using the third route very successfully:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Download the binary from e.g.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://julialang.s3.amazonaws.com/bin/linux/x64/0.4/julia-0.4.6-linux-x86_64.tar.gz
>>>>>>>>>>>>>>> or
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://s3.amazonaws.com/julialang/bin/linux/x64/0.5/julia-0.5.0-rc3-linux-x86_64.tar.gz
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> (http://julialang.org/downloads/)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> cd /opt
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> sudo tar xzvf tarball.tgz
>>>>>>>>>>>>>>> A directory like julia-2e358ce975 will be created.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Then make a symlink
>>>>>>>>>>>>>>> sudo ln -s /opt/julia-2e358ce975/bin/julia /usr/local/bin
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> That's it, very easy.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Note that now you can support multiple versions by making 
>>>>>>>>>>>>>>> symlinks e.g. julia-v0.5, that's not possible (or very 
>>>>>>>>>>>>>>> difficult) with the 
>>>>>>>>>>>>>>> deb packages.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> Kaj
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Tuesday, August 30, 2016 at 8:26:29 AM UTC+3, Angshuman 
>>>>>>>>>>>>>>> Goswami wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I was running Julia to run my MPC code. I needed to upgrade 
>>>>>>>>>>>>>>>> and hence i deleted the folder i cloned from git hub. Now I 
>>>>>>>>>>>>>>>> have two 
>>>>>>>>>>>>>>>> problems:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 1) Installing julia by sudo get-apt install julia, I get 
>>>>>>>>>>>>>>>> the following message:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Reading package lists... Done
>>>>>>>>>>>>>>>> Building dependency tree       
>>>>>>>>>>>>>>>> Reading state information... Done
>>>>>>>>>>>>>>>> Package julia is not available, but is referred to by 
>>>>>>>>>>>>>>>> another package.
>>>>>>>>>>>>>>>> This may mean that the package is missing, has been 
>>>>>>>>>>>>>>>> obsoleted, or
>>>>>>>>>>>>>>>> is only available from another source
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> E: Package 'julia' has no installation candidate
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2) When I cloned the github link by  git clone 
>>>>>>>>>>>>>>>> https://github.com/JuliaLang/julia.git
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I tried make -j N
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> it didn't work
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 3) I then used 
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> git pull && make
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Now Julia was updated to 0.4.7 
>>>>>>>>>>>>>>>> And now I thought it will finally work.
>>>>>>>>>>>>>>>> But now when I do i) using PyCall or  ii) using RobotOS
>>>>>>>>>>>>>>>> I get the following error:
>>>>>>>>>>>>>>>> julia: codegen.cpp:3155: llvm::Value* emit_expr(jl_value_t*, 
>>>>>>>>>>>>>>>> jl_codectx_t*, bool, bool): Assertion 
>>>>>>>>>>>>>>>> `ctx->gensym_assigned.at(idx)' failed.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> signal (6): Aborted
>>>>>>>>>>>>>>>> ERROR: LoadError: Failed to precompile PyCall to 
>>>>>>>>>>>>>>>> /home/odroid/.julia/lib/v0.4/PyCall.ji
>>>>>>>>>>>>>>>> while loading /home/odroid/.julia/v0.4/RobotOS/src/RobotOS.jl, 
>>>>>>>>>>>>>>>> in expression starting on line 3
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> M stuck
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>

Reply via email to