xorg-server on Macports (works with Tiger)

William Davis frstan at bellsouth.net
Wed Dec 10 13:30:35 PST 2008


On Dec 10, 2008, at 5:16 AM, Jeremy Huddleston wrote:

> I've been spending some time these past few weeks updating the x.org  
> ports in Macports as well as pushing patches to get the latest X.org  
> bits building on Tiger.  I'm proud to announce that the latest  
> Xquartz code can now be built using macports (even on Tiger!!!).
>
> To test this out, just do:
>
> port install xorg-server # if you don't get version 1.4.2_apple27_2,  
> resync in a bit and try again
>
> then you can run the resulting /Applications/MacPorts/X11.app
>
> For now, you will still need your existing X11 installation (there  
> are no xorg font packages in portage yet, so I'm using fonts out of $ 
> {x11prefix}), but I hope to start adding font packages in the near  
> future to eliminate this dependency.
>

xorg-server failed to build for me with this error:

/bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 - 
DHAVE_CONFIG_H -I. -I../../include -I../../hw/xfree86/os-support - 
I../../hw/xfree86/os-support/bus -I../../hw/xfree86/common -I../../hw/ 
xfree86/dri -I../../mi  -I/opt/local/include -I/opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/include -I/opt/local/include -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer- 
arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations - 
Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN - 
DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/ 
freetype2 -I/opt/local/include/pixman-1   -I../../include -I../../ 
include -I../../Xext  -I../../damageext -I../../xfixes -I../../Xi - 
I../../mi -I../../miext/shadow  -I../../miext/damage -I../../render - 
I../../randr -I../../fb -I/opt/local/include -I/opt/local/include -I/ 
opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/src/mesa/glapi -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/src/mesa/main -DXFree86Server  -O2 - 
DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT  
glcontextmodes.lo -MD -MP -MF .deps/glcontextmodes.Tpo -c -o  
glcontextmodes.lo glcontextmodes.c
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../include -I../../hw/ 
xfree86/os-support -I../../hw/xfree86/os-support/bus -I../../hw/ 
xfree86/common -I../../hw/xfree86/dri -I../../mi -I/opt/local/include - 
I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/include -I/opt/local/include -I/opt/local/var/ 
macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer- 
arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations - 
Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN - 
DHAS_STICKY_DIR_BIT -I/opt/local/include -I/opt/local/include/ 
freetype2 -I/opt/local/include/pixman-1 -I../../include -I../../ 
include -I../../Xext -I../../damageext -I../../xfixes -I../../Xi - 
I../../mi -I../../miext/shadow -I../../miext/damage -I../../render - 
I../../randr -I../../fb -I/opt/local/include -I/opt/local/include -I/ 
opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/src/mesa/glapi -I/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27/../Mesa-7.0.4/src/mesa/main -DXFree86Server -O2 - 
DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT  
glcontextmodes.lo -MD -MP -MF .deps/glcontextmodes.Tpo -c  
glcontextmodes.c  -fno-common -DPIC -o .libs/glcontextmodes.o
glcontextmodes.c: In function '_gl_copy_visual_to_context_mode':
glcontextmodes.c:193: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:194: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:196: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:197: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:200: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c: In function '_gl_get_context_mode_data':
glcontextmodes.c:333: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:336: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:339: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:342: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:345: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c: In function '_gl_context_modes_create':
glcontextmodes.c:417: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:418: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:419: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:420: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:421: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c: In function '_gl_context_modes_are_same':
glcontextmodes.c:535: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:535: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:536: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:536: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:537: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:537: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:538: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:538: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:539: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c:539: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
make[2]: *** [glcontextmodes.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_x11_xorg-server/work/xorg-server-1.4.2- 
apple27" && make all " returned error 2
Command output: glcontextmodes.c:194: error: 'struct  
__GLcontextModesRec' has no member named 'bindToTextureRgba'
glcontextmodes.c:196: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:197: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:200: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c: In function '_gl_get_context_mode_data':
glcontextmodes.c:333: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:336: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:339: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:342: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:345: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c: In function '_gl_context_modes_create':
glcontextmodes.c:417: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:418: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:419: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:420: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:421: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c: In function '_gl_context_modes_are_same':
glcontextmodes.c:535: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:535: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgb'
glcontextmodes.c:536: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:536: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureRgba'
glcontextmodes.c:537: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:537: error: 'struct __GLcontextModesRec' has no  
member named 'bindToMipmapTexture'
glcontextmodes.c:538: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:538: error: 'struct __GLcontextModesRec' has no  
member named 'bindToTextureTargets'
glcontextmodes.c:539: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
glcontextmodes.c:539: error: 'struct __GLcontextModesRec' has no  
member named 'yInverted'
make[2]: *** [glcontextmodes.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Warning: the following items did not execute (for xorg-server):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install
Error: Status 1 encountered during processing.
macintosh:~ frstan$


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.5 Darwin 9.5.0
XQuartz 2.3.2_rc3 (xorg-server 1.4.2-apple27)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non



More information about the macports-dev mailing list