[MacPorts] #31734: Error configuring virtualbox-4.1.4_0+vde2+vnc, libvncserver not found

MacPorts noreply at macports.org
Sun Oct 23 23:39:20 PDT 2011


#31734: Error configuring virtualbox-4.1.4_0+vde2+vnc, libvncserver not found
--------------------------+-------------------------------------------------
 Reporter:  jk@…          |       Owner:  royliu@…           
     Type:  defect        |      Status:  new                
 Priority:  Normal        |   Milestone:                     
Component:  ports         |     Version:  2.0.3              
 Keywords:                |        Port:  virtualbox         
--------------------------+-------------------------------------------------

Comment(by jk@…):

 Replying to [comment:1 royliu@…]:
 > What does your VirtualBox `configure.log` say?  Does it provide more
 information on top of MacPorts' `main.log`?

 configure.log:
 {{{
 ***** Checking libvncserver *****
 compiling the following source file:
 #include <cstdio>
 #include <rfb/rfbconfig.h>

 extern "C" int main()
 {
   const char* v=LIBVNCSERVER_VERSION;
   unsigned int major = 0, minor = 0, micro = 0;

   for (; *v !='.' && *v != '\0'; v++) major = major*10 + *v-'0';
   if (*v == '.') v++;
   for (; *v !='.' && *v != '\0'; v++) minor = minor*10 + *v-'0';
   if (*v == '.') v++;
   for (; *v !='.' && *v != '\0'; v++) micro = micro*10 + *v-'0';

   printf("found version %s", LIBVNCSERVER_PACKAGE_VERSION);
   if (major*10000 + minor*100 + micro >= 907)
   {
     printf(", OK.\n");
     return 0;
   }
   else
   {
     printf(", expected version 0.9.7 or higher\n");
     return 1;
   }
 }
 using the following command line:
 /Developer/usr/bin/clang++ -mmacosx-version-min=10.6 -isysroot
 /Developer/SDKs/MacOSX10.6.sdk
 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -g -O -Wall -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.4_OSE/.tmp_out
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.4_OSE/.tmp_src.cc
 "-lvncserver "
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.4_OSE/.tmp_src.cc:2:10:
 fatal error: 'rfb/rfbconfig.h' file not found
 #include <rfb/rfbconfig.h>
          ^
 1 error generated.
 }}}
 >Also, can you check for LibVNCServer headers?

 {{{
 ~$ ls /opt/local/include/rfb/
 keysym.h    rfb.h       rfbclient.h rfbconfig.h rfbint.h    rfbproto.h
 rfbregion.h
 }}}
 Seems like the include/lib path isn't set properly.
 -L/opt/local/lib -I/opt/local/include is missing.

-- 
Ticket URL: <https://trac.macports.org/ticket/31734#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list