Talk:Compilation on Linux

From Stellarium Wiki
(Difference between revisions)
Jump to: navigation, search
(mkinstalldirs)
(Undo revision 11525 by Ccm001 (talk) Removed spam)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Compiling on Ubuntu==
 
 
With a normal install of Ubuntu 5.10, I also needed to install automake and the freetype library to compile Stellarium.
 
 
 
===Note from Barry Gerdes on the apt-get command===
 
This worked correctly for me the first time I tried it but when I tried it on my second computer with a different ISP it hung because it could not find "libfreetype6-dev cvs" I re-entered the above command without this and got all the rest OK then did a search and downloaded the file separately from www.freetype.org
 
 
''Response'': The apt-get failure could have been a network glitch, or that the two machines had different repository settings (either download from different mirrors, one of which was missing some files, or that one machine didn't have multiverse enabled or something) [[User:Matthewg42|Matthewg42]] 03:53, 18 April 2006 (PDT)
 
 
 
==Subversion development version 1545 Boost error?==
 
==Subversion development version 1545 Boost error?==
  
Line 23: Line 13:
  
 
A file of "mkinstalldirs" is included in 0.8.2 tar ball. I think that it only have to be copied for svn version. And in Ubnutu 6.10, directory which exist "mkinstalldirs" is <code>/usr/share/automake-1.9/</code>.--[[User:Sigma|Sigma]] 02:46, 7 February 2007 (PST)
 
A file of "mkinstalldirs" is included in 0.8.2 tar ball. I think that it only have to be copied for svn version. And in Ubnutu 6.10, directory which exist "mkinstalldirs" is <code>/usr/share/automake-1.9/</code>.--[[User:Sigma|Sigma]] 02:46, 7 February 2007 (PST)
 +
 +
===Barry's GL file problems on Ubuntu===
 +
#gl.h and glext.h need to be present in /usr/include/GL. On one install this was missing, and for some reason the package which provides them - mesa-common-dev - mysteriously didn't.  In this case, fetching the source with "apt-get source mesa-common-dev" and manually copying the files worked. A bug in the original mesa driver files gave some display problems. down loading the mesalib-6.5.2.tar from www.mesa3d.org, recompiling and installing the libraries also removed the problem.
 +
#If trouble is experienced in installing the libboost-thread-dev and libboost-filesystem-dev, they are held in the universe repository. Enable this repository in the Synaptic package manager - settings menu-repositories.

Latest revision as of 13:08, 19 August 2011

Subversion development version 1545 Boost error?

I'm running into problems with the latest SVN code (1545). When doing "make", I get this error. It's something to do with the Boost library, but I can't resolve it.

stelmodule.h: In member function ‘ValueType StelModule::getProperty(const std::string&)’:
stelmodule.h:106: error: no matching function for call to ‘StelModule::propertyAccessor::get() const’

I've done

./configure --with-boost=./configure --with-boost=/usr/local/include/boost/

but on "make" I still run into the same error. Fabien has added a macro to seek the boost library on configure, but the error remains.

mkinstalldirs

A file of "mkinstalldirs" is included in 0.8.2 tar ball. I think that it only have to be copied for svn version. And in Ubnutu 6.10, directory which exist "mkinstalldirs" is /usr/share/automake-1.9/.--Sigma 02:46, 7 February 2007 (PST)

Barry's GL file problems on Ubuntu

  1. gl.h and glext.h need to be present in /usr/include/GL. On one install this was missing, and for some reason the package which provides them - mesa-common-dev - mysteriously didn't. In this case, fetching the source with "apt-get source mesa-common-dev" and manually copying the files worked. A bug in the original mesa driver files gave some display problems. down loading the mesalib-6.5.2.tar from www.mesa3d.org, recompiling and installing the libraries also removed the problem.
  2. If trouble is experienced in installing the libboost-thread-dev and libboost-filesystem-dev, they are held in the universe repository. Enable this repository in the Synaptic package manager - settings menu-repositories.
Personal tools
Namespaces
Variants
Actions
in this wiki
other languages
Toolbox