LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2017, 11:15 PM   #1
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, CentOS, Ubuntu MATE
Posts: 338

Rep: Reputation: Disabled
VirtualBox 5.1 on 14.2


I am looking for a 14.2 build script for VirtualBox 5.1.

The 5.0 build script at slackbuilds.org is a tad stale, such as VBox no longer needs patching for dkms. I also see config errors:

Code:
Checking for kBuild: found, OK.
Checking for gcc: gcc: fatal error: no input files
compilation terminated.
g++: fatal error: no input files
compilation terminated.
found version 5.3.0, OK.
Thanks.

P.S. Anybody recommending the Oracle run script doesn't get any beer at the next party. A SlackBuild script only please.

Edit: Never mind the 'fatal error' output. Fixable:

Code:
sed -i 's|dumpfullversion` 2>/dev/null|dumpfullversion 2>/dev/null`|g' ./configure

Last edited by upnort; 09-07-2017 at 11:49 PM.
 
Old 09-08-2017, 01:53 AM   #2
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 14.2
Posts: 313

Rep: Reputation: 184Reputation: 184
Have you tried contacting the maintainer of the SBo script? That would be the usual first step.
 
Old 09-08-2017, 06:24 AM   #3
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 485

Rep: Reputation: 250Reputation: 250Reputation: 250
Haven't looked into 5.1 yet, was avoiding the dependency on Qt5. 5.0 works well enough for me here (also on -current), so motivation to move forward is rather low, but *if* I'd look at a newer version I'd go directly to 5.2 and skip over 5.1.
 
6 members found this post helpful.
Old 09-08-2017, 06:24 AM   #4
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 485

Rep: Reputation: 250Reputation: 250Reputation: 250
Haven't looked into 5.1 yet, was avoiding the dependency on Qt5. 5.0 works well enough for me here (also on -current), so motivation to move forward is rather low, but *if* I'd look at a newer version I'd go directly to 5.2 and skip over 5.1.
 
6 members found this post helpful.
Old 09-08-2017, 09:38 PM   #5
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, CentOS, Ubuntu MATE
Posts: 338

Original Poster
Rep: Reputation: Disabled
Quote:
5.0 works well enough for me here
Hehehe. Works well enough for me too. Until a few days ago. I run a CentOS 7 VM on two of my Slackware systems. I use the VMs to isolate things I do remotely for work. The VMs have been working well for months. The latest CentOS updates broke the VM with respect to the shared folder, video resolution, and the bidirectional clipboard. Digging around the web revealed the breakage is real and caused by the funky combination of an old kernel with new X packages. The VirtualBox devs are aware of the problem and have a fix in the 5.1.27 beta branch.

That led me out of my comfort zone. I wanted to see if I could get 5.1.26 compiled and running. I'll wait to update the CentOS side my VM until after 5.1.28 is officially released, but might as well run 5.1.26 short term to see if anything else breaks with other VMs.

In the VM I need to use CentOS, Debian, or Ubuntu rather than Slackware because that is what we use at work. Beats working with those proprietary OSes any day. Slackware is the host.

After I realized the "fatal error" reported in my original post was a red herring, I continued with compiling. Successfully. I used only one of the patches from the 5.0 SlackBuild script. The solution for the "fatal error" output is in the amended portion of my original post. Apparently the version checking for gcc is different with newer versions than the 5.3 used in 14.2.

The patch to rip the DPMS support from the vboxdrv.sh script is no longer needed because 5.1 does not use that method to update the kernel module. The file name in the sources has changed too from vboxdrv.sh.in to just vboxdrv.sh.

I have not yet tested the new packages. I will try to add to this thread when I do.
 
Old 09-08-2017, 10:16 PM   #6
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,207

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Just to note that I always use the VirtualBox installers shipped by upstream.

They are Slackware aware and friendly to it, then I see no reason to compile VirtualBox from sources.

Last edited by Darth Vader; 09-08-2017 at 10:27 PM.
 
1 members found this post helpful.
Old 09-09-2017, 10:16 AM   #7
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 476

Rep: Reputation: 81
Quote:
Originally Posted by Darth Vader View Post
then I see no reason to compile VirtualBox from sources.
"Use the Source, Luke!"?
 
1 members found this post helpful.
Old 09-09-2017, 10:20 AM   #8
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, CentOS, Ubuntu MATE
Posts: 338

Original Poster
Rep: Reputation: Disabled
@ppr:kut: I compiled 5.1.26 with only nominal changes to the 5.0.40 build script. I am running a Slackware Current VM right now. I did not use two patches. The gcc_check is resolved by the sed one-liner posted in the first post of the thread. If you start tinkering, at least 5.1.x builds just fine with few changes and that should blend well into 5.2 should you decide the next Slackware release should support 5.2. BTW, I used QT 5.6.1 rather than 5.7.1.

Quote:
Just to note that I always use the VirtualBox installers shipped by upstream.
Sigh. In my original post I politely mentioned I was not interested in a discussion about using the run script. You seem unwilling to read threads before posting.
 
Old 09-09-2017, 10:43 AM   #9
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 485

Rep: Reputation: 250Reputation: 250Reputation: 250
Good to know

Thanks for the heads-up!
 
Old 09-09-2017, 09:23 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,513
Blog Entries: 16

Rep: Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212Reputation: 3212
I always use the "run" script for "All distributions (built on EL5 and therefore do not require recent system libraries)" from the VirtualBox website. I've found it works very nicely.
 
Old 09-09-2017, 11:46 PM   #11
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, CentOS, Ubuntu MATE
Posts: 338

Original Poster
Rep: Reputation: Disabled
Quote:
I always use the "run" script for "All distributions
In my original post I politely mentioned I was not interested in a discussion about using the run script.
 
Old 09-09-2017, 11:51 PM   #12
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 1,207

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Maybe changing the title to "Building from sources (SBo) the VirtualBox 5.1 on 14.2" would help our brave fellows to understand better your intentions and/or objectives?

You know, the descriptive/verbose titles are the best...

BTW, you are kind to explain your reason to build it from sources? I think that this question is on topic...

Last edited by Darth Vader; 09-09-2017 at 11:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Issues activating virtualbox within my linux fedora 25 virtualbox on my windows device. QuantumChaos Linux - Virtualization and Cloud 5 02-21-2017 08:31 AM
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-07-2012 11:28 PM
virtualbox or virtualbox ose manuleka Linux - Software 2 06-11-2009 02:56 PM
virtualbox j d Linux - Software 1 10-23-2007 07:57 PM
VirtualBox jestinjoy Linux - Newbie 5 09-08-2007 06:37 PM

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

All times are GMT -5. The time now is 10:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration