LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2003, 04:09 PM   #1
login365
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 9

Rep: Reputation: 0
Glut 3.7


Hi,

I am new to Linux and Glut, and am trying to install glut-3.7 on my home PC. I've been having problems trying to install it on the computer and wondered if anybody could give me some help.

After extracting the tar files, and following the first step of the instructions, when I attempt to use the './mkmkfiles.imake' command, I get a load of errors:

This is the end of the error:

START ERRORS-----

if ( -x /usr/openwin/bin/xmkmf ) then


xmkmf
xmkmf: Command not found.
endif
endif
endif
make Makefiles
make: *** No rule to make target `Makefiles'. Stop.





make depend
make: *** No rule to make target `depend'. Stop.

END ERRORS-----


I have found a number of places, which describe slightly different ways to install the program, but am having no success. I have followed the instructions exactly as described for installation under Linux.

Like I said I am a beginner to Linux and I would be much obliged if you could help me at all.



Thanks,

Mike
 
Old 10-30-2003, 04:43 PM   #2
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Rep: Reputation: 15
Check to see if XFree86-devel is installed, it contains xmkmf.
If you tell me what distro you're using I can give you more information on how to install it or what to do if you do have it installed.
- cirofren
 
Old 10-31-2003, 03:04 AM   #3
login365
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Glut Problem

Hi,

I have Red Hat 9 (Shrike) installed and I dont think XFree86 is installed, unless it is done by default? Where do I get it from / how do I install it?




Mike.
 
Old 10-31-2003, 03:35 AM   #4
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Rep: Reputation: 15
In almost every case it's installed by default, unless you're not using any display managers (such as KDE or Gnome). Just to be sure type "gurpmi XFree86-devel" in a console. I don't have a lot of experience in Redhat, so if that doesn't work I suggest using some sort of package manager to see if it's installed or not.
- cirofren
 
Old 10-31-2003, 04:25 AM   #5
login365
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Glut

OK, I'll give it a try, then post back here when I get a chance.


Thanks,


Mike
 
Old 11-01-2003, 04:16 AM   #6
login365
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
I tried that command and it said 'command not found'

Should I download and install XFree86?
 
Old 11-01-2003, 04:48 AM   #7
login365
LQ Newbie
 
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
OK, I think I have managed to install Glut, but now it says "Permission Denied" when I try to run a compiled C program from the shell and the error "Nautilius does not have a viewer capable to display this file" in my directory.

Does anybody know what program I require?
 
Old 11-01-2003, 04:56 AM   #8
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
there is no command xfree86. unfortunately, i don't use version 9 so i don't know how you'd go about finding out the rpm version of Xfree used in your system. rh9 got rid of kpackage. i wonder if you have an add/remove kind of think in gnome or something in rh9.0. if you do find out the numbers for XFree86 in the package name. then google using the XFree86-devel-X.XX.XXX.rpm where X.XX.XXX is the numbers you got from your package manager. download and install it. for example my version of xfree and googling for the devel packages for my version, i'd use

xfree86-devel-4.2.1-13.73.3

boom! first hit.

edit: or you can search using xfree on rhn and download it directly from redhat network's site.

Last edited by megaspaz; 11-01-2003 at 04:57 AM.
 
  


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
GLUT yogotie Programming 4 05-05-2005 08:17 AM
how to install GLUT 6u4nYu Linux - General 11 12-16-2004 10:23 PM
glut BrandonTurner Linux - Software 5 08-21-2004 03:46 AM
Why do you use GLUT? The_Nerd Programming 2 07-13-2004 08:30 AM
Glut???? FXRS Linux - Software 5 07-23-2003 07:18 AM

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

All times are GMT -5. The time now is 10:52 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