BinDeps.jl icon indicating copy to clipboard operation
BinDeps.jl copied to clipboard

Dependencies for BinDeps

Open Hydrotoast opened this issue 8 years ago • 2 comments

Hi all, I recently ran into an issue where a package would not build properly because Arch linux does not ship with an unzip command which is used by FileUnpacker if the file contains a .zip extension.


LoadError: could not spawn `unzip -x /home/hydrotoast/.julia/v0.5/HttpParser/deps/downloads/v2.7.1.zip -d /home/hydrotoast/.julia/v0.5/HttpParser/deps/src`: no such file or directory (ENOENT)
while loading /home/hydrotoast/.julia/v0.5/HttpParser/deps/build.jl, in expression starting on line 71

======================================================================================================================

===================================================[ BUILD ERRORS ]===================================================

WARNING: HttpParser had build errors.

 - packages with build errors remain installed in /home/hydrotoast/.julia/v0.5
 - build the package(s) and all dependencies with `Pkg.build("HttpParser")`
 - build a single package by running its `deps/build.jl` script

======================================================================================================================

The solution was to install unzip with the native package manager. I also see that 7z seems to be an implicit dependency for unpacking on Windows.

Could we add these dependencies to the deps/build.jl of this package to automatically resolve these dependencies?

Hydrotoast avatar Jan 29 '17 22:01 Hydrotoast

@Hydrotoast Addressed for Arch Linux in PR #266.

Gramercy...

americast avatar Feb 26 '17 21:02 americast

Not fixed on FreeBSD 11

rgohou avatar Apr 27 '17 11:04 rgohou