[julia-users] Re: Installation Problem

2016-04-26 Thread randmstring
Hi,

there's no problem with the installation of either Atom or Juno or Julia, 
it's just that your home dir seems to be on a network drive and that 
doesn't play well with Julia's package manager. You could try setting the 
JULIA_PKGDIR environement variable to a folder on a local hard drive and 
then call Pkg.init() 
.
 
After that, adding packages should work just like that. 

Am Dienstag, 26. April 2016 03:05:27 UTC+2 schrieb Nadir:
>
> Hi,
>
> I tried to install Juno,when trying to add uber-juno in Atom, I get the 
> following message:
>
> Go to the Packages → Julia → Open Terminal menu and
> run `Pkg.add("Atom")` in Julia, then try again.
> If you still see an issue, please report it to:
> julia...@googlegroups.com 
>
> After trying to add the package manually in the shell, I get the following 
> message after 30 mins ...
>
>
> julia> Pkg.add("Atom")
> INFO: Initializing package repository Q:\.julia\v0.4
> INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
> fatal: The remote end hung up unexpectedly
> ERROR: failed process: Process(`git clone -q -b metadata-v2 git://
> github.com/Jul
> iaLang/METADATA.jl METADATA`, ProcessExited(128)) [128]
>  in run at process.jl:531
>
> julia>
>
> Is this a problem on my end/in my installation of atom?
>
> Thanks for your help and consideration.
>


Re: [julia-users] Re: installation problem mageia 5

2015-09-14 Thread Stefan Karpinski
Great. Thanks for posting a link to the solution – that may help someone
else out in the future.

On Sun, Sep 13, 2015 at 3:52 AM, Evan  wrote:

