VB build from scratch: missing piece for linker

Discussions related to using the OSE version of VirtualBox.

VB build from scratch: missing piece for linker

Postby MichaelJxx » 20. Mar 2015, 23:59

I’m attempting to install VirtualBox from source on CentOS 7.0 running in VM. I’m using latest source available, 4.3.26. Following the list from build instruction page of needed packages for yum install I found 2 missing in yum repositories: SDL_ttf-devel and wine-core. I found them in RPM and prerequisites:
SDL_ttf-2.0.11-1.x86_64.rpm
SDL_ttf-devel-2.0.11-1.x86_64.rpm
wine-filesystem-1.7.22-1.el7.noarch.rpm
nss-mdns-0.10-12.el7.x86_64.rpm
wine-core-1.7.22-1.el7.x86_64.rpm => missing key, found on sks-keyservers
Than a missing header gnu/stubs-32.h I found in glibc-devel.i686. Somewhere around this point every run of configure generated these errors:
libGL error: failed to load driver: vboxvideo
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
I found that I can ignore them. But configure was failing on checking 32 bit support:
using the following command line:
gcc -m32 -O -Wall -o /home/<user>/Downloads/VirtualBox-4.3.26/.tmp_out /home/<user>/Downloads/VirtualBox-4.3.26/.tmp_src.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.8.2/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
I have x86_64 and i686 version of glibc packages installed, 7 at all. What am I missing?
MichaelJxx
 
Posts: 11
Joined: 22. Feb 2015, 01:09

Re: VB build from scratch: missing piece for linker

Postby MichaelJxx » 21. Mar 2015, 18:42

Found the missing piece: libstdc++-devel.i686.
Now I'm stuck on:
** makeself (variable makeself) not found!
Hm.. it is there, it is initialized..
MichaelJxx
 
Posts: 11
Joined: 22. Feb 2015, 01:09

Re: VB build from scratch: missing piece for linker

Postby MichaelJxx » 21. Mar 2015, 19:24

Got makeself. Configure completed.
MichaelJxx
 
Posts: 11
Joined: 22. Feb 2015, 01:09


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest