You are not logged in.
Newbie here. I tried to install yay AUR helper by using these commands:
git clone https://aur.archlinux.org/yay.git
cd yay/
makepkg -s
But I got these error messages during the build:
==> Starting build()...
go build -v -ldflags '-s -w -X main.version=8.1173.0' -o yay
github.com/jguer/go-alpm
# github.com/jguer/go-alpm
.go/src/github.com/jguer/go-alpm/alpm.go:10:11: fatal error: alpm.h: No such file or directory
// #include <alpm.h>
^~~~~~~~
compilation terminated.
make: *** [Makefile:44: build] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Even tried installing package-query, pakku, etc.
All have trouble finding or linking my alpm (11.0.1) library. Is something wrong with my pacman(5.1.1)?
Someone else has the same problem while installing cower
guilhermemfreire commented on 2018-05-28 15:39
Hi, I'm having problem installing cower. Already searched everywhere for the solution. It started after I updated my archlinux, 05-25-201. Here is the message: ==>
Starting build()...
cc ... -o cower.o src/cower.c src/cower.c:46:10: fatal error: alpm.h: No such file or directory #include <alpm.h></alpm.h>
https://aur.archlinux.org/packages/cower/
Last edited by rahulravi7 (2018-11-22 14:22:13)
Offline
Newbie here. I tried to install yay AUR helper
If you are new to arch and/or using the AUR, do not use an AUR helper, definitely not one so obtrussive as yay or yaourt.
But that is an odd error, what is the output of `pacman -Qkk pacman`? Do you have `base-devel` installed?
Last edited by Trilby (2018-11-22 14:33:56)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
Mod note: Moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
i got this
$ pacman -Qkk pacman
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
pacman: 343 total files, 0 altered files
Yes, I have base-devel installed.
Offline
Please create test.c with the contents
#include <alpm.h>
With test.c created what is the output of the following?
gcc -o test.o -c test.c
Offline
$ cat > test.c
#include <alpm.h>
$ gcc -o test.o -c test.c
test.c:1:10: fatal error: alpm.h: No such file or directory
#include <alpm.h>
^~~~~~~~
compilation terminated.
On a side note, even if I try to do this, it doesn't compile
#include</usr/include/X11/Xlib.h>
Offline
The output of
gcc -v -o test.o -c test.c
Offline
The output of
gcc -v -o test.o -c test.c
Thank you for your reply!
By running gcc with -v option, I got
https://pastebin.com/8aXZT6U4
It was Anaconda's gcc masking the /usr/bin/gcc in the $PATH env variable.
So after editing and sourcing the ~/.bashrc file, it's working fine now!
I'll try not to do dumb things from now on.
Last edited by rahulravi7 (2018-11-22 17:02:19)
Offline
I'll try not to do dumb things from now on.
You mean like trying to use anaconda?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online