> I found the solution here:
> https://github.com/JuliaLang/julia/issues/13089
>
>
>
> On Thursday, September 10, 2015 at 10:40:23 PM UTC+2, Evan wrote:
>>
>> Hi, I am trying to install Julia on a Mageia 5 i7 system.  In Make.user I
>> put this:
>>
>> USE_SYSTEM_LLVM=1
>> USE_SYSTEM_BLAS=1
>> USE_SYSTEM_LAPACK=1
>> USE_SYSTEM_FFTW=1
>> USE_SYSTEM_MPFR=1
>> USE_SYSTEM_ARPACK=1
>> USE_SYSTEM_ZLIB=1
>> USE_SYSTEM_RMATH=1
>>
>> and the tail of output from "make" is below:
>> 
>> In file included from codegen.cpp:766:0:
>> debuginfo.cpp: In function ‘void jl_getDylibFunctionInfo(const char**,
>> size_t*, const char**, size_t, int*, int)’:
>> debuginfo.cpp:359:16: warning: unused variable ‘msize’ [-Wunused-variable]
>>  size_t msize = (size_t)(((uint64_t)-1)-fbase);
>> ^
>> CC src/interpreter.o
>> CC src/alloc.o
>> CC src/dlload.o
>> CC src/sys.o
>> CC src/init.o
>> CC src/task.o
>> CC src/array.o
>> CC src/dump.o
>> CC src/toplevel.o
>> CC src/jl_uv.o
>> CC src/jlapi.o
>> CC src/profile.o
>> CC src/llvm-simdloop.o
>> CC src/gc.o
>> LINK usr/lib/libjulia.so
>> PERL base/pcre_h.jl
>> PERL base/errno_h.jl
>> PERL base/build_h.jl.phony
>> PERL base/fenv_constants.jl
>> PERL base/file_constants.jl
>> PERL base/uv_constants.jl
>> fatal: bad revision '^origin/release-0.3'
>> fatal: Not a valid object name origin/release-0.3
>> PERL base/version_git.jl.phony
>> CC ui/repl.o
>> LINK usr/bin/julia
>> exports.jl
>> base.jl
>> reflection.jl
>> build_h.jl
>> error during bootstrap: LoadError(at "sysimg.jl" line 28: LoadError(at
>> "build_h.jl" line 2: ErrorException("syntax: invalid character "")))
>> Makefile:127: recipe for target '/opt/julia/julia/usr/lib/julia/sys0.o'
>> failed
>> make[1]: *** [/opt/julia/julia/usr/lib/julia/sys0.o] Error 1
>> Makefile:37: recipe for target 'release' failed
>> make: *** [release] Error 2
>> [emason@marula julia (release-0.3)]$
>>
>> See also the full output:
>> https://gist.github.com/evanmason/89d73157f042680ee755
>>
>>
>> When I inspect line 2 of base/build_h.jl, I see indeed that line 2 seems
>> to be corrupted:
>>
>> # This file is automatically generated in base/Makefile
>> ^[[01;31m^[[Kc^[[m^[[K^[[01;31m^[[Ko^[[m^[[K^[[01;31m^[[Kn^[[m^[[K^[[01;31m^[[Ks^[[m^[[K^[[01;31m^[[Kt^[[m^[[K^[[01;31m^[[K
>> ^[[m^[[K^[[01;31m^[[KO^[[m^[[K^[[01;31m^[[KS^[[m^[[K^[[01;31m^[[K_^[[m^[[K^[[01;31m^[[KN^[[m^[[K^[[01;31m^[[KA^[[m^[[K^[[01;31m^[[KM^[[m^[[K^[[01;31m^[[KE^[[m^[[K^[[01;31m^[[K
>> ^[[m^[[K^[[01;31m^[[K=^[[m^[[K^[[01;31m^[[K
>> ^[[m^[[K^[[01;31m^[[K:^[[m^[[K^[[01;31m^[[KL^[[m^[[K^[[01;31m^[[Ki^[[m^[[K^[[01;31m^[[Kn^[[m^[[K^[[01;31m^[[Ku^[[m^[[K^[[01;31m^[[Kx^[[m^[[K
>> const ARCH = :x86_64
>> const MACHINE = "x86_64-mageia-linux-gnu"
>> const libm_name = "libopenlibm"
>> const libblas_name = "libblas"
>> const liblapack_name = "liblapack"
>> const USE_BLAS64 = true
>> const libfftw_name = "libfftw3_threads"
>> const libfftwf_name = "libfftw3f_threads"
>> const libllvm_version = "3.5.2"
>> const VERSION_STRING = "0.3.12-pre"
>> const TAGGED_RELEASE_BANNER = ""
>> const SYSCONFDIR = "../etc"
>> const DATAROOTDIR = "../share"
>>
>> I'd be grateful for any help with this.
>>
>> Thanks, Evan
>>
>


[julia-users] Re: installation problem mageia 5

2015-09-13 Thread Evan
I found the solution here: 
https://github.com/JuliaLang/julia/issues/13089


On Thursday, September 10, 2015 at 10:40:23 PM UTC+2, Evan wrote:
>
> Hi, I am trying to install Julia on a Mageia 5 i7 system.  In Make.user I 
> put this:
>
> USE_SYSTEM_LLVM=1
> USE_SYSTEM_BLAS=1
> USE_SYSTEM_LAPACK=1
> USE_SYSTEM_FFTW=1
> USE_SYSTEM_MPFR=1
> USE_SYSTEM_ARPACK=1
> USE_SYSTEM_ZLIB=1
> USE_SYSTEM_RMATH=1
>
> and the tail of output from "make" is below:
> 
> In file included from codegen.cpp:766:0:
> debuginfo.cpp: In function ‘void jl_getDylibFunctionInfo(const char**, 
> size_t*, const char**, size_t, int*, int)’:
> debuginfo.cpp:359:16: warning: unused variable ‘msize’ [-Wunused-variable]
>  size_t msize = (size_t)(((uint64_t)-1)-fbase);
> ^
> CC src/interpreter.o
> CC src/alloc.o
> CC src/dlload.o
> CC src/sys.o
> CC src/init.o
> CC src/task.o
> CC src/array.o
> CC src/dump.o
> CC src/toplevel.o
> CC src/jl_uv.o
> CC src/jlapi.o
> CC src/profile.o
> CC src/llvm-simdloop.o
> CC src/gc.o
> LINK usr/lib/libjulia.so
> PERL base/pcre_h.jl
> PERL base/errno_h.jl
> PERL base/build_h.jl.phony
> PERL base/fenv_constants.jl
> PERL base/file_constants.jl
> PERL base/uv_constants.jl
> fatal: bad revision '^origin/release-0.3'
> fatal: Not a valid object name origin/release-0.3
> PERL base/version_git.jl.phony
> CC ui/repl.o
> LINK usr/bin/julia
> exports.jl
> base.jl
> reflection.jl
> build_h.jl
> error during bootstrap: LoadError(at "sysimg.jl" line 28: LoadError(at 
> "build_h.jl" line 2: ErrorException("syntax: invalid character "")))
> Makefile:127: recipe for target '/opt/julia/julia/usr/lib/julia/sys0.o' 
> failed
> make[1]: *** [/opt/julia/julia/usr/lib/julia/sys0.o] Error 1
> Makefile:37: recipe for target 'release' failed
> make: *** [release] Error 2
> [emason@marula julia (release-0.3)]$
>
> See also the full output: 
> https://gist.github.com/evanmason/89d73157f042680ee755
>
>
> When I inspect line 2 of base/build_h.jl, I see indeed that line 2 seems 
> to be corrupted:
>
> # This file is automatically generated in base/Makefile
> ^[[01;31m^[[Kc^[[m^[[K^[[01;31m^[[Ko^[[m^[[K^[[01;31m^[[Kn^[[m^[[K^[[01;31m^[[Ks^[[m^[[K^[[01;31m^[[Kt^[[m^[[K^[[01;31m^[[K
>  
> ^[[m^[[K^[[01;31m^[[KO^[[m^[[K^[[01;31m^[[KS^[[m^[[K^[[01;31m^[[K_^[[m^[[K^[[01;31m^[[KN^[[m^[[K^[[01;31m^[[KA^[[m^[[K^[[01;31m^[[KM^[[m^[[K^[[01;31m^[[KE^[[m^[[K^[[01;31m^[[K
>  
> ^[[m^[[K^[[01;31m^[[K=^[[m^[[K^[[01;31m^[[K 
> ^[[m^[[K^[[01;31m^[[K:^[[m^[[K^[[01;31m^[[KL^[[m^[[K^[[01;31m^[[Ki^[[m^[[K^[[01;31m^[[Kn^[[m^[[K^[[01;31m^[[Ku^[[m^[[K^[[01;31m^[[Kx^[[m^[[K
> const ARCH = :x86_64
> const MACHINE = "x86_64-mageia-linux-gnu"
> const libm_name = "libopenlibm"
> const libblas_name = "libblas"
> const liblapack_name = "liblapack"
> const USE_BLAS64 = true
> const libfftw_name = "libfftw3_threads"
> const libfftwf_name = "libfftw3f_threads"
> const libllvm_version = "3.5.2"
> const VERSION_STRING = "0.3.12-pre"
> const TAGGED_RELEASE_BANNER = ""
> const SYSCONFDIR = "../etc"
> const DATAROOTDIR = "../share"
>
> I'd be grateful for any help with this.
>
> Thanks, Evan
>


[julia-users] Re: installation problem mageia 5

2015-09-11 Thread Evan
I agree it's a strange error.
I have recloned several times from github, but I always get this exact same 
error.
And I checked for disk errors with smartctl and dmesg, but nothing 
suspicious.

Has anyone else had success on a Mageia system?




[julia-users] Re: installation problem mageia 5

2015-09-10 Thread andrew cooke

well, that file (build_d.hl) is certainly bad.  it is generated by the 
Makefile in the same directory - see the build_h.jl.phony target at the end 
of the file.  i am having a hard time working out how the code in that 
makefile could generate the mess of characters you see above.

i guess i'd try "make clean" and try again.

and maybe i am being super-naive, but i'd also check your system log for 
disk errors and the like.

andrew (not a julia expert, but it compiles ok for me on linux)