You are not logged in.
Pages: 1
I uploaded a package to AUR, sinfo (https://aur.archlinux.org/packages.php?ID=53144), and there's one thing about it:
You need to run your AUR client as root because of sinfo's dependency on libboost_signals-mt.a, which doesn't exist in Arch Linux's repos (at least from what I can see).
So, what I did is just add a simple ln -s command in the build() function. I've got two people saying that packages should be able to be installed by both user and root (right now the install requires root). For example:
Well ehansen, that's not how it's supposed to work. Packages in the AUR should be able to be built with running makepkg as a USER, NOT as ROOT!!! Please take it serious what StefanHusmann wrote, your package doesn't work that way!
Does anyone know how to write to /usr/lib as a regular user? I've tried doing install -Dm755 install -Dm755 "/usr/lib/libboost_signals.a" "/usr/lib/libboost_signals-mt.a" but gives me the following error:
==> Removing existing pkg/ directory...
==> Starting build()...
install: cannot create regular file `/usr/lib/libboost_signals-mt.a': Permission denied
==> ERROR: A failure occurred in build().
Aborting...
I could write a patch file and do things that way, but the other issue is that sinfo installs it's own custom libraries in /usr/lib during make install as well (which, I need to write a .install file to handle, come to think about it).
Offline
So the configure stage of sinfo needs a different boost? Then open a feature request or bug report to get the boost maintainer to include the file, or upload your own modified boost PKGBUILD to AUR.
Because you don't touch files outside of $PWD, $srcdir or $pkgdir.
1000
Offline
I was just about to answer this thread, but you seem to have solved it yourself in another one: https://bbs.archlinux.org/viewtopic.php … 6#p1003256
Offline
Pages: 1