LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 09-17-2004, 12:46 PM   #1
BenRichards
LQ Newbie
 
Registered: May 2004
Posts: 17

Rep: Reputation: 0
Redhat 9.0 not recognizing executable files


Hello All,

I recently installed Redhat 9.0 on a computer I have as well as glut. I was able to get everyting in glut to compile but when I try to run the test/demo programs included it gives me soemthing along these lines:

bash: test19 command not recognized

Though if I startx I can double click on some of them and they will work.

Anyone have any ideas of what I'm doing wrong?
 
Old 09-17-2004, 12:52 PM   #2
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Rep: Reputation: 30
have you checked your path including your working directory?
or try run ./a.out suppose a.out is the executable you are talking about.
 
Old 09-17-2004, 03:25 PM   #3
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
hi there

[root@gaurav root]# env|grep PATH
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

will give u the path that is foolowed while we execute any executable .since ur program is not in any of these directories so to run it from the local directory
go to that directory anhd run that by

./test

regards
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat WS 3.0 not recognizing memory peter72 Linux - Hardware 2 08-13-2004 07:11 AM
RedHat 9 not recognizing internal modem mavles Linux - Hardware 1 09-30-2003 03:14 AM
Redhat 8.0 not recognizing Actiontet Modem Saladin38 Linux - Hardware 1 11-23-2002 12:50 PM
Converting perl files to executable mac files mrozkan Programming 0 04-16-2002 09:56 AM
Executable Files Acar Linux - General 1 02-22-2002 10:59 AM


All times are GMT -5. The time now is 08:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration