You are not logged in.
Hey All,
Ok now! I know that there are several threads on this forum related to this issue, but the question I have is slightly different and may even sound silly, but I just cannot figure it out.
I tried installing Wolfenstein: Enemy Territory from AUR. The sound didn't work out-of-the-box. Just as expected because the comments against the package on AUR had warned me so: http://aur.archlinux.org/packages.php?ID=2063
When I researched a little I found out that, to make sound work, I had to install et-sdl-sound package: http://aur.archlinux.org/packages.php?ID=9777
So I went ahead and did this:
1. download the tarball from AUR
2. tar -zxvf et-sdl-sound.tar.gz
3. cd et-sdl-sound
4. makepkg -s
Now when I do the "makepkg -s" it fails with the error: "ERROR: A failure occured in build()"
Going by the comments on the package in AUR, adding a line #include <unistd.h> to one of the .cpp file supposedly should fix this error. I did this.
But when I try to run the command makepkg -s it overwrites the file I just modified. Can someone please tell me how do I overcome this? How do I make makepkg use the .cpp file with the modification that I made?
Thank you,
Nachiket
Last edited by Nachiket (2012-06-12 06:04:37)
--Nachiket.
Offline
i think that if you know bash
you can change the PKGBUILD
and if not contact the maintainer.
ezik
Offline
Perhaps makepkg's man page will have an option to not extract source files; use whatever source already exists in the src/ directory ![]()
Last edited by SS4 (2012-06-11 16:14:25)
Rauchen verboten
Offline
Thanks SS4, it did have an option. makepkg -s -e ![]()
--Nachiket.
Offline