You are not logged in.
Just built Virtualbox from the AUR repo. Amended the PKGBUILD and virtualbox-modules.install scripts for the virtual-modules-svn package to match the 2.6.20-ARCH kernel. The vboxdrv kernel module loads fine. Created the virtualbox group and added it to the user account, but I get the follow error on attempting to start a virtual machine.
Any suggestions?
Last edited by grazie (2007-03-03 21:47:22)
Offline
did you reboot after install?
You may have more luck running binary version search forums for pkgbuild.... subject to license you can then use usb ;-)
http://bbs.archlinux.org/viewtopic.php?id=29952 there you go.....
Mr Green
Offline
Thanks for that Mr Green as I hadn't seen that. However as it takes quite a while to build the svn version and is has to be uninstalled before trying the one above, is there any way to backup the installed packages so that it can be re-installed in pacman if required, rather than having to completely rebuild. I suppose I need to make the built svn version as my own binary packages?
Offline
have you still got pkg.tar.gz of virtualbox ? .... if so then you can at least reinstall if you are not happy with binary version
HTH
Mr Green
Offline
I can't get that binary package to install as I get the following error
==> Making package: virtualbox-bin 1.3.4-1 (Tue Feb 27 17:17:16 GMT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of VirtualBox_1.3.4_Linux_x86.run
==> ERROR: vboxbfe was not found in the build directory and is not a proper URL.
==> Aborting...
I'd prefer to use the SVN version from AUR anyway.
Offline
thats cool what ever you feel comfortable using......
Mr Green
Offline
I had trouble building from AUR as well. In the end, what worked was going to their site and using their .run file. No problems there.
Offline
2.6.20-ARCH and svn-1076, got error
kBuild: Compiling RuntimeR3 - r3/alloc-ef.cpp
/root/vbox/modules/src/vbox-build/include/iprt/assert.h:68: error: previous declaration of 'int RTASSERTVAR [1]' with 'C++' linkage
/root/vbox/modules/src/vbox-build/include/VBox/sup.h:116: error: conflicts with new declaration with 'C' linkage
kmk[3]: *** [/root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o] Error 1
The failing command:
@g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -fno-omit-frame-pointer -fno-strict-aliasing -I/root/vbox/modules/src/vbox-build/src/libs/liblzf-1.51 -I/root/vbox/modules/src/vbox-build/include -I/root/vbox/modules/src/vbox-build/src/VBox/Runtime -I/root/vbox/modules/src/vbox-build/out/linux.x86/release -Iinclude -DVBOX -DVBOX_OSE -D__LINUX__ -D_FILE_OFFSET_BITS=64 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -DIN_RT_R3 -DIN_SUP_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -Wp,-MD,/root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o.dep -Wp,-MT,/root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o -Wp,-MP -o /root/vbox/modules/src/vbox-build/out/linux.x86/release/obj/src/VBox/Runtime/RuntimeR3/r3/alloc-ef.o /root/vbox/modules/src/vbox-build/src/VBox/Runtime/r3/alloc-ef.cpp
kmk[3]: Leaving directory `/root/vbox/modules/src/vbox-build/src/VBox/Runtime'
kmk[2]: *** [pass_libraries_before] Error 2
kmk[2]: Leaving directory `/root/vbox/modules/src/vbox-build/src/VBox'
kmk[1]: *** [pass_libraries_before] Error 2
kmk[1]: Leaving directory `/root/vbox/modules/src/vbox-build/src'
kmk: *** [pass_libraries_before] Error 2
./PKGBUILD: line 37: cd: out/linux.x86/release/bin/src: No such file or directory
/root/vbox/modules/src/vbox-build/kBuild/gnumake-header.kmk:33: kBuild: Using vanilla GNU make isn't safe for anything but kBuild bootstrapping!
Config.kmk:103: *** You must update kBuild!. Stop.
==> ERROR: Build Failed. Aborting...
==> ERROR: Reverting pkgver...
Last edited by once (2007-02-28 06:00:51)
Offline
i get the same error as once.
Offline
For me binary version is much easier to build and has more features ...
@once svn-1076 have you modified pkgbuild at all?
Mr Green
Offline
For me binary version is much easier to build and has more features ...
@once svn-1076 have you modified pkgbuild at all?
no, just AUR PKGBUILD used, svn-1008 ok.
but, binary had worse performance about 50% in 512M share guest XP.
Offline
never noticed any difference is performance..... boots up far quicker than vmplayer weird
how much ram you got?
Mr Green
Offline
1g of ram,2g of swap, 512m share to guest.
svn ok, but binary lag guest.
Offline
I'm only running 256mb for guest got 2gb of ram here .....
Mr Green
Offline
The binary build problem was sorted by putting the binary build files in the correct place.
The SVN runtime error was due to a couple of problems. Using the vboxdrv.ko driver built with VirtualBox binary package I can now use both the SVN and binary versions. Although I created the group virtualbox and added it to the use account, for some unexplained reason the user account loses this group and I haven't figured out why yet.
Thanks to hpestilence for his advice.
Offline