Page 1 of 1

How build debian/ubuntu packages with custom kernel

Posted: 8. Mar 2020, 00:56
by H4r0un
Hello all,

I searched everywhere on the net but Im unable to find a reponse to my problem . I built custom kernel for ubuntu trusty & xenial and now virtualbox is not working anymore, the vbox modules are not handled by the kernel.

Therefore I tried to rebuild virtualbox from the sources got from the website but I got an error with qt5

Code: Select all

cd /usr/src/VirtualBox-6.1.4 && ./configure --odir=/usr/src/VirtualBox-6.1.4/debian  --ose       --disable-extpack
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 5.4.0, OK.
Checking for Open Watcom: 
  ** Open Watcom was not found, using alternative BIOS sources!
Checking for iasl: found version 20160108, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.3, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.1.0g  2 Nov 2017, OK.
Checking for libcurl: found version 7.58.0, OK.
Checking for libvpx: found version 1.5.0, OK.
Checking for libopus: found, OK.
Checking for zlib: found version 1.2.11, OK.
Checking for libpng: found version 1.2.54, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: found (inactive), OK.
Checking for Qt5: 
  ** qt5 not found!
I installed all the packages qt5 I found the ubuntu repository, added the variables D_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH ./configure but same ...

Also, I see in the debian/control the the packages are virtualbox virtualbox-ose virtualbox-ose-dbg, impossible to find the standard packages availables in debian/ubuntu (virtualbox, virtualbox-dkms, virtualbox-qt). I downloaded the sources packages to get the rights debian/control but Im afraid the dependencies won't be correct , I don't know...

Please help :)

Re: How build debian/ubuntu packages with custom kernel

Posted: 12. Mar 2020, 22:37
by H4r0un
up up up :)

Re: How build debian/ubuntu packages with custom kernel

Posted: 14. Mar 2020, 09:41
by H4r0un
Noboy has needed to build virtualbox-dkms & qt ?

Re: How build debian/ubuntu packages with custom kernel

Posted: 16. Mar 2020, 19:10
by scottgus1
Probably not, at least that knows how to do it & reads this forum. The "Virutalbox OSE" subforum might be a better place to post,