Hello, i am looking for a PackageCompiler instruction for humans, because it seems to me that there are a lot of links in internet but it is difficult to find the most simple case : own simple script that print something translated to executable. But i am not able to find it … also looking inside this forum …
I have added PackageCompiler to Julia, ok.
I am on windows 10.
If i have my simple script called
I was trying to add and build the package compiler … i run this one command to build package compiler, but i get an error …
julia> Pkg.build("PackageCompiler")
Building LibCURL ────────→ `C:\Users\dario\.julia\packages\LibCURL\lWJxD\deps\build.log`
Building WinRPM ─────────→ `C:\Users\dario\.julia\packages\WinRPM\Y9QdZ\deps\build.log`
Building PackageCompiler → `C:\Users\dario\.julia\packages\PackageCompiler\CJQcs\deps\build.log`
┌ Error: Error building `PackageCompiler`:
│ [ Info: Installing GCC
│ [ Info: Multiple package candidates found for mingw64-unistd-pthread-devel, picking newest.
│ ┌ Info: Packages to install:
│ └ join(names(todo), ", ") = "libgcc_s_seh1, binutils, winpthreads-devel, cpp, runtime, libmpc3, libwinpthread1, libgmp10, libmpfr4, zlib1, headers, gcc"
│ ┌ Info: Downloading:
│ └ name = "libgcc_s_seh1"
│ ┌ Info: Extracting:
│ └ name = "libgcc_s_seh1"
│ ERROR: LoadError: IOError: could not spawn `'C:\Users\dario\AppData\Local\Julia-1.3.1\bin\7z.exe' x -y 'C:\Users\dario\.julia\packages\WinRPM\Y9QdZ\cache\2\noarch%2Fmingw64-libgcc_s_seh1-8.2.0-2.8.noarch.rpm' '-oC:\Users\dario\.julia\packages\WinRPM\Y9QdZ\cache\2'`: no such file or directory (ENOENT)
│ Stacktrace:
│ [1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
│ [2] setup_stdios(::Base.var"#554#555"{Cmd}, ::Array{Any,1}) at .\process.jl:112
│ [3] _spawn at .\process.jl:111 [inlined]
│ [4] #open#563(::Bool, ::Bool, ::typeof(open), ::Cmd, ::Base.DevNull) at .\process.jl:370
│ [5] open at .\process.jl:361 [inlined]
│ [6] open(::Cmd, ::String, ::Base.DevNull) at .\process.jl:341
│ [7] open at .\process.jl:338 [inlined]
│ [8] do_install(::WinRPM.Package) at C:\Users\dario\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:482
│ [9] do_install at C:\Users\dario\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:456 [inlined]
│ [10] #install#19(::Bool, ::typeof(WinRPM.install), ::WinRPM.Package) at C:\Users\dario\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:403
│ [11] #install at .\tuple.jl:0 [inlined]
│ [12] #install#17 at C:\Users\dario\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:372 [inlined]
│ [13] #install at .\none:0 [inlined] (repeats 2 times)
│ [14] build() at C:\Users\dario\.julia\packages\PackageCompiler\CJQcs\deps\build.jl:43
│ [15] top-level scope at C:\Users\dario\.julia\packages\PackageCompiler\CJQcs\deps\build.jl:63
│ [16] include at .\boot.jl:328 [inlined]
│ [17] include_relative(::Module, ::String) at .\loading.jl:1105
│ [18] include(::Module, ::String) at .\Base.jl:31
│ [19] include(::String) at .\client.jl:424
│ [20] top-level scope at none:5
│ in expression starting at C:\Users\dario\.julia\packages\PackageCompiler\CJQcs\deps\build.jl:63
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
false
what can be? i have disinstalled julia and reinstalled again because of this error, but repeating building packagecompiler, nothing is changed … i get the error …