Hi Shashi,
I have encoutered errors on building julia with Base.require("Gadfly") in
userimg:
LoadError(at "sysimg.jl" line 319: LoadError(at
"/home/todd/workspace/julia/base/userimg.jl" line 2: LoadError(at
"/home/todd/.julia/v0.4/Gadfly/src/Gadfly.jl" line 1054: LoadError(at
"/home/todd/.julia/v0.4/Gadfly/src/statistics.jl" line 15: LoadError(at
"/home/todd/.julia/v0.4/KernelDensity/src/KernelDensity.jl" line 5:
LoadError(at line : ))))))
rec_backtrace at /home/todd/workspace/julia/usr/bin/../lib/libjulia.so (unknown
line)
jl_throw at /home/todd/workspace/julia/usr/bin/../lib/libjulia.so (unknown
line)
jl_undefined_var_error at /home/todd/workspace/julia/usr/bin/../lib/libjulia
.so (unknown line)
warn at util.jl:255
julia_warn_24380 at (unknown line)
depwarn at deprecated.jl:42
...
...some more errors
...
I have checked out the latest version of Cairo.jl, and updated all other
packages. Any thoughts to this? Thanks!
On Wednesday, December 17, 2014 at 12:08:05 PM UTC+8, Shashi Gowda wrote:
>
>
>
> @Joshua, if you do Pkg.update() and get the latest Gadfly, you should be
> able to precompile it.
>
>
> Homebrew.jl had a new release 5 hours ago as well, did you try updating?
> We were getting the UndefVarError(var=:STDERR) with Compose, this happens
> when the code you are loading wants to print an error message (I think).
> Does `using HDF5` work for you if you build without precompiling? You
> should not have any load time errors for this to work.
>
> I was able to fix Compose precompilation problem by accounting for the
> error case
> https://github.com/JuliaLang/JuliaBox/issues/123#issuecomment-67187273
>
> On Wed, Dec 17, 2014 at 7:58 AM, Tim Holy <[email protected] <javascript:>
> > wrote:
>>
>> If you'd like some help fixing this, please open an issue over at
>> HDF5.jl. If
>> you do, please be explicit about the commands you're executing that lead
>> to
>> such error messages.
>>
>> --Tim
>>
>> On Tuesday, December 16, 2014 11:12:58 AM Joshua Job wrote:
>> > I'm on Mac OS X, but I get an error from HDF5 calling/pulling in the
>> > Homebrew package with
>> >
>> > > error during bootstrap: LoadError(at "sysimg.jl" line 286:
>> LoadError(at
>> > > "/Users/joshuajob/julia-0.3/base/userimg.jl" line 1: LoadError(at
>> > > "/Users/joshuajob/.julia/v0.3/HDF5/src/HDF5.jl" line 1: LoadError(at
>> > > "/Users/joshuajob/.julia/v0.3/HDF5/src/plain.jl" line 14: LoadError(at
>> > > "/Users/joshuajob/.julia/v0.3/Homebrew/src/Homebrew.jl" line 345:
>> > > UndefVarError(var=:STDERR))))))
>> >
>> > It probably would work fine if I was on Linux.
>> >
>> > On Friday, December 12, 2014 11:21:39 PM UTC-5, Tim Holy wrote:
>> > > HDF5 _should_ work---I just put in a bunch of work to fix some
>> problems
>> > > that
>> > > were preventing precompilation. But, you must be using HDF5 0.4.7 (or
>> > > master).
>> > >
>> > > --Tim
>> > >
>> > > On Friday, December 12, 2014 06:47:55 PM Joshua Job wrote:
>> > > > Hello all,
>> > > >
>> > > > Is there anyone else who has attempted to precompile Gadfly using
>> > > > userimg.jl? It keeps claiming that the variable STD_ variables
>> > > > (STDIN,STDOUT,STDERR) are not defined, and this seems to be a pretty
>> > > > common/general issue (it also comes up when trying to precompile
>> HDF5,
>> > > > etc.). I've pulled the load time on Gadfly down to about 15 seconds
>> by
>> > > > precompiling DataFrames, but it'd be really nice if I could just put
>> > >
>> > > "using
>> > >
>> > > > My,Most,Used,Packages" unto my juliarc.jl file and not have a solid
>> 30
>> > > > second startup time for a new instance of Julia.
>> > > >
>> > > > I'm wondering if a) is this an issue only I have and b) if not, is
>> there
>> > > > some way to make it so the STD_ variables are all defined prior to
>> > > > running/compiling userimg.jl?
>>
>>