Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Installing Stellarium 0.10.0 from source

  1. #1
    Join Date
    Jun 2008
    Beans
    23

    Question Installing Stellarium 0.10.0 from source

    I've been using Ubuntu Hardy for eight month. That makes me a newbie to this. I figured out the most difficult thing about Linux is installing a software without any internet connection. Even if you have a net connection, you may have not the updated version of a software since it is not added to your repository. I use Stellarium-the desktop planetrium of version 0.9.1. Wherever, I've found out that, later two versions are already released. I've download the source file from here

    http://www.stellarium.org/
    http://downloads.sourceforge.net/stellarium/stellarium-0.10.0.tgz

    I found too many ways to install this source in internet, but since I'm a newbie, I don't know what to do exactly. If you are kind enough, please download and install it yourself and post the whole process on this thread. I'll be very pleased for this help. Thanks in advance.


    Please do not post any link that leads me to another page. If you are very interested, then do what I'm asking. Thanks.

  2. #2
    Join Date
    Jun 2008
    Beans
    23

    Re: Installing Stellarium 0.10.0 from source

    anyone???

  3. #3
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Installing Stellarium 0.10.0 from source

    First open a terminal (Applications>Accessories>Terminal) then install a few packages that you will need installed to compile this program.
    Code:
    sudo apt-get install build-essential automake1.9  autoconf cmake gettext libgl1-mesa-dev libglu1-mesa-dev  libsdl-dev  zlib1g-dev  libpng12-dev libfreetype6-dev libboost-dev libjpeg62-dev  libcurl3-dev  libqt4-dev doxygen  graphviz libsdl-mixer1.2-dev
    Then download the Sterllarium program if you have not already done so to your Desktop. Then change directory to your Desktop
    Code:
    cd ~/Desktop
    then extract the downloaded file with
    Code:
    tar zxf stellarium-0.10.0.tar.gz
    then change into the newly made directory
    Code:
    cd stellarium-0.10.0
    then make a directory that you are going to use to build it
    Code:
    mkdir -p builds/unix
    Then change into the newly made builds directory
    Code:
    cd builds/unix
    then
    Code:
    cmake
    If that passes without errors then move onto make
    Code:
    make
    if that passes without errors install it with
    Code:
    sudo make install
    If you don't want to install it but just want to run it, you can do that by skipping the sudo make install part and doing this:
    Code:
    cd ../..
    Code:
    builds/unix/src/stellarium
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  4. #4
    Join Date
    Jun 2008
    Beans
    23

    Re: Installing Stellarium 0.10.0 from source

    @Partyboi2
    If you really want to help then please download it compile and install and post the terminal log. Please do not just copy paste some command from another web page. I've read this instruction before I post this thread here. Atleast you can help me by downloading any small package source compile and install it on your computer and please post your terminal log here. That will be very generous of you. Thanks.

  5. #5
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Installing Stellarium 0.10.0 from source

    If you really want to help then please download it compile and install and post the terminal log.
    I did download and compile this program. You just did not mention in your first post that you were wanting terminal logs

    Please do not just copy paste some command from another web page.
    What I posted was the steps I took to compile this program. All you have to do is copy and paste them into a terminal.

    Atleast you can help me by downloading any small package source compile and install it on your computer and please post your terminal log here. That will be very generous of you. Thanks.
    I have since reinstalled ubuntu, but if I have time tomorrow I will download and compile it again and uploaded my terminal logs for you.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  6. #6
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Installing Stellarium 0.10.0 from source

    Here are the terminal logs.
    Attached Files Attached Files
    Last edited by Partyboi2; October 8th, 2008 at 01:05 AM.
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  7. #7
    Join Date
    Jun 2008
    Beans
    23

    Re: Installing Stellarium 0.10.0 from source

    Thanks for the log. But, still not working. I don't know what is my problem. Everything goes right till 13% of installation. Here is my log. If you do understad this promlem, please help. And by the way, are you using Intrepid? Mine is hardy. Is there anything problem with that. I've installed all the dependecies mentioned in Stellarium-Wiki.

    Code:
    ediamin@ediamin-desktop:~/Desktop/stellarium-0.10.0/builds/unix$ make
    [  0%] Generating ui_locationDialogGui.h
    [  0%] Generating ui_helpDialogGui.h
    [  0%] Generating ui_dateTimeDialogGui.h
    [  0%] Generating ui_viewDialog.h
    [  0%] Generating ui_searchDialogGui.h
    [  0%] Generating ui_configurationDialog.h
    [  2%] Built target GenerateUiHeaders
    [  2%] Generating qrc_mainRes.cxx
    [  2%] Generating moc_StelModuleMgr.cxx
    [  2%] Generating moc_Observer.cxx
    [  3%] Generating moc_StelApp.cxx
    [  3%] Generating moc_Navigator.cxx
    [  3%] Generating moc_LocationMgr.cxx
    [  4%] Generating moc_Projector.cxx
    [  4%] Generating moc_StelAppGraphicsScene.cxx
    [  4%] Generating moc_STexture.cxx
    [  5%] Generating moc_MovementMgr.cxx
    [  5%] Generating moc_SkyImageTile.cxx
    [  5%] Generating moc_SkyDrawer.cxx
    [  6%] Generating moc_ConstellationMgr.cxx
    [  6%] Generating moc_LandscapeMgr.cxx
    [  6%] Generating moc_GridLinesMgr.cxx
    [  6%] Generating moc_MilkyWay.cxx
    [  7%] Generating moc_NebulaMgr.cxx
    [  7%] Generating moc_SkyBackground.cxx
    [  7%] Generating moc_SolarSystem.cxx
    [  8%] Generating moc_MeteorMgr.cxx
    [  8%] Generating moc_StarMgr.cxx
    [  8%] Generating moc_StelGui.cxx
    [  9%] Generating moc_StelGuiItems.cxx
    [  9%] Generating moc_HelpDialog.cxx
    [  9%] Generating moc_Dialog.cxx
    [ 10%] Generating moc_MapLabel.cxx
    [ 10%] Generating moc_AngleSpinBox.cxx
    [ 10%] Generating moc_LocationDialog.cxx
    [ 11%] Generating moc_DateTimeDialog.cxx
    [ 11%] Generating moc_ViewDialog.cxx
    [ 11%] Generating moc_SearchDialog.cxx
    [ 11%] Generating moc_ConfigurationDialog.cxx
    [ 12%] Generating moc_StelDialog.cxx
    [ 12%] Generating moc_StelMainGraphicsView.cxx
    [ 12%] Generating moc_StelMainWindow.cxx
    [ 13%] Generating moc_QtScriptMgr.cxx
    Scanning dependencies of target stellarium
    [ 13%] Building CXX object src/CMakeFiles/stellarium.dir/core/Audio.o
    [ 13%] Building CXX object src/CMakeFiles/stellarium.dir/core/GeodesicGrid.o
    [ 14%] Building CXX object src/CMakeFiles/stellarium.dir/core/LoadingBar.o
    /home/ediamin/Desktop/stellarium-0.10.0/src/core/LoadingBar.cpp:28:21: error: QGLWidget: No such file or directory
    /home/ediamin/Desktop/stellarium-0.10.0/src/core/LoadingBar.cpp: In member function ‘void LoadingBar::Draw(float)’:
    /home/ediamin/Desktop/stellarium-0.10.0/src/core/LoadingBar.cpp:116: error: invalid use of incomplete type ‘struct QGLWidget’
    /usr/include/qt4/QtGui/qpixmap.h:241: error: forward declaration of ‘struct QGLWidget’
    make[2]: *** [src/CMakeFiles/stellarium.dir/core/LoadingBar.o] Error 1
    make[1]: *** [src/CMakeFiles/stellarium.dir/all] Error 2
    make: *** [all] Error 2
    ediamin@ediamin-desktop:~/Desktop/stellarium-0.10.0/builds/unix$ sudo make
    [sudo] password for ediamin: 
    [  2%] Built target GenerateUiHeaders
    [  3%] Building CXX object src/CMakeFiles/stellarium.dir/core/LoadingBar.o
    /home/ediamin/Desktop/stellarium-0.10.0/src/core/LoadingBar.cpp:28:21: error: QGLWidget: No such file or directory
    /home/ediamin/Desktop/stellarium-0.10.0/src/core/LoadingBar.cpp: In member function ‘void LoadingBar::Draw(float)’:
    /home/ediamin/Desktop/stellarium-0.10.0/src/core/LoadingBar.cpp:116: error: invalid use of incomplete type ‘struct QGLWidget’
    /usr/include/qt4/QtGui/qpixmap.h:241: error: forward declaration of ‘struct QGLWidget’
    make[2]: *** [src/CMakeFiles/stellarium.dir/core/LoadingBar.o] Error 1
    make[1]: *** [src/CMakeFiles/stellarium.dir/all] Error 2
    make: *** [all] Error 2
    ediamin@ediamin-desktop:~/Desktop/stellarium-0.10.0/builds/unix$ cd ..

  8. #8
    Join Date
    Nov 2007
    Beans
    7

    Re: Installing Stellarium 0.10.0 from source

    Quote Originally Posted by status001 View Post
    Thanks for the log. But, still not working. I don't know what is my problem. Everything goes right till 13% of installation. Here is my log. If you do understad this promlem, please help. And by the way, are you using Intrepid? Mine is hardy. Is there anything problem with that. I've installed all the dependecies mentioned in Stellarium-Wiki.

    Are you sure? From the error it looks like you are missing libqt4-dev. Copy the code below and paste it into terminal (thats ctrl+shift+v), then try again.

    --
    Tor Arne Pedersen
    http://hitthebutton.org

    Code:
    sudp aptitude install build-essential libfreetype6-dev cvs libsdl-mixer1.2-dev \
         libpng12-dev libsdl1.2-dev zlib1g-dev libglu1-mesa-dev libgl1-mesa-dev gcc \
         g++ gettext libboost-dev libboost-thread-dev libjpeg-dev \
         libboost-filesystem-dev subversion libqt4-dev graphviz doxygen cmake
    Last edited by torpe0; October 9th, 2008 at 08:19 PM.

  9. #9
    Join Date
    Jun 2008
    Beans
    23

    Re: Installing Stellarium 0.10.0 from source

    Quote Originally Posted by torpe0 View Post
    Are you sure? From the error it looks like you are missing libqt4-dev. Copy the code below and paste it into terminal (thats ctrl+shift+v), then try again.

    Code:
    sudp aptitude install build-essential libfreetype6-dev cvs libsdl-mixer1.2-dev \
         libpng12-dev libsdl1.2-dev zlib1g-dev libglu1-mesa-dev libgl1-mesa-dev gcc \
         g++ gettext libboost-dev libboost-thread-dev libjpeg-dev \
         libboost-filesystem-dev subversion libqt4-dev graphviz doxygen cmake
    I've seen this list before. And I download all these dependencies.
    One thing you don't know that, this version of
    Stellarium needs libqt4-dev version >=4.4.1.
    Which is not in Hardy repository yet. Though,
    I download libqt4-dev 4.4.3 from ubuntu launchpad.net and installed them. There were no dependency problem for it. Later, I check the above dependency list using Synaptic Package Manger. I can asure you, all the dependencies were installed in Synaptic. Now, any suggestion?
    Last edited by status001; October 10th, 2008 at 06:48 AM.

  10. #10
    Join Date
    Sep 2007
    Location
    new york
    Beans
    41
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question Re: Installing Stellarium 0.10.0 from source

    any idea whats going on?

    sudo apt-get install libqt4-dev
    Code:
    The following packages have unmet dependencies:
      libqt4-dev: Depends: libqt4-assistant (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-dbus (= 4.4.0-1ubuntu5~hardy1) but 4.4.3-0ubuntu1 is to be installed
                  Depends: libqt4-designer (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-help (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-network (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-qt3support (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-script (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-sql (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-svg (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-test (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-webkit (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqt4-xml (= 4.4.0-1ubuntu5~hardy1) but 4.4.3-0ubuntu1 is to be installed
                  Depends: libqt4-xmlpatterns (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
                  Depends: libqtcore4 (= 4.4.0-1ubuntu5~hardy1) but 4.4.3-0ubuntu1 is to be installed
                  Depends: libqtgui4 (= 4.4.0-1ubuntu5~hardy1) but it is not going to be installed
    E: Broken packages
    ~/Desktop/stellarium-0.10.0/builds/unix$ cmake ../..
    Code:
    u-- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Looking for include files HAVE_BYTESWAP_H
    -- Looking for include files HAVE_BYTESWAP_H - found
    -- Looking for tzset
    -- Looking for tzset - found
    -- Looking for pow10
    -- Looking for pow10 - not found
    -- Looking for setlocale
    -- Looking for setlocale - found
    -- Looking for snprintf
    -- Looking for snprintf - found
    CMake Error at cmake/FindQt4.cmake:1278 (MESSAGE):
      Qt qmake not found!
    Call Stack (most recent call first):
      CMakeLists.txt:78 (FIND_PACKAGE)

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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