You are not logged in.

#1 2007-07-27 22:08:19

synthead
Member
Registered: 2006-05-09
Posts: 1,337

virtualbox_bin doesn't install correctly

Here's what I get:

[root@myhost virtualbox]# sudo pacman -U virtual*86*z
loading package data... done.
checking dependencies... done.
cleaning up... done.
(1/1) checking for file conflicts                   [#####################] 100%
(1/1) installing virtualbox_bin                     [#####################] 100%
chmod: cannot access `/sbin/vbox_build_module': No such file or directory
/var/lib/pacman/local/virtualbox_bin-1.4.0-2/install: line 4: /sbin/vbox_build_module: No such file or directory
VirtualBox Personal Use and Evaluation License (PUEL)

Version 1.2, 2007-02-21

innotek GmbH, Werkstrasse 24, 71384 Weinstadt, Germany grants you the
right to use the software product as defined in 1. according to the
following provisions. If you do not agree to all conditions set forth
by this license, you may not use the product, because only innotek as
the product's owner can give you permission to use it.

1. SUBJECT OF LICENSE.  "Product", as referred to in this License,
shall be the binary software package "VirtualBox", which allows for
creating multiple virtual computers, each with different operating
systems ("Guest Computers"), on a physical computer with a specific
operating system ("Host Computer"), to allow for installing and
executing these Guest Computers simultaneously. The Product consists
of executable files in machine code for the Windows 2000/XP and Linux
operating systems as well as other data files as required by the
executable files at run-time and documentation in electronic form.

2. GRANT OF LICENSE.  (1) innotek grants you a personal right to
install and execute the Product on a Host Computer for Personal Use
or Educational Use or for Evaluation. "Personal Use" requires that
you use the product on the same Host Computer where you installed it
yourself and that no more than one client connect to that Host
Computer at a time for the purpose of displaying Guest Computers
remotely. "Educational use" is any use in an academic institution
(schools, colleges and universities, by teachers and students).
"Evaluation" means testing the product for a reasonable period (that
is, normally for a few weeks); after expiry of that term, you are no
longer permitted to evaluate the Product.

(2) The VirtualBox Guest Additions are a set of drivers and utilities
that are shipped with VirtualBox for the purpose of being installed
inside a Guest Computer to improve its performance and cooperation
with the rest of VirtualBox. Provided that you are allowed to use
VirtualBox under subsection 1, innotek allows you to redistribute
the VirtualBox Guest Additions together with the Guest Computer into
which they have been installed.

3. RESERVATION OF RIGHTS.  Any use beyond the provisions of 2. is
prohibited. innotek reserves all copyrights and other intellectual
property rights. This includes, but is not limited to, the right to
modify, make available or public, rent out, lease, lend or otherwise
distribute the Product. This does not apply as far as applicable
law may require it or innotek grants you additional rights of use
in a separate license in writing.

4. TERMINATION.  This License shall be valid infinitely. innotek may
terminate the License only for material causes. In particular, such
a material cause can be a violation of the usage terms or a breach
of other essential duties from this contract. After termination,
you are required to delete and destroy all remaining copies of the
Product. This includes, but is not limited to, installed copies
and backups.

5. NO WARRANTIES.  Since you have not paid for the use of the Product,
there is no warranty for it, to the extent permitted by applicable
law. innotek provides the Product "as is" without warranty of any
kind, either expressed or implied, including, but not limited to, the
implied warranties of merchantability and fitness for a particular
purpose. The entire risk as to the quality and performance of the
Product is with you. Should it prove defective, you assume the cost
of all necessary servicing, repair, or correction. In addition,
innotek shall be allowed to provide updates to the Product in
urgent cases. You are then obliged to install such updates. Such
an urgent case includes, but is not limited to, a claim of rights
to the Product by a third party.

6. MISCELLANEOUS.  There are no license terms beyond the written
ones in this agreement. Amendments of, additions to and the joint
revocation of this agreement shall require the written form. The same
shall apply to the preceding written form requirement. Standard
business conditions of the parties shall not apply. Place of
performance and legal venue shall be Weinstadt, the domicile of
innotek. Solely German law shall apply to this agreement.

FATAL: Module vboxdrv not found.

---------------------------------------------------------------------------
- run "/sbin/vbox_build_module" after kernelupdate to generate new module
- add your user to the virtualbox group with "gpasswd -a USERNAME vboxusers"
NEW:
- add "vboxdrv" to your MODULES array in "/etc/rc.conf"
--> the daemon virtualbox has been removed!
---------------------------------------------------------------------------

It puts an icon into the "System" folder on XFCE but when I try to launch it, it does nothing.  How can I get this to work?

Offline

#2 2007-07-27 22:18:14

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: virtualbox_bin doesn't install correctly

run it from console and show errors
But first

and run (from root)
vbox_build_module
then
modprobe vboxdrv
then
gpasswd -a USERNAME virtualbox
USERNAME- is your username
type virtualbox (from normal user)

Offline

#3 2007-07-27 22:23:03

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: virtualbox_bin doesn't install correctly

[root@myhost virtualbox]# vbox_build_module
bash: vbox_build_module: command not found

edit ... doh, removed the package and forgot.  Here's what I really get:

[root@myhost virtualbox]# vbox_build_module
bash: /usr/bin/vbox_build_module: Permission denied

Last edited by synthead (2007-07-27 22:24:33)

Offline

#4 2007-07-27 22:26:29

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: virtualbox_bin doesn't install correctly

I did a "chmod 755 /usr/bin/vbox_build_module" and it's compiling now.  Weird that it would install without permissions ...

Offline

#5 2007-07-27 22:27:15

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: virtualbox_bin doesn't install correctly

Now I am getting:

[root@myhost bin]# gpasswd -a max virtualbox
unknown group: virtualbox
gpasswd: Permission denied.

edit ... did a "groupadd virtualbox" and I was added to the group successfully ... onward ...

Last edited by synthead (2007-07-27 22:28:21)

Offline

#6 2007-07-27 22:30:17

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: virtualbox_bin doesn't install correctly

Finally ...

[max@myhost virtualbox]$ virtualbox
bash: virtualbox: command not found

*gasp*

Yet ...

[max@myhost virtualbox]$ pacman -Qs virtualbox
local/virtualbox-modules 1.4.0-1
    Kernel modules for VirtualBox (vboxdrv)
local/virtualbox_bin 1.4.0-2
    Powerful x86 virtualization - binary version (non GPL - free for personal
    use and evaluation)

Last edited by synthead (2007-07-27 22:30:57)

Offline

#7 2007-07-27 22:40:34

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: virtualbox_bin doesn't install correctly

type
/opt/Virtualbox/VirtualBox

Offline

#8 2007-07-28 00:34:03

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: virtualbox_bin doesn't install correctly

So here's what I got.  I ran VirtualBox (didn't know you needed capitals!) and it said I wasn't a part of the vboxusers group.  So I removed myself from the virtualbox group, removed the virtualbox group entirely, Then I added myself to the vboxusers group, logged out and logged back in.  I ran VitrualBox only to get ..

[max@myhost ~]$ VirtualBox
/opt/VirtualBox-1.4.0/VirtualBox: error while loading shared libraries: libSDL-1.2.so.0: wrong ELF class: ELFCLASS64

... even though:

[max@myhost ~]$ pacman -Qs sdl
local/sdl 1.2.11-1
    A library for portable low-level access to a video framebuffer, audio
    output, mouse, and keyboard
local/sdl_image 1.2.5-2
    A simple library to load images of various formats as SDL surfaces
local/sdl_mixer 1.2.7-2
    A simple multi-channel audio mixer
local/sdl_net 1.2.7-1
    A small sample cross-platform networking library
local/sdl_sound 1.0.1-7
    A library to decode several popular sound file formats, such as .WAV and
    .MP3
local/sdl_ttf 2.0.8-1
    A library that allows you to use TrueType fonts in your SDL applications

Last edited by synthead (2007-07-28 00:35:53)

Offline

#9 2007-07-28 17:15:15

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: virtualbox_bin doesn't install correctly

bump

Offline

#10 2007-07-28 17:46:58

tyr0
Member
Registered: 2007-06-02
Posts: 152

Re: virtualbox_bin doesn't install correctly

It is gpasswd -a max vboxusers
not
gpasswd -a max virtualbox.

If you are using arch64 have a look on the sdl-PKGBUILD. Maybe you have to change it a bit.

Last edited by tyr0 (2007-07-28 17:54:14)

Offline

#11 2007-07-30 22:27:12

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: virtualbox_bin doesn't install correctly

i'm trying to build this on arch64 and it says i'm missing /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory what do i do?

Offline

#12 2007-07-30 23:12:56

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: virtualbox_bin doesn't install correctly

I also got the same error as the original poster did. Any idea how to solve this?

Offline

Board footer

Powered by FluxBB