Once it's built, you shouldn't have to build it again---the build script gets 
called only when you upgrade to a new version. In other words, once both 
`Pkg.build("Images")` and `Pkg.build("ImageView")` have completed without 
error, you should be able to use either package freely. I have the impression 
that you may have gotten errors when you first tried to install these packages 
that you ignored or didn't tell us about, and that's part of the confusion.

Given that you're still experiencing trouble, I'd say your best course of 
action is to remove these packages (Pkg.rm) and reinstall from scratch 
(Pkg.add). I'd strongly recommend deleting Cairo and Tk as well as Images and 
ImageView.

If you get any build errors, please paste in the complete record of the 
output. Also please provide complete details about your platform, the results 
of versioninfo(), and how you got Julia (install from distribution packages or 
PPA? JuliaStudio? Direct clone from source?). Without this kind of 
information, it's very hard to guess what's wrong.

--Tim


On Sunday, March 16, 2014 10:14:32 AM Siddha Ganju wrote:
> Yes, that works absolutely fine. But every-time I have to do "using
> ImageView" I have to build it first. Pkg.build("Images") works
> absolutely fine. Thank you for your help.
> 
> On 3/15/14, Tim Holy <[email protected]> wrote:
> > Images and ImageView are separate. The easier case should be Linux, as my
> > own
> > platform is Ubuntu 12.04 and it works fine. So let's start there.
> > 
> > First, does Pkg.build("Images") work? Note: Images, not ImageView!
> > 
> > Second, Pkg.build("ImageView") is failing because Pkg.build("Tk") is
> > failing.
> > To me it looks like the build script (in $PKGDIR/Tk/deps/build.jl) is
> > expecting to find a tk8.6 package, but on Ubuntu 12.04 the latest is
> > tk8.5.
> > I'd
> > recommend manually doing
> > 
> >      sudo apt-get install tk8.5 tcl8.5
> > 
> > Then try Pkg.build("Tk"). If that works, try Pkg.build("ImageView").
> > 
> > Let us know whether this works, so we know what to do to improve the build
> > script.
> > 
> > --Tim
> > 
> > On Saturday, March 15, 2014 06:54:56 AM Siddha Ganju wrote:
> >> Sorry I forgot this part:
> >> 
> >> Should I try building each package and all its dependencies
> >> independently?

Reply via email to