[vbox-dev] VirtualBox-5.0.16 fails to compile - linux 64-bit
John Frankish
john.frankish at outlook.com
Tue Mar 29 09:01:57 UTC 2016
On Saturday 26 March 2016 16:47:00 John Frankish wrote:
> > Compiling VirtualBox-5.0.16 using linux 64-bit initially fails with
> > (despite using the patch from ticket #7763):
> >
> > kmk all
> > ...
> > :18: fatal error: glib.h: No such file or directory
> >
> > compilation terminated. [glib.h is under /usr/local/include/glib-2.0]
> >
> The patch from this ticket will not work.
> Neither SDK_VBOX_LIBGLIB2_INCS nor SDK_VBOX_LIBGLIB2_LIBS are evaluated. On Linux systems,
> glib2.0-dev is normally installed as a dependency of libIDL-dev (which is detected in configure / check_libidl()).
>
> You might want to set
>
> VBOX_PATH_GLIB = /usr/local
>
> in your LocalConfig.kmk.
>
Thanks for the suggestion, but this doesn't change anything - as per the configure output, everything prior to this looked OK anyway:
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 5.2.0, OK.
Checking for Open Watcom:
** Open Watcom was not found!
Checking for iasl: found version 20160318, OK.
Checking for xslt: found, OK.
Checking for mkisofs: found mkisofs 3.01a26 (x86_64-unknown-linux-gnu) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.2, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.0.2d 9 Jul 2015, OK.
Checking for libcurl: found version 7.33.0, OK.
Checking for libvpx: found version 1.2.0, OK.
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.6.13, 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 Qt4: found version 4.8.6, OK.
Checking for Qt4 devtools: found version 4.8.6, OK.
Checking for Python support: found version 2.7.10, OK.
Checking for PulseAudio: found version 5.0.0 API version 12, OK.
Checking for static stc++ library: found, OK.
Checking for ALSA: found version 1.1.0, OK.
Checking for libdevmapper: found version 1.02.83 (2013-11-13), OK.
Checking for libcap library: found, OK.
Checking for compiler.h: compiler.h not found, OK.
Checking for makeself: found version 2.2.0, OK.
Successfully generated '/usr/src/VirtualBox-5.0.16/AutoConfig.kmk'
>
> sorry, I have no idea either. You should run
>
> kmk KBUILD_VERBOSE=2 -j1
>
> and check the command line.
>
I tried this:
$ sudo ln -s /usr/local/include/glib-2.0/* /usr/local/include
$ sudo ln -s /usr/local/lib/glib-2.0/include/* /usr/local/include
$ sudo ln -s /usr/local/include/libIDL-2.0/libIDL /use/local/include
$ kmk KBUILD_VERBOSE=2 -j1
..but the build fails with a bunch of undefined references to various libIDL functions.
Build logs attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtualbox_log_1.tar.xz
Type: application/octet-stream
Size: 34188 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160329/5ee2bf67/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtualbox_log_2.tar.xz
Type: application/octet-stream
Size: 5036 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160329/5ee2bf67/attachment-0003.obj
More information about the vbox-dev
mailing list