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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2005, 03:01 AM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Adelaide South Australia
Distribution: FC4
Posts: 6
Rep:
|
Command Not Found But I See It!!
I have searched for an answer but no luck, so it's time to pop the question.
Running Fedora Core 3 with SELinux enabled. Logged on as root.
Installed Civilisation Call to Power - a game ported from Windows by Loki in 1999.
Can see the supposed executable called civctp but get "command not found" when I try to run it in a terminal window using BASH.
I have confirmed that the file is marked as executable and that I have execute permission (chmod 777).
The installation was from the manufacturer's CD. No compiling from source was involved.
Huh!?
|
|
|
01-21-2005, 03:11 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,234
|
|
|
|
01-21-2005, 03:23 AM
|
#3
|
Member
Registered: Jul 2003
Location: London
Posts: 548
Rep:
|
Check that the binary is in your PATH. Else, execute directly with /path/to/command.
|
|
|
01-21-2005, 06:32 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Location: Adelaide South Australia
Distribution: FC4
Posts: 6
Original Poster
Rep:
|
Thanks to the 2 people who have replied so quickly.
I have tried running it directly from within the folder where it lives, but no result. Still reports 'command not found'.
It may be relevant that the 'which' command fails to find it i.e. which civctp.
I dont' understand the suggestion to run it as CODE civctp. Can you please explain further?
Thanks.
|
|
|
01-21-2005, 06:53 PM
|
#5
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
If you're cd'ing to the directory you need the ./ in front of civctp
./civctp
or you can do it like this
/path/to/civctp
|
|
|
01-21-2005, 07:00 PM
|
#6
|
LQ Newbie
Registered: Jan 2005
Location: Adelaide South Australia
Distribution: FC4
Posts: 6
Original Poster
Rep:
|
Now we're getting somewhere. At least it seems to try and run, but then trips over its own feet.
[dmorrell@localhost ~]$ cd /usr/local/games/CivCTP/
[dmorrell@localhost CivCTP]$ ./civctp
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Killed
This occurs when I run it as root from BASH outside of KDE, or when I run it as a normal user (above) from a BASH terminal window inside KDE.
So, who's got the next grain of wisdom to lead me along the trail to playing Civ Call to Power on Linux? This is a precondition to keeping the family peace if I finally dump Windows....
|
|
|
01-21-2005, 07:34 PM
|
#8
|
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040
Rep:
|
By the way, in answer to your implied question earlier, "code" is just a word that prefaces text offset from the rest of a reply by way of making it look more like terminal readout, script, or other text separate from but related to the reply. You can find it among the HTML options when you post.
|
|
|
01-22-2005, 01:12 PM
|
#9
|
LQ Newbie
Registered: Jan 2005
Location: Adelaide South Australia
Distribution: FC4
Posts: 6
Original Poster
Rep:
|
Thanks for the suggestion re SDL. It's pretty black and white when you get to the site. Posting this here for anyone else reading the thread who might wish to know.
"Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power."
|
|
|
All times are GMT -5. The time now is 12:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|