LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-25-2008, 09:57 AM   #1
pedofil
LQ Newbie
 
Registered: Oct 2008
Posts: 7

Rep: Reputation: 0
Cannot install glchess


Hi.

I downloaded Glchess, and when i opened install file, it says that i need just to put this command in the console:

To run excute the following in this directory:
$ PYTHONPATH=lib/ ./glchess

I tried it more than 100 times, but i only get this error:

-bash: ./glchess: /usr/bin/python2.4: bad interpreter: No such file or directory

Can you help me ?

Thanks
 
Old 10-25-2008, 10:18 AM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
It looks like glchess is looking for python2.4 and you probably have python 2.5

Edit the ./glchess file and change to top line which should be something like

Code:
#!/usr/bin/python2.4
to this:

Code:
#!/usr/bin/python
and try again. If you're not sure how to do this try typing mc from the console and follow the on screen menus to select the glchess file, edit it and save your changes.
 
  


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
glChess of Gnome-games, How to start it by line command? ponganthony Linux - Desktop 1 08-26-2008 08:41 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 06:49 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 06:16 PM
glchess on Slack 11? slackergeek Slackware 2 12-09-2006 05:58 AM
Need a config file for glchess kram Linux - Software 2 03-02-2005 03:46 PM

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

All times are GMT -5. The time now is 05:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration