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

Hi,

I am facing troubles during configure step.

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

Code:
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:
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

Code:
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

Code:
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

Does anybody have idea what could be wrong?

Thank you very much!
 
But current VirtualBox is 4.2.12 and in ports we have 4.2.6 (is it really so important to me?). I need to know why such error.

But anyway, thanks for reply.
 
Thanks :) guys, I am running portsnap fetch ;)

Thanks for hint about files directory... I will have a look into it.
 
Back
Top