LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install and set up Novell Xgl graphics subsystem? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-and-set-up-novell-xgl-graphics-subsystem-413013/)

Linux.tar.gz 02-08-2006 10:13 AM

How to install and set up Novell Xgl graphics subsystem?
 
http://www.novell.com/linux/xglrelease/

Go to post #37 in order to grab the almost working script. It intend to be all distro compatible but i tested it only on Slackware. I succeeded in all BUT the last step. I don't have time to continue it so feel free to make it 100% successful.

Linux.tar.gz 02-09-2006 11:35 AM

When i use ./configure --enable-xgl --enable-xglx --enable-xegl
i got:

checking Whether to build pdf documentation... yes
checking for LBXUTIL... Package lbxutil was not found in the pkg-config search path.
Perhaps you should add the directory containing `lbxutil.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lbxutil' found
configure: error: Package requirements (lbxutil) were not met:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LBXUTIL_CFLAGS
and LBXUTIL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

-----------------------------------------------------------

And when i use ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig --enable-xgl --enable-xglx --enable-xegl
i got:

checking for LBXUTIL... yes
checking for DRIPROTO... yes
checking for LIBDRM... Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
configure: error: Package requirements (libdrm) were not met:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBDRM_CFLAGS
and LIBDRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

---------------------------------------------------------
---------------------------------------------------------
Edit:
Now i use ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig --enable-xgl --enable-xglx --enable-xegl --disable-dri
because drm seems to be a part of dri and i don't use it now. So i got:

checking for LBXUTIL... yes
checking for XPRINTPROTO... Package xau was not found in the pkg-config search path.
Perhaps you should add the directory containing `xau.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xau', required by 'PrintProto', not found
checking for XDMCP... Package xdmcp was not found in the pkg-config search path.
Perhaps you should add the directory containing `xdmcp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xdmcp' found
checking for XSERVERCFLAGS... Package xtrans was not found in the pkg-config search path.
Perhaps you should add the directory containing `xtrans.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xtrans' found
configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidm
deproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto record
roto resourceproto xineramaproto evieproto xkbfile xfont xau fontenc) were not met:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

----------------------------------------------------------
----------------------------------------------------------
EDIT: ok i give up. Seems i have to install all X11 modules manually. I'll take a look at slackbuild scripts. If you have ideas...

Haystack 02-09-2006 09:06 PM

Why don't you take a look at

http://www.hboeck.de/

and (if you want to use glxcompmgr instead of compiz)

http://forums.gentoo.org/viewtopic-t...c9fa26e836d089

...
I succesfully installed xgl on a Gentoo/KDE ATI Radeon 9200 system... , emerging compiz results in a "No package 'libstartup-notification-1.0' found" error.

Code:


checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COMPIZ... configure: error: Package requirements (libpng xcomposite xfixes xdamage xrandr ice sm libstartup-notification-1.0 >= 0.7) were not met:

No package 'libstartup-notification-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables COMPIZ_CFLAGS
and COMPIZ_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! ERROR: x11-wm/compiz-20060209 failed.
Call stack:
ebuild.sh, line 1894: Called dyn_compile
ebuild.sh, line 941: Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

Maybe you know a solution? Googling for that libstartup-notification package results in lots of pages about gnome... maybe it just doesn't work for KDE?

Linux.tar.gz 02-09-2006 10:05 PM

Libstartup-notification sounds like a gnome package but i found this:
http://www.freedesktop.org/software/...tion/releases/

Thx for ideas. I'll look at that.

EDIT--------------
Found that too: http://www.freedesktop.org/wiki/Software_2fXgl

Linux.tar.gz 02-13-2006 09:40 PM

I wrote a new script but i'm blocked at the end:
Quote:

#!/bin/sh

touch /usr/share/aclocal/dirlist
echo "/opt/fdo/share/aclocal" >> /usr/share/aclocal/dirlist

export PKG_CONFIG_PATH="/opt/fdo/lib/pkgconfig:$PKG_CONFIG_PATH"


mkdir buildXGL
cd buildXGL

cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo co glitz
cd glitz
./autogen.sh --prefix=/opt/fdo
make
checkinstall -y
cd ..

cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/dri co drm
cd drm
./autogen.sh --prefix=/opt/fdo
make
checkinstall -y
cd ..

