You are not logged in.
Greetings
I have tried to install some packages from AUR and I couldn't do it, always by the same reason:
After making the package with makepkg command, the file pkg.tar.xz is not created as I was used to. Instead, it is created a pkg.src.tar.gz, which I believe is a source file, and I can't install it with pacman.
During the build process there are no errors shown, and all dependencies seem to be installed (when using makepkg -S), however, correct me if I' m wrong, it seems that the problem lays on build process...
Is there any reason for this to happen? How do I fix it?
I had installed packages from AUR before and had no problems...
I thank you all for any tip to point me in the right direction.
Last edited by JMRamos (2012-06-06 15:52:36)
Offline
Hi
You have to issue "makepkg -s" and not "makepkg -S" because the last command produce source-only tarball that is why you get package "pkg.src.tar.gz".
From "man makepkg":
-S, --source
Do not actually build the package, but build a source-only tarball that does not include sources that can be fetched via a download URL. This is useful
for passing a single tarball to another program such as a chroot, remote builder, or a tarball upload. Because integrity checks are verified, all source
files of the package need to be present or downloadable.but makepkg -s:
-s, --syncdeps
Install missing dependencies using pacman. When build-time or run-time dependencies are not found, pacman will try to resolve them. If successful, the
missing packages will be downloaded and installed.Last edited by Shark (2012-06-06 10:29:53)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Thank you very much.
It worked just fine.
Offline