please help me Build VirtualBox 5.1.20 on Ubuntu

Discussions related to using the OSE version of VirtualBox.
Post Reply
chocolate7781
Posts: 6
Joined: 25. Apr 2017, 09:26

please help me Build VirtualBox 5.1.20 on Ubuntu

Post by chocolate7781 »

I wanted to build VirtualBox on Mac Seirra
but i guess there is no way to build VirtualBox on max Seirra

so i tried 3 ways docker, Vmfusion VirtualBox and on Ubuntu 12.04 14.04 16.04
i download from Ubuntu from
releases . ubuntu . com /14.04/
releases . ubuntu . com /12.04/
and used Desktop Version / Server Version Both

when I tried to install it usually failed

Code: Select all

apt-get install gcc g++ bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev \
                libsdl1.2-dev libxcursor-dev libasound2-dev libstdc++5 \
                libhal-dev libpulse-dev libxml2-dev libxslt1-dev \
                python-dev libqt4-dev qt4-dev-tools libcap-dev \
                libxmu-dev mesa-common-dev libglu1-mesa-dev \
                linux-kernel-headers libcurl4-openssl-dev libpam0g-dev \
                libxrandr-dev libxinerama-dev libqt4-opengl-dev makeself \
                libdevmapper-dev default-jdk python-central \
                texlive-latex-base \
                texlive-latex-extra texlive-latex-recommended \
                texlive-fonts-extra texlive-fonts-recommended
this is from virtual box master build from virtual box main page
can't install "libhal-dev", "python-central"

and when i treid to do

Code: Select all

./configure --disable-hardening
it failed

Code: Select all

 ***Open Watcom was not found ***

Code: Select all

 Checking for libvpx:
          vpx not found at -lvpx or vpx headers not found 
          checj the file /home/eun/VirtualBox-5.1.20/configure.log for detailed error information
if there are any ways to build VirtualBox
i don't care if it any Version
tell me what ubuntu Version is needed to build
and what Virtualbox version is needed to build and downloads

it has been three days help me...... please
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: please help me Build VirtualBox 5.1.20 on Ubuntu

Post by mpack »

If you want help on how to build the Ubuntu fork you'll have to ask on the Ubuntu forums.

For building from the VirtualBox OSE sources see the Build Instructions Wiki.

And btw according to the date stamp on your post, it has been 2 hours not 3 days.
chocolate7781
Posts: 6
Joined: 25. Apr 2017, 09:26

Re: please help me Build VirtualBox 5.1.20 on Ubuntu

Post by chocolate7781 »

I meant i started building Virtualbox 3days ago
not this post. sorry
and i saw Building instruction wiki
but it doesn't work
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: please help me Build VirtualBox 5.1.20 on Ubuntu

Post by Perryg »

You need to install libvpx-dev with apt-get and openwatcom. http://www.openwatcom.org/download.php ( Version 1.90 Installer for C/C++ ) ( follow their instructions )

Keep in mind that a Linux build will not install on a Mac or Windows. Builds are specific including the bit-count.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: please help me Build VirtualBox 5.1.20 on Ubuntu

Post by michaln »

chocolate7781 wrote:but it doesn't work
As a useful contribution, the above doesn't work either.
RicV
Posts: 96
Joined: 25. Aug 2015, 17:58
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux *.*, Win*
Location: Lake Tahoe, California

Re: please help me Build VirtualBox 5.1.20 on Ubuntu

Post by RicV »

I have successfully built 5.1.18 on a fresh Ubuntu 16 host installation, after installing the following packages:

Code: Select all

dkms iasl xsltproc libxml2-dev libidl-dev libcurl4-openssl-dev libssl-dev libvpx-dev libpng12-dev libsdl1.2-dev libxcursor-dev libxinerama-dev libxrandr-dev libxmu-dev qt5-default python-dev libdevmapper-dev libcap-dev gcc-multilib makeself libpam0g-dev libqt5x11extras5-dev default-jdk texlive-full qttools5-dev-tools
I have successfully build many 5.0.x versions on fresh Ubuntu 14 host installation, after installing the following packages:

Code: Select all

dkms build-essential linux-headers-$(uname -r) gcc g++ bcc iasl xsltproc uuid-dev zlib1g-dev libidl-dev libsdl1.2-dev libxcursor-dev libasound2-dev libpulse-dev libxml2-dev libxslt1-dev libqt4-dev qt4-dev-tools libcap-dev libxmu-dev mesa-common-dev libglu1-mesa-dev libcurl4-openssl-dev  libpam0g-dev libqt4-opengl-dev libc6-dev-i386 lib32gcc1 gcc-multilib lib32stdc++6 g++-multilib libstdc++6 libxinerama-dev libxrandr-dev makeself default-jdk texlive-full curl gsoap yasm subversion python-dev java-common doxygen libgtk2.0-dev libdevmapper-dev libvpx-dev libssl-dev libvncserver0 libvncserver-dev
In neither case did I need to add any switches to the configure script.
RicV
Posts: 96
Joined: 25. Aug 2015, 17:58
Primary OS: Ubuntu other
VBox Version: OSE self-compiled
Guest OSses: Linux *.*, Win*
Location: Lake Tahoe, California

Re: please help me Build VirtualBox 5.1.20 on Ubuntu

Post by RicV »

BTW, when I first started working with VirtualBox, I was confounded by Watcom (among other things). But I found a comment in the following thread saying that Watcom was not necessary, so I have ignored it ever since.

https://www.virtualbox.org/ticket/12011
Post Reply