How to compile glide3x for linux?

Started by vade, 28 December 2007, 20:21:23

Previous topic - Next topic

vade

I'm trying to compile glide for slackware 11.0 & voodoo3 3000 PCI.
However i run to problems;
This is what i have done:
1. checkout glide devel branch

cvs -d:pserver:anonymous@glide.cvs.sourceforge.net:/cvsroot/glide login
cvs -z3 -d:pserver:anonymous@glide.cvs.sourceforge.net:/cvsroot/glide co -P glid
e3x
cvs -d:pserver:anonymous@glide.cvs.sourceforge.net:/cvsroot/glide logout

2. Moved swlibs under glide3x
3. Tried to compile(according to INSTALL file);

aclocal && automake && autoconf

while doing autoconf following warnings comes(showing just part of them):

/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
 run info '(automake)Extending aclocal'
 or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF


when doing

% mkdir build
% cd build
% ../configure --enable-fx-glide-hw=h3 --enable-fx-build-dri

.. I get following error:

...
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
configure: creating ./config.status
config.status: creating build.3dfx
config.status: error: cannot find input file: makefile.autoconf.in



If I then try to run make it fails somewhere under minihwc directory..


What is wrong?
Why does not the glide compile?
Acording to CVS logs someone has made changes to code, so i guess it should be possible to compile it even it is not widely used anymore..

I dont know anything about cvs and "gnu autotools" which are used in process, should I..?

Could someone please guide me how to compile this so i could get my hw working..?
 

dborca

Hi,

sorry for my late reply!  Don't know if still matters, but here it goes...

From what I've seen in your post, you actually didn't retrieve glide-devel-branch.  The correct command line is:
cvs -d :pserver:anonymous@glide.cvs.sourceforge.net:/cvsroot/glide -z6 co -P -r glide-devel-branch Glide3
(note: use Glide3 with capital G -- that will get both glide3x and swlibs)

There is not likely that we'll ever have an autotools manager (and I personally hate them -- both autotools and managers :D).  So you'll have to compile the hard way, using makefile.linux.  Make sure you read "Linux-portability", "makefile.linux" and the READMEs.  Report back if you still have problems.
Regards,
Daniel Borca

owjian


Hi all , Does compile glide3x depends on X11 setup on the linux filesystem ? I'm emulating a Voodoo 3 GPU for a computer architecture simulator ...

What is the gcc requirement for a successful glide3x library compilation ? does it work on linux version 2.6.X ??