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

Missing archive.h file #58

Open
zohozer opened this issue Feb 5, 2023 · 1 comment
Open

Missing archive.h file #58

zohozer opened this issue Feb 5, 2023 · 1 comment

Comments

@zohozer
Copy link

zohozer commented Feb 5, 2023

I do try to install the yay package in my SteamDeck Arch distro using this tutorial and I do face the following problem:

When I do run the command: $ makepkg -si, I do get the following error:

# github.com/Jguer/go-alpm/v2
In file included from ../gopath/pkg/mod/github.com/!jguer/go-alpm/v2@v2.1.2/alpm.go:10:
/usr/include/alpm.h:42:10: fatal error: archive.h: No such file or directory
   42 | #include <archive.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:113: yay] Error 2

Looks like it is a missing archive.h file dependencies.

How I can correct this issue?

@maxgio92
Copy link

maxgio92 commented Jun 10, 2023

Hi @zohozer, I'm encountering the issue, me too.

My use case is to build a project which imports go-alpm, from a Debian container (actually, based on goreleaser-cross).

I have installed libalpm13 and libalpm-dev deb packages. archive.h headers file import, comes from libalpm.

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

2 participants