Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#32399 closed defect (fixed)

LibVNCServer 0.9.8.2 build fails

Reported by: pixilla (Bradley Giesbrecht) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: LibVNCServer

Description

Mac OS X 10.6.8, MacPorts Trunk

While upgrading LibVNCServer version 0.9.8.1 to 0.9.8.2, build errors finding X11.

$ sudo port -v build LibVNCServer
configure:
...
checking for X... libraries /usr/X11/lib, headers 
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XGetImage in -lX11... yes
...

build: errors
...
ld: library not found for -lX11
...

$ sudo port -v build LibVNCServer configure.args='--x-includes=/usr/X11/include/X11 --x-libraries=/usr/X11/lib/X11'
configure:
...
checking for X... libraries /usr/X11/lib/X11, headers /usr/X11/include/X11
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XGetImage in -lX11... no
...

build: completes

Change History (5)

comment:1 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: ryandesign@… added
Port: LibVNCServer added

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

We do not want to use /usr/X11. If X11 is needed, we want to use MacPorts ports. On my system it automatically finds X11 in /opt/local.

It looks like it's using X11 to build something called SDLvncviewer, but that doesn't end up getting installed. And LibVNCServer doesn't declare dependencies on libsdl or any X11 ports. Maybe I just try to disable all of this.

comment:4 in reply to:  3 ; Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

Maybe I just try to disable all of this.

r87768.

comment:5 in reply to:  4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Replying to ryandesign@…:

Replying to ryandesign@…:

Maybe I just try to disable all of this.

r87768.

Thanks.

Note: See TracTickets for help on using tickets.