Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Can juliac compile(bootstrap) itself? "required argument juliaprog was not provided". #59

Open
zxj5470 opened this issue Feb 7, 2018 · 0 comments

Comments

@zxj5470
Copy link

zxj5470 commented Feb 7, 2018

Windows CMD:

W:\git\static-julia>julia juliac.jl -vae juliac.jl
Julia program file:
  "W:\git\static-julia\juliac.jl"
C program file:
  "W:\git\static-julia\program.c"
Build directory:
  "W:\git\static-julia\builddir"
Change to build directory
Build ".ji" files:
  `'C:\Users\zh\AppData\Local\Julia-0.6.0\bin\julia.exe' -Cx86-64 '-JC:\Users\zh\AppData\Local\Julia-0.6.0\lib\julia\sys.dll' --compile=yes --depwarn=yes --startup-file=no -e '
  VERSION >= v"0.7+" && Base.init_load_path("C:\\Users\\zh\\AppData\\Local\\Julia-0.6.0\\bin") # initialize location of site-packages
  empty!(Base.LOAD_CACHE_PATH) # reset / remove any builtin paths
  push!(Base.LOAD_CACHE_PATH, abspath("tmp_v0.6.0")) # enable usage of precompiled files
  include("W:\\\\git\\\\static-julia\\\\juliac.jl") # include "julia_program" file
  empty!(Base.LOAD_CACHE_PATH) # reset / remove build-system-relative paths'`
required argument juliaprog was not provided
usage: juliac.jl [-v] [-q] [-c] [-J <file>]
                 [--compile {yes|no|all|min}] [-C <target>]
                 [-O {0,1,2,3}] [-g {0,1,2}] [--inline {yes|no}]
                 [--check-bounds {yes|no}] [--math-mode {ieee,fast}]
                 [--depwarn {yes|no|error}] [-a] [-o] [-s] [-e] [-j]
                 juliaprog [cprog] [builddir]
ERROR: LoadError: failed process: Process(`'C:\Users\zh\AppData\Local\Julia-0.6.0\bin\julia.exe' -Cx86-64 '-JC:\Users\zh\AppData\Local\Julia-0.6.0\lib\julia\sys.dll' --compile=yes --depwarn=yes --startup-file=no -e '
  VERSION >= v"0.7+" && Base.init_load_path("C:\\Users\\zh\\AppData\\Local\\Julia-0.6.0\\bin") # initialize location of site-packages
  empty!(Base.LOAD_CACHE_PATH) # reset / remove any builtin paths
  push!(Base.LOAD_CACHE_PATH, abspath("tmp_v0.6.0")) # enable usage of precompiled files
  include("W:\\\\git\\\\static-julia\\\\juliac.jl") # include "julia_program" file
  empty!(Base.LOAD_CACHE_PATH) # reset / remove build-system-relative paths'`, ProcessExited(1)) [1]
Stacktrace:
 [1] pipeline_error(::Base.Process) at .\process.jl:682
 [2] run(::Cmd) at .\process.jl:651
 [3] julia_compile(::String, ::Void, ::String, ::Bool, ::Bool, ::Bool, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at W:\git\static-julia\juliac.jl:227
 [4] main(::Array{String,1}) at W:\git\static-julia\juliac.jl:121
 [5] include_from_node1(::String) at .\loading.jl:569
 [6] include(::String) at .\sysimg.jl:14
 [7] process_options(::Base.JLOptions) at .\client.jl:305
 [8] _start() at .\client.jl:371
while loading W:\git\static-julia\juliac.jl, in expression starting on line 288

Windows WSL Ubuntu 16.04.3:

└─[$] julia juliac.jl -vae juliac.jl                                                                         [23:23:54]
Julia program file:
  "/mnt/w/git/static-julia/juliac.jl"
C program file:
  "/mnt/w/git/static-julia/program.c"
Build directory:
  "/mnt/w/git/static-julia/builddir"
Make build directory
Change to build directory
Build ".ji" files:
  `/home/zh/julia-0.6.2/bin/julia -Cx86-64 -J/home/zh/julia-0.6.2/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e '
  VERSION >= v"0.7+" && Base.init_load_path("/home/zh/julia-0.6.2/bin") # initialize location of site-packages
  empty!(Base.LOAD_CACHE_PATH) # reset / remove any builtin paths
  push!(Base.LOAD_CACHE_PATH, abspath("tmp_v0.6.2")) # enable usage of precompiled files
  include("/mnt/w/git/static-julia/juliac.jl") # include "julia_program" file
  empty!(Base.LOAD_CACHE_PATH) # reset / remove build-system-relative paths'`
required argument juliaprog was not provided
usage: juliac.jl [-v] [-q] [-c] [-J <file>]
                 [--compile {yes|no|all|min}] [-C <target>]
                 [-O {0,1,2,3}] [-g {0,1,2}] [--inline {yes|no}]
                 [--check-bounds {yes|no}] [--math-mode {ieee,fast}]
                 [--depwarn {yes|no|error}] [-a] [-o] [-s] [-e] [-j]
                 juliaprog [cprog] [builddir]
ERROR: LoadError: failed process: Process(`/home/zh/julia-0.6.2/bin/julia -Cx86-64 -J/home/zh/julia-0.6.2/lib/julia/sys.so --compile=yes --depwarn=yes --startup-file=no -e '
  VERSION >= v"0.7+" && Base.init_load_path("/home/zh/julia-0.6.2/bin") # initialize location of site-packages
  empty!(Base.LOAD_CACHE_PATH) # reset / remove any builtin paths
  push!(Base.LOAD_CACHE_PATH, abspath("tmp_v0.6.2")) # enable usage of precompiled files
  include("/mnt/w/git/static-julia/juliac.jl") # include "julia_program" file
  empty!(Base.LOAD_CACHE_PATH) # reset / remove build-system-relative paths'`, ProcessExited(1)) [1]
Stacktrace:
 [1] pipeline_error(::Base.Process) at ./process.jl:682
 [2] run(::Cmd) at ./process.jl:651
 [3] julia_compile(::String, ::Void, ::String, ::Bool, ::Bool, ::Bool, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Void, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at /mnt/w/git/static-julia/juliac.jl:227
 [4] main(::Array{String,1}) at /mnt/w/git/static-julia/juliac.jl:121
 [5] include_from_node1(::String) at ./loading.jl:576
 [6] include(::String) at ./sysimg.jl:14
 [7] process_options(::Base.JLOptions) at ./client.jl:305
 [8] _start() at ./client.jl:371
while loading /mnt/w/git/static-julia/juliac.jl, in expression starting on line 288
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant