LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2011, 10:08 AM   #1
mout4peace
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: Disabled
Virtual Box installation


Hello,

I try in vain to install Virtual Box and its dependencies. The package "acpica" is my problem. When I try to execute its slackbuilds, I get this error message :


Code:
flex -i -s -PAslCompiler -oaslcompilerlex.c ../compiler/aslcompiler.l
flex: fatal internal error, exec failed
make: *** [aslcompilerlex.c] Broken pipe
make: *** Deleting file `aslcompilerlex.c'
I precise that jdk package is installed (this is required in virtualbox package), and I tried to add "ARCH=x86_64" into the slackbuild.

An idea ?

Last edited by mout4peace; 06-14-2011 at 04:18 AM. Reason: solved
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-10-2011, 01:36 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Are you attempting to build the package on Slackware 64-bit 13.37? If so, note, in the README
Code:
VirtualBox Open Source Edition (OSE) is a general-purpose full
virtualizer for x86 hardware.

By default VirtualBox will be compiled with hardening enabled. That
means all binaries will be run suid root, which is the default
behaviour of upstream packages. However, you are still able
to disable this by passing HARDENING=no to the script.

You have to create a vboxusers group, e.g. "groupadd -g 215 vboxusers"
and make your user a member of that group.

To compile virtualbox without the Qt4 GUI pass QT4=no to the script.

To enable the webservice pass WEBSERVICE=yes to the script. This adds gsoap
to the list of required dependencies.

If you want to attach VirtualBox to a VDE network you will need vde2.

VirtualBox requires acpica, the jdk package from /extra, and the
virtualbox-kernel package is needed at runtime. See README.SLACKWARE
for some setup notes.

NOTE: This will not build on a stock x86_64 system.
If you did a full install of Slackware 64-bit 13.37, the acpica package should build without problems if the acpid package is installed (look at /var/log/packages/acpid-2.0.9-x86_64-1; it should be there). The SlackBuild for acpica does not require you to add the "ARCH" -- it's automatically detected.

It may be easier if you download the All distributions => AMD64 packages from http://www.virtualbox.org/wiki/Linux_Downloads -- the packages will be VirtualBox 4.0.8 (rather than 4.0.4 which did exhibit problems) and you simply
Code:
su -                       (or sudo)
sh VirtualBox-4.0.8-71778-Linux_amd64.run
to install it.

Be sure to also download Oracle_VM_VirtualBox_Extension_Pack-4.0.8-71778.vbox-extpack.

Those are your choices: install all the required packages from your Slackware distribution media or build and install all the required packages from SlackBuilds.org (including the kernel modifications you need to install) -- see http://slackbuilds.org/result/?searc...albox&sv=13.37; or download the current VirtualBox as above and install it.

Personally, I vote for 4.0.8 rather than 4.0.4.

If you're attempting to build on Slackware 64-bit 13.1, see the required list at http://slackbuilds.org/result/?searc...ualbox&sv=13.1.

Hope this helps some.

Last edited by tronayne; 06-10-2011 at 01:40 PM.
 
2 members found this post helpful.
Old 06-10-2011, 10:26 PM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Agree with tronayne.

Three choices (I've done all three).

1. You could use the SBo version, but it's for VirtualBox 4.0.4, plus you have to make a few tweaks to get it operational. It will not work with 4.0.8 due to build patch file incompatibility.

2. You could download and compile the source directly from Oracle, but installing it will take some effort to get it right. All lot more that using the SBo.

3. The best option (in my opinion). Simply install VirtualBox-4.0.8-71778-Linux_amd64.run. The installer does all of the work. Adds the vboxuser group, adds the rc.scripts to /etc/rc.d/, appends to rc.local and installs working udev rules. When the installer is finished the only things left to do are add your self to the vboxusers group, start "Virtual Machine" from the KDE menu (it's in System) and add the Extension Pack. Then you are all set to create your first VM.
 
2 members found this post helpful.
Old 06-10-2011, 10:32 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
Originally Posted by chrisretusn View Post
Agree with tronayne.
3. The best option (in my opinion). Simply install VirtualBox-4.0.8-71778-Linux_amd64.run. The installer does all of the work. Adds the vboxuser group, adds the rc.scripts to /etc/rc.d/, appends to rc.local and installs working udev rules. When the installer is finished the only things left to do are add your self to the vboxusers group, start "Virtual Machine" from the KDE menu (it's in System) and add the Extension Pack. Then you are all set to create your first VM.
I agree with this option, but some notes
I don't think it's necessary to add your account to vboxusers. At least on my system, i don't use it and VBox is working just fine here
 
1 members found this post helpful.
Old 06-11-2011, 11:56 AM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by willysr View Post
I don't think it's necessary to add your account to vboxusers. At least on my system, i don't use it and VBox is working just fine here
Agreed. I'm also running the Virtualbox package from Oracle and I did not need to set-up my account for vboxusers. Virtualbox is running just fine here as well.
 
1 members found this post helpful.
Old 06-12-2011, 12:51 AM   #6
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
While USB may work for you, it may not work for others.
The vboxusers group
Implementation notes for Windows and Linux hosts
USB not working

You can also access some USB devices without the Extension Pack installed. My USB sticks work just fine with out the Extension Pack installed. That doesn't mean you shouldn't install it.
USB support
Installing VirtualBox and extension packs
 
1 members found this post helpful.
Old 06-14-2011, 04:15 AM   #7
mout4peace
LQ Newbie
 
Registered: May 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks, I used the Oracle installation script, and It's all right. I didn't create a vbox group, and it's working anyway. The abscence of "acpica" dependencie don't make problem.
 
Old 04-05-2016, 12:36 PM   #8
Gomera
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Rep: Reputation: Disabled
install virtualbox for Slackware 14.1 64bit

I try to install virtualbox for Slackware 14.1 64bit and can't Building the VirtualBox kernel modules. Any help
ash-4.2# sh VirtualBox-4.0.8-71778-Linux_amd64.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation...........
VirtualBox Version 4.0.8 r71778 (2011-05-16T17:05:29Z) installer
Removing previous installation of VirtualBox 4.0.8 r71778 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
Building the VirtualBox kernel modules
Error! Bad return status for module build on kernel: 3.12.24 (x86_64)
Consult /var/lib/dkms/vboxhost/4.0.8/build/make.log for more information.

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.
 
Old 04-05-2016, 12:44 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You should not have necro'd a 5 year old thread just to post about your problem. You really should create a new topic and then follow the information in the error, namely:

Code:
Error! Bad return status for module build on kernel: 3.12.24 (x86_64)
Consult /var/lib/dkms/vboxhost/4.0.8/build/make.log for more information.
Look at that make.log and see if it provides you the reason why. If you can't figure it out, please start a new topic and post the resulting error that is in that file.

Also, since you are running 3.12.24, it is obvious you aren't running a completely stock Slackware. Please inform us if you didn't perform a full installation (what did you leave out) and any stock packages that might've been replaced. Also, did you use Pat's 3.12 kernel config in testing/ or did you cook up your own config?
 
Old 04-05-2016, 05:51 PM   #10
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Sorry, blind as a bat, misread the numbers.

Last edited by tronayne; 04-06-2016 at 06:06 AM.
 
Old 04-05-2016, 08:47 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by tronayne View Post
Your kernel is out of date.
He's running a newer kernel than the stock 14.1 kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora12 64Bit edition installation problem in Sun Virtual Box 3 dasashi Linux - Newbie 1 09-05-2010 12:34 PM
Installation of Virtual Box for Mandriva 2010 Gins Linux - General 10 04-02-2010 03:22 PM
[SOLVED] virtual box installation on slackware wakkana12 Slackware 11 02-16-2010 04:13 PM
Does 'Virtual Box Guide' Show Installation of XP or Ubuntu? taurusx5 Linux - Software 8 02-13-2008 10:30 PM
Grafpup 2.00 - Problem adding user after Hard disk installation under Virtual Box isetyawan Grafpup 8 06-12-2007 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration