I’m so frustrated.
We’ve implemented our whole production environment in Julia and working really well, but can’t get v1.0 packages working.
We are behind a firewall, so can’t add/download packages, so I currently have the following:
- compile and build packages and dependencies on an external server
- copy compiled packages to production server
- manually change dep.jl files and all compile paths in packages
- Change the relevant Julia run-time path variables for new directory
– works perfectly
How on earth do we do this in v1.x.
- The documentation doesn’t seem to covert this, or is unclear
- Changing DEPOT_PATH doesn’t really help
- I’ve compiled GLM on another server and copied ~/.julia/* to production directory
- changed DEPOT_PATH to include new path
- I’d expect this to work… or at least be intuitive on where to make changes
- If I look in the copied path for GLM, I find it in:
and if I try to use GLM, I get:
ERROR: IOError: stat: permission denied (EACCES)
 stat(::String) at ./stat.jl:68
 samefile at ./stat.jl:311 [inlined]
 macro expansion at ./logging.jl:305 [inlined]
 macro expansion at ./logging.jl:318 [inlined]
 stale_cachefile(::String, ::String) at ./loading.jl:1330
 _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:693
 _require(::Base.PkgId) at ./loading.jl:937
 require(::Base.PkgId) at ./loading.jl:858
 macro expansion at ./logging.jl:309 [inlined]
 require(::Module, ::Symbol) at ./loading.jl:840
… I’m presuming that somehow Julia is looking in a wrong path, but where?
I thought that maybe the underlying optimizer is looking for a C library, but the message doesn’t seem to reflect that…
The same is true for DataFrames, which, as far as I know, wouldn’t use any dependent C libraries
Any help would be great.