Dear all,
I just want to know how to install Celestia on UBUNTU 16.04 LTS 64-bits as all I have read on different websites doesn't work.
Thanks in advance,
Thibaut
installation on UBUNTU 16.04 LTS
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
the qmake and autotools build i have on my github page builds just fine on linux
there is also a VERY OLD 1.6.0 version in the debian ubuntu repos
should show a hit
or build the current version
https://github.com/JohnVV/MyCelestiaBuild
-- still a work in progress
there is also a VERY OLD 1.6.0 version in the debian ubuntu repos
Code: Select all
su -
apt search celestia
should show a hit
or build the current version
https://github.com/JohnVV/MyCelestiaBuild
-- still a work in progress
jthibaut,
If you want anyone to help, you will have to include a full log of your terminal session, showing all of your commands and everything that happened.
John,
What version(s) of the autotools are you using?
Unfortunately, they're constantly being modified in incompatible ways, so that if one does not use exactly the same version, the autoconf process will fail.
If you want anyone to help, you will have to include a full log of your terminal session, showing all of your commands and everything that happened.
John,
What version(s) of the autotools are you using?
Unfortunately, they're constantly being modified in incompatible ways, so that if one does not use exactly the same version, the autoconf process will fail.
Selden
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
John,
I'd still like to know what version of Autotools you're using. The version of autotools that's available under the version of Ubuntu that you're running is not necessarily the same as the version of autotools that's available under other versions of Linux.
When you run autoconfig, the version number usually is shown at the beginning of each of its status lines.
The version of autoconfig that I'm trying to use is complaining about some of the autoconfig macro definitions. It doesn't get anywhere near being able to try to build Celestia. Unfortunately, I don't recall the details. it's at home and I'm not.
Added after 6 hours 5 minutes:
Here's the terminal log showing the errors I'm seeing.
I'd still like to know what version of Autotools you're using. The version of autotools that's available under the version of Ubuntu that you're running is not necessarily the same as the version of autotools that's available under other versions of Linux.
When you run autoconfig, the version number usually is shown at the beginning of each of its status lines.
The version of autoconfig that I'm trying to use is complaining about some of the autoconfig macro definitions. It doesn't get anywhere near being able to try to build Celestia. Unfortunately, I don't recall the details. it's at home and I'm not.
Added after 6 hours 5 minutes:
Here's the terminal log showing the errors I'm seeing.
Code: Select all
$ autoreconf -v -i
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal -I macros
acinclude.m4:2882: warning: the serial number must appear before any macro definition
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf-2.69: configure.ac: not using Libtool
autoreconf-2.69: running: /usr/bin/autoconf-2.69
autoreconf-2.69: running: /usr/bin/autoheader-2.69
autoreconf-2.69: running: automake --add-missing --copy --no-force
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.13 line 3935.
src/cel3ds/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/cel3ds/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/cel3ds/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
src/celengine/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/celengine/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celengine/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
src/celephem/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/celephem/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celephem/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
src/celestia/gtk/Makefile.am:32: error: library used but 'RANLIB' is undefined
src/celestia/gtk/Makefile.am:32: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celestia/gtk/Makefile.am:32: to 'configure.ac' and run 'autoconf' again.
src/celestia/qt/Makefile.am:76: error: library used but 'RANLIB' is undefined
src/celestia/qt/Makefile.am:76: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celestia/qt/Makefile.am:76: to 'configure.ac' and run 'autoconf' again.
src/celmath/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/celmath/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celmath/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
src/celmodel/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/celmodel/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celmodel/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
src/celtxf/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/celtxf/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celtxf/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
src/celutil/Makefile.am:1: error: library used but 'RANLIB' is undefined
src/celutil/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
src/celutil/Makefile.am:1: to 'configure.ac' and run 'autoconf' again.
autoreconf-2.69: automake failed with exit status: 1
Selden
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
this line looks pertinent
is libtool installed ?
this is what i get
now as to Ubuntu
did you install " build-essential" ?
and the libpng ,lua,and things
you NEED the header files those are in the "-dev.deb" packages
mine is still on QT4 so qmake4 and it's tools are needed
-- in the process of porting to 5
Code: Select all
autoreconf-2.69: configure.ac: not using Libtool
is libtool installed ?
this is what i get
autoreconf -v -i
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I macros
acinclude.m4:2882: warning: the serial number must appear before any macro definition
autoreconf: configure.ac: tracing
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: running: libtoolize --copy
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
acinclude.m4:2882: warning: the serial number must appear before any macro definition
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
now as to Ubuntu
did you install " build-essential" ?
Code: Select all
apt-get install build-essential
and the libpng ,lua,and things
you NEED the header files those are in the "-dev.deb" packages
mine is still on QT4 so qmake4 and it's tools are needed
-- in the process of porting to 5
When I downloaded celestia-1.6.1
I went into the directory.
I typed:./configure && make && make install
I had an error message telling: No package 'gtkglext-1.0' found
I went to synaptic and installed libgtkglextmm-x11-1.2* files
I retyped:./configure && make && make install
and now I have:
In file included from cmdparser.cpp:30:0:
../celestia/celx.h:26:17: fatal error: lua.h: Aucun fichier ou dossier de ce type
compilation terminated.
Makefile:975 : la recette pour la cible « libcelengine_a-cmdparser.o » a échouée
make[3]: *** [libcelengine_a-cmdparser.o] Erreur 1
make[3] : on quitte le répertoire « /home/jacquin/Téléchargements/celestia-1.6.1/src/celengine »
Makefile:536 : la recette pour la cible « all-recursive » a échouée
make[2]: *** [all-recursive] Erreur 1
make[2] : on quitte le répertoire « /home/jacquin/Téléchargements/celestia-1.6.1/src »
Makefile:599 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/jacquin/Téléchargements/celestia-1.6.1 »
Makefile:474 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
I went into the directory.
I typed:./configure && make && make install
I had an error message telling: No package 'gtkglext-1.0' found
I went to synaptic and installed libgtkglextmm-x11-1.2* files
I retyped:./configure && make && make install
and now I have:
In file included from cmdparser.cpp:30:0:
../celestia/celx.h:26:17: fatal error: lua.h: Aucun fichier ou dossier de ce type
compilation terminated.
Makefile:975 : la recette pour la cible « libcelengine_a-cmdparser.o » a échouée
make[3]: *** [libcelengine_a-cmdparser.o] Erreur 1
make[3] : on quitte le répertoire « /home/jacquin/Téléchargements/celestia-1.6.1/src/celengine »
Makefile:536 : la recette pour la cible « all-recursive » a échouée
make[2]: *** [all-recursive] Erreur 1
make[2] : on quitte le répertoire « /home/jacquin/Téléchargements/celestia-1.6.1/src »
Makefile:599 : la recette pour la cible « all-recursive » a échouée
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /home/jacquin/Téléchargements/celestia-1.6.1 »
Makefile:474 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
When I downloaded celestia-1.6.1
I went into the directory.
I typed:./configure && make && make install
I had an error message telling: No package 'gtkglext-1.0' found
I went to synaptic and installed libgtkglextmm-x11-1.2* files
I retyped:./configure && make && make install
and now I have:
In file included from cmdparser.cpp:30:0:
../celestia/celx.h:26:17: fatal error: lua.h: Aucun fichier ou dossier de ce type
compilation terminated.
i am guessing you never read the output of :
Code: Select all
./configure --help
nor any documentation on building software
as in the basics form " linux 101"
you did not install the lua 5.1 source / hearers ( lua5.1-dev)
have a read through
http://www.tldp.org/
and for Debian based distros
http://www.tldp.org/guides.html#debian
FWIW, I finally managed to use John's autoreconf to build Celestia to run under Scientific Linux v7, so in principle it should work for RHEL 7 and Centos 7, too. SL/RHEL/Centos v6 are too old. I dunno about Fedora compatibility. The major stumbling block under v7 was making sure all of the devel rpms were installed.
I could make binaries available if anyone is interested.
Or a zip of everything, for that matter.
I could make binaries available if anyone is interested.
Or a zip of everything, for that matter.
Selden