Find the answer to your Linux question:
Results 1 to 9 of 9
I have figured out the make command to compile a program. Now i'm having trouble running the executable file. I double click the icon, nothing happens. I right click and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    6

    Can't run an executable file...


    I have figured out the make command to compile a program. Now i'm having trouble running the executable file. I double click the icon, nothing happens. I right click and select "run in another window" and it brings up a blank window, but no activity. I'm obviously missing something. How do I make this program work?
    Thanks.

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    What is the name of the program? Have you tired starting it from the command line? Also, you say you know how to run "make." Did you also run after that, "make install?"
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    6
    Yep, i ran "make install" also. Which command would I use to run the executable from the command line? As you can tell i'm a complete noob to this so any help would be greatly appreciated. The program name is Ayam.

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Open a terminal and as regular user type in...
    Code:
    ayam
    and press enter. Try that first. If no joy, become su and type in:
    Code:
    updatedb
    When it finishes, type in:
    Code:
    locate ayam
    and post the output here please.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  6. #5
    Just Joined!
    Join Date
    Oct 2007
    Posts
    6
    When I typed ayam it responded with '/bin/bash: ayam: command not found'

    I used updatedb, it seemed to work.

    The locate ayam command ran a result about 10 pages long. It had no error messages that I could see. As far as I can tell i'm trying to execute the command in the right folder, as I am physically in the window and open Tools, Execute Shell Command. Then I typed in ayam and got the error message.

    Any advice from here, or should I stick to Vista and my iMac? lol

  7. #6
    Just Joined!
    Join Date
    Oct 2007
    Posts
    6
    Or could this possibly just be a problem with the program itself?

  8. #7
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    In the file that you untarred... enter it and run:
    Code:
    sh ayaml
    I looked at their site and there's god aweful little on how to install. Most apps will at minimum provide an INSTALL file that explains exactly how to install the program... Some of these folks who might take their time to build a mod or Linux version will completely ignore any instruction for us on how to build their program. I guess they (wrongly) assume we will just know. After all, we're Linux users and are used to trying to figure out things like installation with no documentation... lol.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  9. #8
    Just Joined!
    Join Date
    Oct 2007
    Posts
    6
    Ah well, i'll try that command and if it fails i'll try another program. I tried following what they said in the install information and it didn't tell me much at all. Thanks for your help.

  10. #9
    Just Joined!
    Join Date
    Dec 2007
    Posts
    1
    perhaps all you need to do is enter:

    ./ayam

    to run the executable from terminal.
    Last edited by hardwhere; 12-16-2007 at 02:38 AM. Reason: tried and failed to use code box :P

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •