I emerged glide and then emerged xbase after that my glxinfo was saying dri is enabled but glxgears segfaults and q3demo hanged. I decided to download glide from dri.sourceforge.net, recompiled xbase and since then everything worked OK
Did you have "3dfx" and "voodoo3" (if voodoo3) in your USE ? And what exactly did you download ? Also try to clear your CFLAGS and CXXFLAGS when merging media-libs/glide-v3, and let me know.
Hi Yes, I had voodoo3 (I have voodoo3 3000 pci/agp) and 3dfx in USE and I used this optimazition: CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" name of ebuild: glide-v3/glide-v3-3.10-r2.ebuild After I was unsuccessful making glide to work I downloaded these files: http://dri.sourceforge.net/res/glide3headers.tar.gz http://dri.sourceforge.net/res/voodoo3/x86/libglide3.so I'll try to emerge glide tommorow without cflags and let you know how it goes. Thanks for your time.
hi I remerged glide without flags ( CFLAGS,CXXFLAGS) and again glxgears segfaulted. I found two web pages that could help us resolved this problem. http://hints.linuxfromscratch.org/hints/tuxracer.txt http://hints.linuxfromscratch.org/hints/dri.txt I'll tried to follow directions from those sites and was able to compiled working glide. My steps were as follows: #from http://hints.linuxfromscratch.org/hints/dri.txt #I downloaded this file ftp://ftp.gnu.org/gnu/automake/automake-1.4-p5.tar.gz #extracted it and issue those commands cd automake-1.4-p5 ./configure --prefix=$HOME/automake-temp && make INSTALL="install -c -D" install && cp /usr/share/aclocal/libtool.m4 ~/automake-temp/share/aclocal #after that #from http://hints.linuxfromscratch.org/hints/tuxracer.txt #extracted glide and swlibs mv swlibs glide3x && chmod +x glide3x/swlibs/include/make/ostype && cd glide3x/h3/minihwc && ln -s linhwc.c.dri linhwc.c && cd ../glide3/src ; ln -s gglide.c.dri gglide.c && ln -s gsst.c.dri gsst.c && ln -s glfb.c.dri glfb.c cd glide3x ~/automake-temp/bin/aclocal && ~/automake-temp/bin/automake && autoconf ./configure --prefix=/usr --enable-fx-glide-hw=h3 \ --enable-fx-build-dri --enable-shared --enable-static && ./ltconfig ltmain.sh make -f makefile.linux && cp -ax h3/lib/libglide* /usr/lib && cp -ax swlibs/include/*.h /usr/include/glide3 && cp -ax h3/include/*.h /usr/include/glide3 That's all. It worked I hope I didn't mix it up to much :) greetings
hi Sorry had to this one more time, first one wasn't full I remerged glide without flags ( CFLAGS,CXXFLAGS) and again glxgears segfaulted. I'm attaching two files glideglxgears (what I had while running glxgears command) and glide.compil (log from compilation). I found two web pages that could help us resolved this problem. http://hints.linuxfromscratch.org/hints/tuxracer.txt http://hints.linuxfromscratch.org/hints/dri.txt I'll tried to follow directions from those sites and was able to compiled working glide. My steps were as follows: #from http://hints.linuxfromscratch.org/hints/dri.txt #I downloaded this file ftp://ftp.gnu.org/gnu/automake/automake-1.4-p5.tar.gz #extracted it and issue those commands cd automake-1.4-p5 ./configure --prefix=$HOME/automake-temp && make INSTALL="install -c -D" install && cp /usr/share/aclocal/libtool.m4 ~/automake-temp/share/aclocal #after that #from http://hints.linuxfromscratch.org/hints/tuxracer.txt #extracted glide and swlibs mv swlibs glide3x && chmod +x glide3x/swlibs/include/make/ostype && cd glide3x/h3/minihwc && ln -s linhwc.c.dri linhwc.c && cd ../glide3/src ; ln -s gglide.c.dri gglide.c && ln -s gsst.c.dri gsst.c && ln -s glfb.c.dri glfb.c cd glide3x ~/automake-temp/bin/aclocal && ~/automake-temp/bin/automake && autoconf ./configure --prefix=/usr --enable-fx-glide-hw=h3 \ --enable-fx-build-dri --enable-shared --enable-static && ./ltconfig ltmain.sh make -f makefile.linux && cp -ax h3/lib/libglide* /usr/lib && cp -ax swlibs/include/*.h /usr/include/glide3 && cp -ax h3/include/*.h /usr/include/glide3 That's all. It worked I hope I didn't mix it up to much :) greetings
Oh...yes it worked first time only there was no word wrap. I didn't see it :)
Hiya, please try to send it step for step, with a <return> after each line. Something like: # cd foo # cp bar bar.orig # sed -e "s:bat:batt:" bar.orig >bar # rm bar.orig Thanks for your effort !
hi Sorry for that long line :) I emerged glide without flags ( CFLAGS,CXXFLAGS) as you told me and again glxgears segfaulted. I'll attache two files glideglxgears (with what happend while running glxgears command) and glide.compil (log from compilation) later if you want me to that. I found two web pages that could help us resolved this problem. http://hints.linuxfromscratch.org/hints/tuxracer.txt http://hints.linuxfromscratch.org/hints/dri.txt I tried to follow directions from those sites and was able to compiled working glide. My steps were as follows: #from http://hints.linuxfromscratch.org/hints/dri.txt #I downloaded this file ftp://ftp.gnu.org/gnu/automake/automake-1.4-p5.tar.gz #extracted it and issue those commands: cd automake-1.4-p5 ./configure --prefix=$HOME/automake-temp && make INSTALL="install -c -D" install && cp /usr/share/aclocal/libtool.m4 ~/automake-temp/share/aclocal #after that #extracted glide and swlibs mv swlibs glide3x && chmod +x glide3x/swlibs/include/make/ostype && cd glide3x/h3/minihwc && ln -s linhwc.c.dri linhwc.c && cd ../glide3/src ; ln -s gglide.c.dri gglide.c && ln -s gsst.c.dri gsst.c && ln -s glfb.c.dri glfb.c cd glide3x ~/automake-temp/bin/aclocal && ~/automake-temp/bin/automake && autoconf ./configure --prefix=/usr --enable-fx-glide-hw=h3 \ --enable-fx-build-dri --enable-shared --enable-static && ./ltconfig ltmain.sh make -f makefile.linux && cp -ax h3/lib/libglide* /usr/lib && cp -ax swlibs/include/*.h /usr/include/glide3 && cp -ax h3/include/*.h /usr/include/glide3 That's all and it worked. I hope I didn't mix it up to much :), I might missed something. greetings
good stuff. Just a question ... do you have to do the automake stuff ? as we do use automake-1.4-p5 .... ? So basically just do: automake, etc, without it being extracted, and compiled ? If that dont work, try to: # export WANT_AUTOMAKE_1_4=1 and then try with the system installed automake stuff thanks :)
oh, btw .. is it a custom xfree build, or via the ebuild ?
hi xfree is from ebuild, no customization :) as for automake stuff I will be able to check it tomorrow. So see you tommorow :)
hi again When you told me to try with just automake (same version) I looked at ebuild at last and must say I feel rather stupid writing all those steps I did to compile glide :) it's the same stuff we have in ebuild :). The only difference I noticed is the "sed" stuff and I think that is the problem I wasn't able to build working glide. Ah... and one thing more u were right from the beginning it is the problem of optimizations ( I commented cflags in make.conf but forget about make.globals). I commented flags in both files today and ended up with this error: gcc -o texus cmd.o ../../../swlibs/fxmisc/.libs/libfxmisc.al ../../../swlibs/texus2/lib/.libs/libtexus.al ../../../swlibs/texus2/lib/.libs/libtexus.al(eigen.lo): In function `eigenVectors': eigen.lo(.text+0x59a): undefined reference to `sqrt' eigen.lo(.text+0x5f5): undefined reference to `sqrt' collect2: ld returned 1 exit status make[3]: *** [texus] Error 1 make[3]: Leaving directory `/var/tmp/portage/glide-v3-3.10-r2/work/glide3x/build/swlibs/texus2/cmd' ------------------------------------------------------------------------- At last I decided to comment out 'sed' stuff in the glide ebuild file: cd ${WORKDIR}/swlibs/include/make cp makefile.autoconf.bottom makefile.autoconf.bottom.orig sed -e "s:-O6 -m486:${CFLAGS}:" makefile.autoconf.bottom.orig \ > makefile.autoconf.bottom and that was that I was able to compile working glide :). Thanks for your time and patience once again :) PS I hope this message won't be a long line.
hi again When you told me to try with just automake (same version) I looked at ebuild at last and must say I feel rather stupid writing all those steps I did to compile glide :) it's the same stuff we have in ebuild :). The only difference I noticed is the "sed" stuff and I think that is the problem I am not able to build working glide. Ah... and one thing more u were right from the beginning it is the problem of optimizations ( I commented cflags in make.conf but forget about make.globals). I commented flags in both files today but it wasn't enough I ended up with this error: gcc -o texus cmd.o ../../../swlibs/fxmisc/.libs/libfxmisc.al ../../../swlibs/texus2/lib/.libs/libtexus.al ../../../swlibs/texus2/lib/.libs/libtexus.al(eigen.lo): In function `eigenVectors': eigen.lo(.text+0x59a): undefined reference to `sqrt' eigen.lo(.text+0x5f5): undefined reference to `sqrt' collect2: ld returned 1 exit status make[3]: *** [texus] Error 1 make[3]: Leaving directory `/var/tmp/portage/glide-v3-3.10-r2/work/glide3x/build/swlibs/texus2/cmd' ------------------------------------------------------------------------- At last I decided to comment out 'sed' stuff in the glide ebuild file: cd ${WORKDIR}/swlibs/include/make cp makefile.autoconf.bottom makefile.autoconf.bottom.orig sed -e "s:-O6 -m486:${CFLAGS}:" makefile.autoconf.bottom.orig \ > makefile.autoconf.bottom and that was that I was able to compile working glide :). Thanks for your time and patience once again :) PS I hope this message won't be a long line. He,he what I was hoping for I'm not going to use konqueror again :)
Hi, please try -r3, and let me know. Thanks!
Hi You can call it fixed, r3 works :) thanks
w00t, and thanks to you ;)