LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2004, 02:29 AM   #1
FishBoy
Member
 
Registered: Nov 2004
Distribution: SuSE 10.2
Posts: 56

Rep: Reputation: 15
Smile petit help


hey guys i just installed SuSE linux 9.10 but i have a few problems, well not big problems just can't do a few things, like when i try to change the time, the window to change the time opens and then closes by itself, and another thing is after i compile a C program i get the binary file output but i can't execute it. any ideas how this could be fixed.. thanks
 
Old 12-03-2004, 02:42 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't know what the problem is with the clock problem, but there are two possibilities for the second. Make sure that the execute bit is set on the program file using the chmod program. Ex: chmod o+x ,will give the owner of the file execution permission. The other possibility is that the program isn't located in an execution path. You can either execute the program by preceding it with the "./" characters to explicitly specify the path. You you could create a ~/bin directory and add this directory to your PATH variable in the ~/.profile script. I did that later, and place scripts I create there.

There is another possibility that is less likely. If you own a file and don't have execution rights, you will not be able to execute the file, even if you have group execution rights. However, you would probably create a file with these permissions only if that was the behavior you wanted.
 
Old 12-03-2004, 01:36 PM   #3
FishBoy
Member
 
Registered: Nov 2004
Distribution: SuSE 10.2
Posts: 56

Original Poster
Rep: Reputation: 15
no it's not the permissions on it coz im getting a message saying command not found... oh and how do i take screen shots on linux?
 
Old 12-03-2004, 03:03 PM   #4
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
i'm gonna guess you have suse 9.1 personal...if thats the case the compiling tools weren't included with the distro. you can download them from the suse website, i believe.

for the screenshot, open gimp, click file>aquire>screenshot
 
Old 12-03-2004, 04:03 PM   #5
FishBoy
Member
 
Registered: Nov 2004
Distribution: SuSE 10.2
Posts: 56

Original Poster
Rep: Reputation: 15
i have the 5 cd set... i think that's the personal one, but no i have the C compiler installed, i compiled my program but i cna't execute it
and thx for the screenshot found
 
Old 12-05-2004, 12:35 AM   #6
MylesCLin
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Slack 9.1 with slackware-current packages...
Posts: 164

Rep: Reputation: 30
Try typing './' before the executable name, sometimes './' isn't in the path
 
  


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 On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

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