BinDeps.debug("ZMQ") may help? Could use clearer docs.
On Sunday, May 11, 2014 10:29:51 PM UTC-7, Kuba Roth wrote: > > Ok, I think I found what actually was happening. > If I have a library already on the system path Pkg skips the building > step. This is fine but the message it gives is kind of confusing. It > outputs the following info which made me believe it was building something > from the source but in fact it even didn't bother to download files from > the repository: > > julia> Pkg.add("ZMQ") > INFO: Cloning cache of BinDeps from git:// > github.com/JuliaLang/BinDeps.jl.git > INFO: Cloning cache of URIParser from git:// > github.com/loladiro/URIParser.jl.git > INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git > INFO: Installing BinDeps v0.2.12 > INFO: Installing URIParser v0.0.2 > INFO: Installing ZMQ v0.1.9 > INFO: Building ZMQ > INFO: Package database updated > julia> > > Removing the default OS libzmq files from /usr/lib fixed the problem. > > What would be really nice to have as a debug option is to be able to list > all install packages pointing to the locations of their native library > paths. > At the moment when I do: Pkg.dir("ZMQ") it returns: > "/home/kuba/.julia/ZMQ" which is incorrect in terms of dependencies it > refers to. > > Cheers, > kuba > > > On Sunday, May 11, 2014 3:27:47 PM UTC-7, Iain Dunning wrote: >> >> Binary dependencies are handled on a package-by-package basis, not by the >> Pkg.* functions themselves. >> >> What happens if you run Pkg.build("ZMQ")? >> >> On Sunday, May 11, 2014 4:20:23 PM UTC-4, Kuba Roth wrote: >>> >>> Hi there, >>> I've run into some problems with package manager in the >>> recent(yesterday) build. It looks like the dependencies are no longer >>> downloaded and build automatically as it used to be. I double checked that >>> with the build from April 1st. and it indeed behaves differently. Running >>> Pkg.add("ZMQ") does not download the source from the repository at the >>> moment. >>> I'm wondering if this is now a default behaviour - if the library is >>> alread installed on the system (as it is in m case in /usr/lib), Julia just >>> skips it. But it is not clear when this change was introduced and why Pkg >>> no longer downloads dependencies itself. >>> >>> Thanks, >>> Kuba >>> >>