installation on UBUNTU 16.04 LTS

Description: Have a question about using Celestia? Check here first for FAQs and helpful advice.
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.

jthibaut
Topic author
jthibaut
Topic author
Posts: 2
With us: 26 days 21 hours

#1by jthibaut » 02.05.2017, 14:02

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

John Van Vliet
Avatar
John Van Vliet
Posts: 2591
With us: 14 years 9 months

#2by John Van Vliet » 14.05.2017, 16:23

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

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
Topic author
jthibaut
Topic author
Posts: 2
With us: 26 days 21 hours

#3by jthibaut » 16.05.2017, 13:40

Sorry
I just follow the instructions that I don't understand and it does not work.
I still have error messages.
There is no simple solution ?

selden
Avatar
selden
Posts: 9994
With us: 14 years 8 months
Location: NY, USA

#4by selden » 16.05.2017, 21:59

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.
Selden

John Van Vliet
Avatar
John Van Vliet
Posts: 2591
With us: 14 years 9 months

#5by John Van Vliet » 19.05.2017, 14:02

the default gcc 4.8 for opensuse 42.2

the code on my github page is the working code I use on my system

i think i stated that this is a version that uses SPICE for orbits and cspice 65 heeds to be installed
-- or turn off that option

selden
Avatar
selden
Posts: 9994
With us: 14 years 8 months
Location: NY, USA

#6by selden » 19.05.2017, 14:12

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.

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
Avatar
John Van Vliet
Posts: 2591
With us: 14 years 9 months

#7by John Van Vliet » Yesterday, 22:26

this line looks pertinent

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


Return to “Help Central”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest