Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble handling tar files whose contents begin with ./foo #32

Open
pjungwir opened this issue Jan 14, 2013 · 0 comments
Open

Trouble handling tar files whose contents begin with ./foo #32

pjungwir opened this issue Jan 14, 2013 · 0 comments

Comments

@pjungwir
Copy link

I'm trying to get ark to unpack and install Proj 4.8.0 (tar.gz), but that file's contents all begin with ./proj-4.8.0/ rather than the usual proj-4.8.0/. Ark puts the contents into /usr/local/proj-4.8.0/proj-4.8.0, and then fails with this message:

STDERR: /tmp/chef-script20130114-23913-e0cf59: line 1: ./autogen.sh: No such file or directory

Here is an example recipe:

proj_version = node['proj']['version']
ark "proj" do
  url "http://download.osgeo.org/proj/proj-#{proj_version}.tar.gz"
  version proj_version
  action [:configure, :install_with_make]
  creates "/usr/local/proj-#{proj_version}"
end

I also tried the above with path "/usr/local/proj-#{proj_version}" and path "/usr/local".

Perhaps this problem is the fault of the Proj packagers, but it'd be awfully nice if Ark was robust enough to handle this kind of thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant