Page 1 of 1

compilling VirtualBox-4.2.12 on FreeBSD 9.1-RELEASE-p3 amd64

Posted: 3. May 2013, 10:37
by mipam
Hi,

I am facing troubles during configure step.

Code: Select all

root@virt:/usr/tmp/VirtualBox-4.2.12 # sh configure --enable-vnc

Code: Select all

root@virt:/usr/tmp/VirtualBox-4.2.12 # tail /usr/tmp/VirtualBox-4.2.12/configure.log
using the following command line:
g++  -g -O -Wall -o /usr/tmp/VirtualBox-4.2.12/.tmp_out /usr/tmp/VirtualBox-4.2.12/.tmp_src.cc "-lvncserver "
/usr/tmp/VirtualBox-4.2.12/.tmp_src.cc:1: error: expected constructor, destructor, or type conversion before '<' token

Code: Select all

root@virt:/usr/tmp/VirtualBox-4.2.12 # pkg_info | grep vnc
libvncserver-0.9.9_4 Provide an easy API to write one's own vnc server
root@virt:/usr/tmp/VirtualBox-4.2.12 # pkg_info | grep jpeg
libjpeg-turbo-1.2.1 SIMD-accelerated JPEG codec which provides both the libjpeg

root@virt:/usr/tmp/VirtualBox-4.2.12 # locate libvncserver|grep -vE "ports|pkg"
/usr/local/bin/libvncserver-config
/usr/local/lib/libvncserver.a
/usr/local/lib/libvncserver.la
/usr/local/lib/libvncserver.so
/usr/local/lib/libvncserver.so.0

root@virt:/usr/tmp/VirtualBox-4.2.12 # ll /usr/local/include/rfb/
total 244
-r--r--r--  1 root  wheel  24439 May  3 09:09 default8x16.h
-r--r--r--  1 root  wheel  69191 May  3 09:09 keysym.h
-r--r--r--  1 root  wheel  49144 May  3 09:09 rfb.h
-r--r--r--  1 root  wheel  25249 May  3 09:09 rfbclient.h
-r--r--r--  1 root  wheel  16281 May  3 09:09 rfbconfig.h
-r--r--r--  1 root  wheel    554 May  3 09:09 rfbint.h
-r--r--r--  1 root  wheel  51878 May  3 09:09 rfbproto.h
-r--r--r--  1 root  wheel   1875 May  3 09:09 rfbregion.h
Do anybody have idea what could be wrong?

Thank you very much!

Re: compilling VirtualBox-4.2.12 on FreeBSD 9.1-RELEASE-p3 a

Posted: 8. Jul 2013, 12:13
by Paul-LKW
It seems your libvncserver version is out, please try to upgrade it first.
Also why your do not compile it using the port tree, /usr/ports/emulators/virtualbox-ose ?