Showing posts with label compile. Show all posts
Showing posts with label compile. Show all posts

Sep 22, 2015

Fedora 22 VirtualBox

Hi,

I have installed the latest fedora 22 and from some reason VirtualBox gave me tons of errors.

Looked all over the place and didn't find any good solution till now. So i wanted to share this with you to save you time, hopefully that you are seeing before all the searches i already did.

This is the required things to do:
This was my error


WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.1.6-201.fc22.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.

 First , try to run this, with or without sudo
"/etc/init.d/vboxdrv setup"

if it went ok -> you are all good, probably virtualbox will run ok for you, for me it didn't helped.

If it didn't went ok, go over here :
I got this error
Stopping VirtualBox kernel modules                         [  OK  ]
Recompiling VirtualBox kernel modules/etc/init.d/vboxdrv: line 335: /var/log/vbox-install.log: Permission denied
                                                           [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)


So i did as they say : "cat /var/log/vbox-install.log"
And got this:
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

So i did the following:
"sudo usermod -a -G vboxusers username" (you will replace username with your name of the user)
Then
"su -"
Then
" KERN_DIR=/usr/src/kernels/username" (replace username with your name of the user)
"export KERN_DIR"
"dnf install open-vm-tools"
"dnf -y install kernel-devel kernel-headers"
"sudo /etc/init.d/vboxdrv setup" -> this should be running ok now
You should receive something like me
Stopping VirtualBox kernel modules                         [  OK  ]
Recompiling VirtualBox kernel modules                      [  OK  ]
Starting VirtualBox kernel modules                         [  OK  ]


Good luck and hopefully that i helped a bit,

Dor

Nov 23, 2010

bad major version at offset=6

Hi,
Mainly happens or appears when you have a different java versions installed in your IDE / Server.
Try to be consist with the versions you are working with or compiling with or working in the server you have.
Bye,
Dor

gwt compile speed

Hi,
Wondered if there is a solution for gwt permutation compile time, some way to speed it up, because 12 permutation compilation takes time, So there is one,
by adding the following option inside the compiler arguments:
"-localWorkers 2"
The "2" is the number of cores you got on the compiling computer and can be changed.
Hoped i helped,
Dor