mkdir xorg
cd xorg
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co util/macros
cd util/macros
./autogen.sh --prefix=/opt/fdo
make
checkinstall -y

cd ../../../

#omitted double dots to enable LQ view
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/BigReqs
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/X11
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XExt
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XCMisc
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/KB
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Input
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XF86DRI
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/GL
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Randr
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Render
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Fixes
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Damage
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XF86BigFont
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XF86Misc
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XF86VidMode
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/ScrnSaver
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Resource
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Fonts
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/XF86DGA
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Video
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Composite
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Trap
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Record
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Xinerama
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/EvIE
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co proto/Fontcache

cd proto

cd BigReqs
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd X11
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XExt
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XCMisc
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd KB
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Input
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XF86DRI
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd GL
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Randr
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Render
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Fixes
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Damage
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XF86BigFont
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XF86Misc
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XF86VidMode
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd ScrnSaver
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Resource
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Fonts
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XF86DGA
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Video
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Composite
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Trap
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Record
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xinerama
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd EvIE
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Fontcache
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..




cd ..

#omitted double dots to enable LQ view
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/xtrans
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xdmcp
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xau
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/X11
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/xkbfile
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/fontenc
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xfont
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xext
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/XRes
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xrender
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xrandr
cvs -d server:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xfixes
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xdamage
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xcomposite
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/ICE
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/SM
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xt
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/xkbui
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xxf86vm
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xxf86misc
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xmu
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xpm
cvs -d pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co lib/Xaw

cd lib
cd xtrans
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xdmcp
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xau
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd X11
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd xkbfile
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd fontenc
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xfont
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xext
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd XRes
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xrender
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xrandr
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xfixes
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xdamage
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xcomposite
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd ICE
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd SM
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xt
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd xkbui
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xxf86vm
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xxf86misc
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xmu
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xpm
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd Xaw
./autogen.sh --prefix=/opt/fdo
make && checkinstall -y
cd ..

cd ..


cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co util/makedepend
cd util/makedepend/
./autogen.sh --prefix=/opt/fdo
checkinstall -y
ln -s /opt/fdo/bin/makedepend /usr/bin/makedepend
cd ..
cd ..

##Xi

cvs -d:pserver:anonymous@pdx.freedesktop.org:/cvs/mesa co Mesa
cd Mesa
### I'm really not sure of it, but it seems we have to tweak here:
# 1-edit xxx/buildXGL/Mesa/configs/default and change # Library names (base name): GL into gl, GLU into glu, GLw into glw etc..
# 2-Options are visible at end of: xxx/buildXGL/Mesa/Makefile
make linux-x86-32
checkinstall -y
####################################################################
# Specify /opt/fdo/include and /opt/fdo/lib
####################################################################
cd ..

cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg co -r xgl-0-0-1 -d xgl-0.0.1 xserver/xorg
cd xgl-0.0.1
#cat ../xgl-mesa-makefile-fix.diff | patch -p1
./autogen.sh --prefix=/opt/fdo --enable-xgl --enable-xglx --disable-xprint --disable-dmx --disable-xvfb --disable-xnest --with-mesa-source=../Mesa
make
checkinstall -y

cd /opt/fdo/lib/X11
ln -s fonts /usr/lib/X11/fonts



Linux.tar.gz 02-13-2006 09:44 PM

I'm blocked here:
cvs -d server:anoncvs@cvs.freedesktop.org:/cvs/xorg co -r xgl-0-0-1 -d xgl-0.0.1 xserver/xorg
cd xgl-0.0.1
#cat ../xgl-mesa-makefile-fix.diff | patch -p1
./autogen.sh --prefix=/opt/fdo --enable-xgl --enable-xglx --disable-xprint --disable-dmx --disable-xvfb --disable-xnest --with-mesa-source=../Mesa
make

