Find the answer to your Linux question:
Results 1 to 5 of 5
I've been running Ubuntu (Gutsy Gibbon) on my machine for a while now, but recently decided to add an astrology program (OpenAstro). My machine is not hooked up to the ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Location
    Ypsilanti, MI
    Posts
    3

    Could Someone Help With an Install Problem?

    I've been running Ubuntu (Gutsy Gibbon) on my machine for a while now, but recently decided to add an astrology program (OpenAstro). My machine is not hooked up to the internet, so I downloaded the source to my USB flash drive - thankfully I've had no issues there. Thanks to a few tutorials on this sight about installing program sources, I've managed to figure out how to do most of the install. However, I cannot get past a certain point on this source program.

    There is no makefile in it, there is however a setup.py file. The install command from README is:

    Installation:

    sudo setup.py install

    My terminal info (not actual) looks this way:

    <terminal name>:~/src/openastro.org-1.1.17.orig$ sudo setup.py install
    [sudo] password for charles:
    sudo: setup.py: command not found

    I see the file while in this directory while using "ls", and it's in a lime green type. I do not know what is going on, but I've tried time and time again to execute this command. I even tried going to root, but then I as far as I do here. Could someone help?

    Thank you.
    Last edited by cmagiera; 07-25-2009 at 05:29 AM. Reason: wrong terminology

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    sudo setup.py install
    First, are you typing the above exactly as you posted it? Because that is not what the website has for instructions. It should be
    Code:
    sudo ./setup.py install
    The ./ before setup is important.

    EDIT: This assumes you are in the directory with the file. You can also type the full path to the file.

    Second, do you have all of the dependencies installed?
    Quote Originally Posted by OpenAstro
    * python-gtk2 (or pygtk >= 2.0)
    * python-dateutil
    * python-gnome2-desktop (or gnome-python-desktop) (>= 2.16)
    * python-cairo (or pycairo) (>= 1.2.0)
    * imagemagick
    * librsvg2-common (or librsvg >= 2.0 )

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Location
    Ypsilanti, MI
    Posts
    3
    Yes, that's exactly how it was entered in the terminal, and that's exactly what the README file said to input. I'll give the command you provided a try.

    Yes, the dependencies are installed.

    I'll let you know how it goes.

    Thank you for the expedient response.

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    If the README file doesn't have the ./ then it's a typo on their part. Without it, the shell searches the usual places for program executable files, collectively known as $PATH. (Type $PATH in your terminal and it will return all the default locations the shell looks for executables.)

    With it, the shell looks in the directory that you are in.

  5. #5
    Just Joined!
    Join Date
    Jul 2009
    Location
    Ypsilanti, MI
    Posts
    3
    I tried your suggestion, and the program loaded. However, it wouldn't run. Found out I was missing python-central. Also found out that the program runs smoother on 8.04 or better. So, I'm upgrading my system.

    I really do appreciate your insight. You/ve been a great help.

Posting Permissions

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