You are not logged in.
Pages: 1
When I try to install the package mixxx-bzr from the AUR I consistently get the error message below -
"ERROR:root:Unmet dependency: Did not find libportaudio.a, portaudio.lib, or the PortAudio-v19 development header files."
After looking around the web for a while I learned that apparently portaudio v19 does not contain the files in question, but for some reason they are still checked for during installation. I've been trying to solve this problem all day to no avail.
If anyone has ANY advice or guidance it would be much appreciated. Thank you in advance.
Offline
A trivial question: have you installed any of this?
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Yes, both packages are installed. That is exactly what frustrates me. For some reason the files libportaudio.a portaudio.lib and the devel header files are missing
EDIT- I might add that this error is only present when I install with the build flag "shoutcast=0". When I remove that flag I get a different error::
src/engine/engineshoutcast.cpp: In member function ‘bool EngineShoutcast::serverConnect()’:
src/engine/engineshoutcast.cpp:339:16: error: ‘sleep’ was not declared in this scope
src/engine/engineshoutcast.cpp:356:16: error: ‘sleep’ was not declared in this scope
scons: *** [lin64_build/engine/engineshoutcast.o] Error 1
scons: building terminated because of errors.
Last edited by mtbrooks33 (2012-04-27 03:12:46)
Offline
Not too sure about the opening post, but that last error looks like a missing header #include <unistd.h>, that should be added to the header list in the file 'src/engine/engineshoutcast.cpp'. GCC 4.7 is a little more strict, the mixx dev will be able to easily fix this, if this is the problem. I uploaded an example patch http://pastebin.com/t2vQxUEc.
Just to add, I assumed you used this package, https://aur.archlinux.org/packages.php?ID=49602, I applied my patch and it compiled ok.
Offline
thank you for your response, but i am actually using this package - https://aur.archlinux.org/packages.php?ID=35077
is it okay to use the same patch you created for this package?
i am also still learning how to use bzr, git, etc., and i'm not entirely sure how to apply a patch. the way i am installing mixxx-bzr is with yaourt.
EDIT - Tried to figure it out on my own with the help of google and added the line (used the same patch you linked)
patch -Np1 -i /home/matt/mixxxshoutcast.patch
to the .pkgbuild (i saved the contents of the pastebin link you posted as mixxxshoutcast.patch) and tried to install again. It then spat out
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/engine/engineshoutcast.cpp 2012-04-27 13:24:32.548825242 +0100
|+++ b/src/engine/engineshoutcast.cpp 2012-04-27 13:15:12.000000000 +0100
--------------------------
File to patch:
and i entered /home/matt/Downloads/mixxx-1.11.0-alpha/src/engine/engineshoutcast.cpp (i got this by doing a file search for engineshoutcast.cpp which is the file i assume we're patching)
After pressing enter to proceed with the patch i get the same error -
src/engine/engineshoutcast.cpp: In member function ‘bool EngineShoutcast::serverConnect()’:
src/engine/engineshoutcast.cpp:339:16: error: ‘sleep’ was not declared in this scope
src/engine/engineshoutcast.cpp:356:16: error: ‘sleep’ was not declared in this scope
scons: *** [lin64_build/engine/engineshoutcast.o] Error 1
scons: building terminated because of errors.
Last edited by mtbrooks33 (2012-04-27 14:20:59)
Offline
Sorry I took a little long replying, I encountered a second problem after applying my patch to the package you linked to, I was able to solve it, and I have posted the patch and PKGBUILD with details, https://aur.archlinux.org/packages.php?ID=35077. This particular branch seems very bleeding edge so breakages will occur often unfortunately.
Offline
Don't worry about the long reply. I just managed to fix it myself with a few hacks (don't know how to write a pkgbuild or patch yet)
What I did was add '#include <unistd.h>' to /src/engine/engineshoutcast.cpp in the source code and add linker flag -lrt to makepkg.conf
Offline
Pages: 1