I got:
distcc -DXGLServer -DXFree86Server -DHAVE_XGL_CONFIG_H -DHAVE_DIX_CONFIG_H -I../../GL/glx
-I../../GL/include -I/include -I/src/mesa/glapi -I/opt/fdo/include -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/fdo/include -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 -g -O2 -o
Xgl xglinit.o miinitext.o dpmsstubs.o stubs.o fbcmap.o -Wl,--export-dynamic libxgl.a ../../dix/.libs/libdix.a
-L/opt/fdo/lib /opt/fdo/lib/libXfont.so /usr/lib/libfreetype.so /opt/fdo/lib/libXau.so /opt/fdo/lib/libfontenc.so /opt/fdo/lib/libXdmcp.so -lz ../../fb/.libs/libfb.a
../../mi/.libs/libmi.a ../../composite/.libs/libcomposite.a ../../xfixes/.libs/libxfixes.a
../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../XTrap/.libs/libxtrap.a ../../record/.libs/librecord.a ../../render/.libs/librender.a
../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a
../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a
../../dix/.libs/libxpstubs.a ../../os/.libs/libcwrapper.a
../../os/.libs/libos.a -ldl /opt/fdo/lib/libglitz.so -lm -Wl,--rpath -Wl,/opt/fdo/lib -Wl,--rpath -Wl,/opt/fdo/lib
libxgl.a(xglcmap.o)(.text+0x9a): In function `xglSetVisualTypes':
/tmp/xglcmap.c:156: undefined reference to `fbSetVisualTypesAndMasks'
libxgl.a(xglcmap.o)(.text+0xd4):/tmp/xglcmap.c:163: undefined reference to `fbSetVisualTypesAndMasks'
collect2: ld returned 1 exit status
distcc[3108] ERROR: compile (null) on localhost failed
make[3]: *** [Xgl] Erreur 1
make[3]: Leaving directory `/home/me/buildXGL/xgl-0.0.1/hw/xgl'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/me/buildXGL/xgl-0.0.1/hw/xgl'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/me/buildXGL/xgl-0.0.1/hw'
make: *** [all-recursive] Erreur 1
bash-3.00#

Linux.tar.gz 02-15-2006 05:47 PM

--Bump--
No progress here.

demonlj 02-17-2006 12:59 PM

i got the CVS of xserver, and build under the
http://www.hboeck.de/item/266
then some problem come out
Quote:

Making all in mesa
make[2]: Entering directory `/tmp/xserver/GL/mesa'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../GL/glx -I../../GL/include -I../../GL/mesa/include -I../../GL/mesa/X -I../../mi -I../../Xext -I../../render -I/usr/share/mesa/source//include -I/usr/share/mesa/source//src/mesa -I/usr/share/mesa/source//src/mesa/main -I/usr/share/mesa/source//src/mesa/glapi -I/usr/share/mesa/source//src/mesa/shader -I/usr/share/mesa/source//src/mesa/shader/grammar -I/usr/share/mesa/source//src/mesa/shader/slang -I/usr/share/mesa/source//src/mesa/drivers/x11 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_BSD_SOURCE -I../../include -I../../Xext -UHAVE_CONFIG_H -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DXFree86Server -DUSE_MGL_NAMESPACE -g -O2 -MT libglcore_la-xf86glx.lo -MD -MP -MF ".deps/libglcore_la-xf86glx.Tpo" -c -o libglcore_la-xf86glx.lo `test -f 'X/xf86glx.c' || echo './'`X/xf86glx.c; \
then mv -f ".deps/libglcore_la-xf86glx.Tpo" ".deps/libglcore_la-xf86glx.Plo"; else rm -f ".deps/libglcore_la-xf86glx.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../GL/glx -I../../GL/include -I../../GL/mesa/include -I../../GL/mesa/X -I../../mi -I../../Xext -I../../render -I/usr/share/mesa/source//include -I/usr/share/mesa/source//src/mesa -I/usr/share/mesa/source//src/mesa/main -I/usr/share/mesa/source//src/mesa/glapi -I/usr/share/mesa/source//src/mesa/shader -I/usr/share/mesa/source//src/mesa/shader/grammar -I/usr/share/mesa/source//src/mesa/shader/slang -I/usr/share/mesa/source//src/mesa/drivers/x11 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_BSD_SOURCE -I../../include -I../../Xext -UHAVE_CONFIG_H -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DXFree86Server -DUSE_MGL_NAMESPACE -g -O2 -MT libglcore_la-xf86glx.lo -MD -MP -MF .deps/libglcore_la-xf86glx.Tpo -c X/xf86glx.c -fPIC -DPIC -o .libs/libglcore_la-xf86glx.o
X/xf86glx.c:886: error: 'glGetQueryObjecti64vEXT' undeclared here (not in a function)
X/xf86glx.c:886: warning: excess elements in struct initializer
X/xf86glx.c:886: warning: (near initialization for '__glMesaRenderTable')
X/xf86glx.c:887: error: 'glGetQueryObjectui64vEXT' undeclared here (not in a function)
X/xf86glx.c:887: warning: excess elements in struct initializer
X/xf86glx.c:887: warning: (near initialization for '__glMesaRenderTable')
make[2]: *** [libglcore_la-xf86glx.lo] 错误 1
make[2]: Leaving directory `/tmp/xserver/GL/mesa'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/tmp/xserver/GL'
make: *** [all-recursive] 错误 1
[root@cola xserver]# gvim GL/mesa/X/xf86glx.c
and i do check my configure, here it is
Quote:

