First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 2012
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Schlemmer (RETIRED) <azarah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrzej <andrz68@yahoo.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2012 depends on: Show dependency tree
Bug 2012 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-04-22 20:14 0000
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

------- Comment #1 From Martin Schlemmer (RETIRED) 2002-04-23 18:06:08 0000 -------
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.

------- Comment #2 From Andrzej 2002-04-23 22:22:42 0000 -------
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.


------- Comment #3 From Andrzej 2002-04-24 14:20:59 0000 -------
 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  

------- Comment #4 From Andrzej 2002-04-24 14:26:15 0000 -------
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  

------- Comment #5 From Andrzej 2002-04-24 14:28:53 0000 -------
Oh...yes it worked first time only there was no word wrap. I didn't see it :)  

------- Comment #6 From Martin Schlemmer (RETIRED) 2002-04-24 16:20:24 0000 -------
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 !

------- Comment #7 From Andrzej 2002-04-24 18:24:42 0000 -------
 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  

------- Comment #8 From Martin Schlemmer (RETIRED) 2002-04-24 18:33:49 0000 -------
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 :)

------- Comment #9 From Martin Schlemmer (RETIRED) 2002-04-24 18:37:55 0000 -------
oh, btw .. is it a custom xfree build, or via the ebuild ?

------- Comment #10 From Andrzej 2002-04-24 19:34:23 0000 -------
hi
xfree is from ebuild, no customization :)
as for automake stuff I will be able to check it tomorrow.
So see you tommorow :)

------- Comment #11 From Andrzej 2002-04-25 12:33:35 0000 -------
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.         

------- Comment #12 From Andrzej 2002-04-25 12:40:08 0000 -------
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 :)         

------- Comment #13 From Martin Schlemmer (RETIRED) 2002-04-25 13:47:00 0000 -------
Hi, please try -r3, and let me know.  Thanks!

------- Comment #14 From Martin Schlemmer (RETIRED) 2002-04-25 13:47:39 0000 -------
Hi, please try -r3, and let me know.  Thanks!

------- Comment #15 From Andrzej 2002-04-25 15:55:09 0000 -------
Hi
You can call it fixed, r3 works :)
thanks

------- Comment #16 From Martin Schlemmer (RETIRED) 2002-04-25 16:09:41 0000 -------
w00t, and thanks to you ;)

First Last Prev Next    No search results available      Search page      Enter new bug