You are not logged in.

#1 2009-03-23 01:12:41

whoops
Member
Registered: 2009-03-19
Posts: 891

[SOLVED] virtualbox-ose: pulse not found at -lpulse

Hi!


Trying to build abs/community/emulators/virtualbox-ose
pkgname=virtualbox-ose
pkgver=2.1.2
...can't figure out:

Checking for ALSA: found version 1.0.19, OK.
Checking for PulseAudio: 
  pulse not found at -lpulse or pulse headers not found
  Check the file /home/abs/virtualbox-ose/src/VirtualBox-2.1.2_OSE/configure.log for detailed error information.
PKGBUILD: line 34: ./env.sh: File not found

/home/abs/virtualbox-ose/src/VirtualBox-2.1.2_OSE/configure.log says...:

***** Checking PulseAudio *****
compiling the following source file:
#include <cstdio>
#include <pulse/version.h>
extern "C" int main(void)
{
  printf("found version %s API version %d", pa_get_headers_version(), PA_API_VERSION);
#if PA_API_VERSION >= 9
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 0.9.0 (API version 9) or higher\n");
  return 1;
#endif
}
using the following command line:
/usr/bin/g++-3.4 -O -Wall -o .tmp_out .tmp_src.cc "-lpulse"
/usr/bin/ld: warning: libcap.so.1, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libpulse.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libpulse.so: undefined reference to `cap_get_flag'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libpulse.so: undefined reference to `cap_free'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libpulse.so: undefined reference to `cap_get_proc'
collect2: ld returned 1 exit status

don't know if that matters, but PKGBUILD line (23 to...) 34 says:

build() {
  cd "$srcdir/VirtualBox-${pkgver}_OSE"
  . /etc/profile.d/qt3.sh
  export PATH=$QTDIR/bin:$PATH
  export QMAKESPEC=$QTDIR/mkspecs/linux-g++

  sed -i 's/python2.5/python2.6/g' configure
  ./configure --with-qt-dir=/opt/qt \
    --with-gcc=/usr/bin/gcc-3.4 \
    --with-g++=/usr/bin/g++-3.4 \
    --disable-hardening
  source ./env.sh

I've got pulseaudio installed of course - this  google-translated site seems to suggest that Debian users should install "libpulse-dev", but i've got no idea if something like this exists for arch or is even needed.


Anybody makepkg'd virtualbox-ose lately?

thx!

Last edited by whoops (2009-03-23 21:37:26)

Offline

#2 2009-03-23 04:32:01

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] virtualbox-ose: pulse not found at -lpulse

I'm guessing that you are using the testing repo. If so, you need to rebuild pulseaudio against the libcap in testing.

Offline

#3 2009-03-23 12:33:45

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: [SOLVED] virtualbox-ose: pulse not found at -lpulse

thx, that got me a step further! Now it's compiling & installing, but some things seem still to be missing (like the GUI).

kmk[2]: Leaving directory `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2_OSE'
kmk[1]: Leaving directory `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2_OSE'
install: cannot stat `../obj/src/VBox/VMM/tstVMM/tstVMM': No such file or directory
install: cannot stat `vditool': No such file or directory
install: cannot stat `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2/src/VBox/Installer/linux/VBox.sh': No such file or directory
install: cannot stat `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2/src/VBox/Installer/linux/VBoxAddIF.sh': No such file or directory
install: cannot stat `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2/src/VBox/Installer/linux/VirtualBox.desktop': No such file or directory
install: cannot stat `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_64px.png': No such file or directory
install: cannot stat `/home/abs/virtualbox-ose/src/VirtualBox-2.1.2/COPYING': No such file or directory
loading package data...
checking dependencies...
checking for file conflicts...
upgrading virtualbox-ose...

i located some similarly named files like p.e.:
./src/VirtualBox-2.1.2_OSE/out/linux.x86/release/obj/tstVMM/tstVMM
./pkg/usr/bin/vditool
./src/VirtualBox-2.1.2_OSE/src/VBox/Installer/linux/VBox.sh
./src/VirtualBox-2.1.2_OSE/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_64px.png
./src/VirtualBox-2.1.2_OSE/src/VBox/Frontends/VirtualBox4/images/OSE/VirtualBox_64px.png

My first idea was of course to "move stuff around aimlessly without knowing what I'm doing", but then I read...:

" # if you move the binaries in /usr/share the sky will fall on your head "

... inside the PKGBUILD and thought to myself: might not be such a good idea to "move stuff around aimlessly without knowing what I'm doing".


Any Idea? thx!


edit: still displays all the errors, but as I somehow (chaotic "solution"?) got it to give me the GUI and the rest seems to work too, I'm marking this "solved".

Last edited by whoops (2009-03-23 21:37:02)

Offline

Board footer

Powered by FluxBB