I'm something a newbie when it comes to compiling software. Here's my ultimate goal: To build the 3.0.0 OSE edition on Ubuntu, make it a tarball, and be able to move it to another machine and install it there. So I'm compiling the binaries/install on one machine, copying the files to another and installing it there.
I've followed the "build instructions" but am still having issues. I installed all the required software and was able to run the ./configure (not hardened) and source ./env.sh commands without issue. I also ran kmk all and it worked just fine as well. This left me with the src and release directories. I tried just copying the release directory over, but that didn't work -- I couldn't make install it.
What files do I need to move over? How should I be doing this?
Thanks!!
--Nathan
Compile OSE 3.0.0 for redistribution -- HOW??
-
- Posts: 81
- Joined: 6. Apr 2009, 16:19
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux, BSD
- Location: Brazil - Aracaju/SE
Re: Compile OSE 3.0.0 for redistribution -- HOW??
For ubuntu guests you best bet is to use the following command:
This will build all the source without any intervantion need on your side. In the end you will have a .deb file on the parent folder.
You can than install this with
Move the .deb to another machine and repeat the dpkg step.
Code: Select all
dpkg-buildpackage -b -us -uc
You can than install this with
Code: Select all
dpkg -i virtualbox-ose_*.deb
-
- Posts: 3
- Joined: 7. Jul 2009, 19:07
- Primary OS: Ubuntu 8.10
- VBox Version: OSE Debian
- Guest OSses: Vista Business
Re: Compile OSE 3.0.0 for redistribution -- HOW??
Great idea! But, I'm still a newbie, so between what steps do I run the dpkg command? And where in the command do I specify the folder/binaries/source (which?) that it's packaging?
1) Get source
2) ./configure
3) source ./env.sh
4) kmk all
5) make
6) make install
THANKS!
1) Get source
2) ./configure
3) source ./env.sh
4) kmk all
5) make
6) make install
THANKS!
-
- Posts: 81
- Joined: 6. Apr 2009, 16:19
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux, BSD
- Location: Brazil - Aracaju/SE
Re: Compile OSE 3.0.0 for redistribution -- HOW??
In some quick steps:
1) Get the source
2) Uncompress the source
3) cd into the source dir
4) dpkg-buildpackage -b -us -uc
5) cd ..
6) dpkg -i virtualbox-ose*.deb
And you are done
Since you already downloaded everything you need to compile virtualbox you should get no problems when running dpkg-buildpackage
1) Get the source
2) Uncompress the source
3) cd into the source dir
4) dpkg-buildpackage -b -us -uc
5) cd ..
6) dpkg -i virtualbox-ose*.deb
And you are done

Since you already downloaded everything you need to compile virtualbox you should get no problems when running dpkg-buildpackage
Last edited by MKhaos7 on 9. Jul 2009, 02:11, edited 1 time in total.
-
- Posts: 3
- Joined: 7. Jul 2009, 19:07
- Primary OS: Ubuntu 8.10
- VBox Version: OSE Debian
- Guest OSses: Vista Business
Re: Compile OSE 3.0.0 for redistribution -- HOW??
That worked beautifully! I did have to install a few more dependencies, but after those were in place, I was able to create the package, move it, and install it. Thanks!