You are not logged in.

#1 2012-06-11 13:22:37

Nachiket
Member
From: India
Registered: 2011-08-15
Posts: 14

[Solved] Problem installing et-sdl-sound from AUR

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

#2 2012-06-11 15:56:30

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 468

Re: [Solved] Problem installing et-sdl-sound from AUR

i think that if you know bash

you can change the PKGBUILD

and if not contact the maintainer.

ezik

Offline

#3 2012-06-11 16:13:29

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [Solved] Problem installing et-sdl-sound from AUR

Perhaps makepkg's man page will have an option to not extract source files; use whatever source already exists in the src/ directory wink

Last edited by SS4 (2012-06-11 16:14:25)


Rauchen verboten

Offline

#4 2012-06-12 05:58:23

Nachiket
Member
From: India
Registered: 2011-08-15
Posts: 14

Re: [Solved] Problem installing et-sdl-sound from AUR

Thanks SS4, it did have an option.  makepkg -s -e smile


--Nachiket.

Offline

Board footer

Powered by FluxBB