LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2012, 12:17 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
Glut, slack 64bit, Imake.tmpl: No such file error


Slackware 64 current.

I'm trying to compile glut 3.7, and when I run mkmkfiles.imake I get:

Imakefile.c:34:0: fatal error: Imake.tmpl: No such file or directory

The file is there, but it is in /usr/lib64/X11/config, not /usr/lib/X11/config. I'm wondering if I'm looking at a 32 bit versus 64 bit compatibility problem?

I have Alien Bob's multilib installed, so the problem would not be the lack of this.

Has anyone used freeGlut or openGlut? I could easily be persuaded to try those instead of Glut, seeing as how Glut is a bit old.
 
Old 05-01-2012, 04:17 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Use freeglut

Bonus :-

http://slackbuilds.org/repository/13...ment/freeglut/
 
1 members found this post helpful.
Old 05-01-2012, 06:04 AM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 528

Rep: Reputation: Disabled
Just out of curiosity, does it work if you symlink /usr/lib64/X11/config/Imake.tmpl to /usr/lib/X11/config/Imake.tmpl?
 
Old 05-01-2012, 07:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please do not use "the 10 year old" glut-3.7 :
If you in some way might build it, the result will work poorly.

@wildwizard is right : 'freeglut' is the solution.
 
Old 05-01-2012, 10:20 AM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by wildwizard View Post
OMG freeglut on slackbuilds! I looked for glui but since the freeglut downloads were readily available I didn't think of checking slackbuilds :-)
 
Old 05-01-2012, 10:22 AM   #6
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by TommyC7 View Post
Just out of curiosity, does it work if you symlink /usr/lib64/X11/config/Imake.tmpl to /usr/lib/X11/config/Imake.tmpl?
Actually it did, but I got an error in a later compilation stage. That struck me as a very wrong way to go about doing this, but I tried it just to see what would happen. As others have said, glut is antique. I actually got a program to compile and run with openglut and glui, though it took some contortions to get it to work. I couldn't get it to work with freeglut, but maybe I'll try the slackbuilds version and see what happens. I think openglut has also been abandoned.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Regarding glut.h header file is not presented in /usr/include/GL rkarthi2k5 Programming 1 10-01-2009 03:27 PM
how can i open *.tmpl file under kernel directory? alice95089 Linux - Software 1 04-15-2005 11:18 PM
file GL/glut.h missing corbis_demon Linux - Newbie 2 06-30-2004 03:59 PM
Glut Compile Error -- Please Help BenRichards Linux - Software 1 05-28-2004 04:26 PM
relocation error: glut nchauhan Linux - Software 2 01-10-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:37 AM.

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