Re: Problems compiling xorg-server-1.3.0-apple10
Re: Problems compiling xorg-server-1.3.0-apple10
- Subject: Re: Problems compiling xorg-server-1.3.0-apple10
- From: Jeremy Huddleston <email@hidden>
- Date: Sat, 23 Feb 2008 11:22:30 -0800
Do you have macports or fink? It looks like you're pulling in some
old headers. Check out:
http://svn.macosforge.org/repository/xquartz/trunk/compile-xserver.sh
That shows how I sanitize my environment when compiling.
On Feb 23, 2008, at 10:48, Jaka Jančar wrote:
Hi!
I'm trying to compile Xquartz on 10.5.2, but I am getting the
following error:
Making all in randr
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -DHAVE_DIX_CONFIG_H -D_BSD_SOURCE -DHAS_FCHOWN -
DHAS_STICKY_DIR_BIT -I/usr/X11/include/pixman-1 -I/usr/X11/include/
freetype2 -I../include -I../include -I../Xext -I../composite -I../
damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/
damage -I../render -I../randr -I../fb -arch i386 -pipe -
DROOTLESS_WORKAROUND -DNO_ALLOCA -c -o mirandr.lo mirandr.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -
D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/X11/include/
pixman-1 -I/usr/X11/include/freetype2 -I../include -I../include -I../
Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../
miext/shadow -I../miext/damage -I../render -I../randr -I../fb -arch
i386 -pipe -DROOTLESS_WORKAROUND -DNO_ALLOCA -c mirandr.c -fno-
common -DPIC -o .libs/mirandr.o
In file included from mirandr.c:34:
randrstr.h:64: error: 'RRNumberRequests' undeclared here (not in a
function)
randrstr.h:80: error: syntax error before 'xRRModeInfo'
randrstr.h:80: warning: no semicolon at end of struct or union
randrstr.h:83: error: syntax error before '}' token
randrstr.h:441: error: syntax error before '*' token
randrstr.h:611: error: syntax error before '*' token
mirandr.c: In function 'miRandRInit':
mirandr.c:107: error: 'xRRModeInfo' undeclared (first use in this
function)
mirandr.c:107: error: (Each undeclared identifier is reported only
once
mirandr.c:107: error: for each function it appears in.)
mirandr.c:107: error: syntax error before 'modeInfo'
mirandr.c:127: error: 'modeInfo' undeclared (first use in this
function)
mirandr.c:149: error: 'RR_Connected' undeclared (first use in this
function)
make[1]: *** [mirandr.lo] Error 1
make: *** [all-recursive] Error 1
I have installed http://xquartz.macosforge.org/downloads/
X11-2.1.4.pkg.
Here is exactly what I'm doing:
--
curl -O http://xquartz.macosforge.org/downloads/xorg-server-1.3.0-apple10.tar.bz2
curl -O http://surfnet.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-6.5.2.tar.bz2
tar -jxf MesaLib-6.5.2.tar.bz2
tar -jxf xorg-server-1.3.0-apple10.tar.bz2
cd xorg-server-1.3.0-apple10
export ACLOCAL="aclocal -I /usr/X11/share/aclocal"
export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig
export CFLAGS="-arch i386 -pipe"
export LDFLAGS="-arch i386 -pipe"
./configure --prefix=/Users/jaka/Temp/x/x_install_root --with-mesa-
source=`pwd`/../Mesa-6.5.2 --disable-dependency-tracking
make
--
Am I missing something?
Regards,
Jaka Jancar
Slovenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden