LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-02-2007, 03:17 PM   #1
breadbin
Member
 
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 158

Rep: Reputation: 26
Newbie - Quake 2 wont compile


Hi I have recently put Mandriva 2007 on my new AMD 64bit computer and I tried doing a make on the quake 2 source. It gave me an error about the architecture not being supported. Do I have to get a different package or is there a way around it. Will this be the same for all the other source I have downloaded in the past? I am a complete newbie (to 64 bit linux anyway). Thanks for any help you can give me.
 
Old 06-02-2007, 03:45 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Maybe you could post the actual error message. The last 20-30 lines of output from the failed make is a good rule of thumb.
 
Old 06-03-2007, 12:25 PM   #3
dawkcid
Member
 
Registered: May 2007
Location: UK
Distribution: LFS,Slackware,Slamd64,NetBSD
Posts: 102

Rep: Reputation: 15
Quake 2 compiles OK for me on amd64. What source are you using? You could try the version from icculus:
http://www.icculus.org/quake2/files/quake2-r0.16.tar.gz.
 
Old 06-04-2007, 02:50 AM   #4
breadbin
Member
 
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 158

Original Poster
Rep: Reputation: 26
Hi, thanks for the replies. It was the Icculus source and I got it working in the end. I cheated though. I reinstalled the 32bit version of Mandriva. I got it compiled but now there is a new problem it cannot find the ref-gl.so libraries or something. I must check to see if my GL drivers are there.
 
Old 06-07-2007, 11:54 AM   #5
dawkcid
Member
 
Registered: May 2007
Location: UK
Distribution: LFS,Slackware,Slamd64,NetBSD
Posts: 102

Rep: Reputation: 15
The ref-gl.so libraries are part of quake, you should find them in the same directory as the quake binary. Alas, quake is too stupid to figure out where the libraries are from the pathname you call it with, so you just need a shell wrapper to cd to the correct directory, e.g.,

Code:
#!/bin/sh
cd /path/to/quake
exec ./${0##*/}
The "${0##*/}" takes the basename the script so you can symlink quake2/sdlquake2 to the same wrapper script if you want. The sdl version works better for me, though, so I always just run sdlquake2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone manage to compile the Quake 3 source code? black hole sun Linux - Games 14 01-09-2007 09:14 PM
Doom wont compile ieatsplaydoh Linux - Games 2 11-27-2006 05:17 PM
ncurses wont compile BackwardsDown Programming 2 10-25-2006 12:56 PM
libvorbis wont compile dopefish Linux - Software 3 08-17-2004 04:46 AM
why wont it compile? saturn_vk Linux - Software 11 03-30-2003 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration