erstazi wrote:
On 06/01/2010 02:35 PM, Joe Auty wrote:
I came up with this set of instructions mostly for myself, but feel free to correct anything that is mistaken here, pass them on, whatever:

http://www.netmusician.org/2010/06/compilevirtualboxose/
Instead of your current instructions you could just do:

cd VirtualBoxSources;
vi Config.kmk
Uncomment #VBOX_WITH_VNC = 1 to just VBOX_WITH_VNC = 1

save and close and then run:

dpkg-buildpackage -b -us -uc
dpkg -i virtualbox_packagename.deb

This would eliminate your whole process there and it automatically modprobe's all the modules.

Interesting, I've never done that before...

What's with requiring java2-runtime and gsoap though? Is that normal?

# dpkg-buildpackage -b -us -uc
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package virtualbox-ose
dpkg-buildpackage: source version 3.2.0
dpkg-buildpackage: source changed by Oracle Corporation <[email protected]>
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: java2-runtime gsoap
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
#

Then for healthy concern, I wouldn't give /dev/vboxdrv read/write access for the current user but instead do:

sudo usermod -G vboxusers -a `whoami`

Great! I've modified my instructions to include this...

This adds the current user (non-root) to the vboxusers group which owns vboxdrv and other things.

Another benefit of building the package is that the vbox devs provide the debian build process and also, the binaries are in the correct paths, not in out/linux.x86/release/bin but like in /usr/bin/, for instance.

Just a thought.
  
I'd love to get your directions working, I'll play around with this some more... The above questions demonstrate my lack of familiarity with rolling my own deb files!



------------------------------------------------------------------------------

  

_______________________________________________ VBox-users-community mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vbox-users-community


--
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks.
www.netmusician.org
[email protected]

------------------------------------------------------------------------------

_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to