Find the answer to your Linux question:
Results 1 to 4 of 4
Hi friends I'm a newbi in this area. I'm trying to compile Stellarium source. My OS is Scientific linux 6.1. Befor I cpompile it I've made my PC ready with ...
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2

    Unable to compile Stellarium

    Hi friends
    I'm a newbi in this area. I'm trying to compile Stellarium source. My OS is Scientific linux 6.1. Befor I cpompile it I've made my PC ready with all the necessary libraries, as follows:

    >>yum install gcc gcc-c++ libstdc++ cmake cmake-gui gettext gettext-devel mesa-libGL-devel mesa-libGLU-devel zlib-devel libpng-devel freetype-devel boost-devel libjpeg-devel qt-devel doxygen graphviz subversion make

    Then I used these commands

    >>cd stellarium-0.10.6
    >>mkdir -p builds/unix
    >>cd builds/unix
    >>cmake ../..
    >>cmake -DCMAKE_INSTALL_PREFIX=/opt/stellarium ../..
    >>make
    then as SU
    >>make install

    Then nothing happend, when I gave the command
    >>Stellarium
    It says command is not found!!!

    How can I compile and install it?

    Thank u for reading this
    zaved

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I assume this is what you are talking about: Stellarium
    I'll download it and see what happens when building it and get back to you.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Ok. Built and installed version 11.1 successfully; however, the binary executable is /opt/stellarium/bin/stellarium. If you want to execute it directly you have two options:

    1. Add /opt/stellarium/bin to your PATH environment.
    2. Create a link from /opt/stellarium/bin/stellarium to /usr/bin: sudo ln -s /opt/stellarium/bin/stellarium /usr/bin

    I did #2 and it works fine.

    And BTW, I am also running SL 6.x.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2
    Hey Rubberman
    thank you for ur prompt reply. i'll try out ur option. thank u again.

Posting Permissions

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