Gtk.jl
Gtk.jl copied to clipboard
Failed to build Gtk with JuliaPro 1.0.3.1 on Win7 64bit
Here is the problem when I built Gtk with JuliaPro 1.0.3.1 on Win7 64bit:
Building Gtk ─────→ C:\Users\Administrator\.juliapro\JuliaPro_v1.0.3.1\packages\Gtk\ADDrn\d eps\build.log
┌ Error: Error building Gtk
:
│ [ Info: Multiple package candidates found for mingw64(libjpeg-8.dll), picking newest.
│ [ Info: Nothing to do
│ ERROR: LoadError: IOError: could not spawn 'C:\Users\Administrator\.juliapro\JuliaPro_v1.0.3.1\p ackages\WinRPM\Y9QdZ\src\..\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin/glib-compile-schemas' 'C: \Users\Administrator\.juliapro\JuliaPro_v1.0.3.1\packages\WinRPM\Y9QdZ\src\..\deps\usr\x86_64-w64-mi ngw32\sys-root\mingw\bin/../share/glib-2.0/schemas'
: operation not permitted (EPERM)
│ Stacktrace:
│ [1] _jl_spawn(::String, ::Array{String,1}, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:36
7
│ [2] (::getfield(Base, Symbol("##493#494")){Cmd})(::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:509
│ [3] setup_stdio(::getfield(Base, Symbol("##493#494")){Cmd}, ::Tuple{RawFD,RawFD,RawFD}) at .\pro cess.jl:490 │ [4] #_spawn#492(::Nothing, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}) at .\process.jl:508 │ [5] _spawn at .\process.jl:504 [inlined] │ [6] #run#503(::Bool, ::Function, ::Cmd) at .\process.jl:662 │ [7] run(::Cmd) at .\process.jl:661 │ [8] top-level scope at C:\Users\Administrator.juliapro\JuliaPro_v1.0.3.1\packages\Gtk\ADDrn\dep s\build.jl:40 │ [9] include at .\boot.jl:317 [inlined] │ [10] include_relative(::Module, ::String) at .\loading.jl:1044 │ [11] include(::Module, ::String) at .\sysimg.jl:29 │ [12] include(::String) at .\client.jl:392 │ [13] top-level scope at none:0 │ in expression starting at C:\Users\Administrator.juliapro\JuliaPro_v1.0.3.1\packages\Gtk\ADDrn\d eps\build.jl:24 └ @ Pkg.Operations C:\Users\julia\AppData\Local\Julia-1.0.3\share\julia\stdlib\v1.0\Pkg\src\Operati ons.jl:1136
How can I fix it?
Maybe it's a permission problem, check that the folders that Julia is trying to access (C:\Users\Administrator\.juliapro\...
) can be written in by the Julia process (change their permission on start Julia as admin).