compiling from SVN on Linux

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.
Topic author
moonwatcher
Posts: 3
Joined: 28.04.2009
With us: 15 years 6 months
Location: Georgia, USA

compiling from SVN on Linux

Post #1by moonwatcher » 04.05.2009, 02:10

Hello,

I'm trying to compile celestia in Linux fron SVN revision 4716, but I'm having a problem getting 'make -f Makefile.cvs' to complete. When it gets to admin/cvs.sh, it complains about a missing file (admin/detect-autoconf.pl). In previous versions, it used admin/detect-autoconf.sh, so I tried this to provide the variables about the automake, etc. programs. But still no luck (it failed to create acinclude.m4 - 'no rule to make target'). I must have overlooked something in other posts and faqs, so maybe I'm not doing something right. (I think I have all the prerequisite software installed - I've successfully built other versions before this).

I don't know if this is relevant, but I'm only building the Gnome interface (not KDE). And the svn checkout I'm using is from 'svn co https://celestia.svn.sourceforge.net/sv ... tia/trunk'.

I'm really interested in trying 1.6.0, any help would be greatly appreciated.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: compiling from SVN on Linux

Post #2by t00fri » 04.05.2009, 08:19

moonwatcher wrote:Hello,

I'm trying to compile celestia in Linux fron SVN revision 4716, but I'm having a problem getting 'make -f Makefile.cvs' to complete. When it gets to admin/cvs.sh, it complains about a missing file (admin/detect-autoconf.pl). In previous versions, it used admin/detect-autoconf.sh, so I tried this to provide the variables about the automake, etc. programs. But still no luck (it failed to create acinclude.m4 - 'no rule to make target'). I must have overlooked something in other posts and faqs, so maybe I'm not doing something right. (I think I have all the prerequisite software installed - I've successfully built other versions before this).

I don't know if this is relevant, but I'm only building the Gnome interface (not KDE). And the svn checkout I'm using is from 'svn co https://celestia.svn.sourceforge.net/sv ... tia/trunk'.

I'm really interested in trying 1.6.0, any help would be greatly appreciated.

The required command has recently changed:

type instead of make -f Makefile.cvs:

> autoreconf -iv

and thereafter as usual
> ./configure --with-...

For people compiling from SVN (with Linux) it is useful to gance at the developers' list

celestia-developers@lists.sourceforge.net

from time to time...The point being that our Linux maintainer (Pat Suwalski) is not showing up in this forum.

Good luck,

Fridger
Image

Topic author
moonwatcher
Posts: 3
Joined: 28.04.2009
With us: 15 years 6 months
Location: Georgia, USA

Re: compiling from SVN on Linux

Post #3by moonwatcher » 04.05.2009, 10:57

Hi, Fridger,

Thanks very much for the reply.
I had overlooked the developer's section. I'll use the autoreconf command, I'm pretty sure everything will work now.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: compiling from SVN on Linux

Post #4by cartrite » 04.05.2009, 11:31

If autoreconf -iv doesn't work, try autoreconf -ivf. You may have to use the -f option depending on distribution and version.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Topic author
moonwatcher
Posts: 3
Joined: 28.04.2009
With us: 15 years 6 months
Location: Georgia, USA

Re: compiling from SVN on Linux

Post #5by moonwatcher » 04.05.2009, 22:01

Hi cartrite,

Thanks for the tip on using the 'f' argument to autoreconf, but 'autoreconf -iv' seemed to work perfectly for me (thanks again, Fridger), at least I have a successful build ! :D

autoreconf -iv; ./configure --prefix=/usr --with-gnome; make; make install --- this was successful on an old Fedora 9 system (gcc-4.3.0, glibc-2.8, autoconf-2.61, automake-1.10.1, GConf-2.22.0, Gnome-2.22.3) and my own build of xorg-1.4.0 (to work around NVIDIA driver issues). Celestia loads up and runs (so far) without any problems.
I'm building a Fedora 11 (rawhide) system, and will try to compile again later on that one, with updated software.

ashhash
Posts: 5
Joined: 15.09.2009
With us: 15 years 2 months

Re: compiling from SVN on Linux

Post #6by ashhash » 15.09.2009, 07:42

Hey sorry to dig this but just wondering how you went with Fedora 11?
Im having no end of trouble getting it to compile...

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: compiling from SVN on Linux

Post #7by John Van Vliet » 16.09.2009, 03:05

--- edit ---


Return to “Help Central”