PKG_CONFIG_PATH="/usr/lib/pkgconfig:/opt/fdo/lib/pkgconfig" ./configure --enable-glx --enable-xglserver --prefix=/opt/fdo --disable-kdriveserver --with-mesa-source=/usr/share/mesa/source/

z9_87 02-21-2006 07:32 PM

Hi guys, I'm trying to get xgl running also, I'm stuck on getting all the libs configured, made and installed. Some of them go okay others for example fontenc does not.

here's what I get:
Code:

autogen.sh --prefix=/opt/fdo
....
checking for FONTENC... configure: error: Package requirements (xproto) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the FONTENC_CFLAGS and FONTENC_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

I've checked around and everythign seems ok, xproto is at /opt/fdo/include/X11/xproto.h
So is that not what it's looking for or is it looking in the wrong spot?

Linux.tar.gz 02-21-2006 08:26 PM

Did you ran export PKG_CONFIG_PATH=/opt/fdo/lib/pkgconfig before ./configure (autogen)?

For my part i suceeded in xgl compile but it's not working yet.
Stay tuned.

z9_87 02-21-2006 08:42 PM

Quote:

Originally Posted by Linux.tar.gz
Did you ran export PKG_CONFIG_PATH=/opt/fdo/lib/pkgconfig before ./configure (autogen)?

For my part i suceeded in xgl compile but it's not working yet.
Stay tuned.

Yes that did it, thanks.

I'll also post my progress here.

z9_87 02-21-2006 09:43 PM

Quote:

Originally Posted by Linux.tar.gz
Did you ran export PKG_CONFIG_PATH=/opt/fdo/lib/pkgconfig before ./configure (autogen)?

For my part i suceeded in xgl compile but it's not working yet.
Stay tuned.


hmm, well that did it for a few, but now I get:
Code:

checking for XXF86VM... configure: error: Package requirements (xproto x11 xextproto xext xf86vidmodeproto) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the XXF86VM_CFLAGS and XXF86VM_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.


Linux.tar.gz 02-21-2006 10:05 PM

You have to install the proto stuff.

I have a new problem: xgl compile don't give me any Xgl executable!

z9_87 02-21-2006 10:13 PM

hmmm, I did, but I'll do it again maybe

z9_87 02-21-2006 11:14 PM

ok, well i started over using the script posted above here, and now i'm kinda lost cause i dont know where it's at or if it's missing something or was missplaced.
Here's a bit of the output:
Code:

autoreconf-2.5x: configure.ac: tracing
autoreconf-2.5x: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
/usr/share/aclocal/g-wrap.m4:7: warning: underquoted definition of AC_GWRAP_CHECK_GUILE
  run info '(automake1.8)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/g-wrap.m4:23: warning: underquoted definition of AM_PATH_GWRAP
autoreconf-2.5x: running: /usr/bin/autoconf
autoreconf-2.5x: running: /usr/bin/autoheader
autoreconf-2.5x: running: automake --add-missing --copy --no-force
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
GL/glx/Makefile.am: installing `./depcomp'
GL/mesa/Makefile.am: installing `./compile'
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
autoreconf-2.5x: automake failed with exit status: 1
make: *** No targets specified and no makefile found.  Stop.
./xgl_script: line 372: checkinstall: command not found
ln: `/usr/lib/X11/fonts/fonts': File exists



All times are GMT -5. The time now is 08:46 PM.