Page 1 of 1

compiling from SVN on Linux

Posted: 04.05.2009, 02:10
by moonwatcher
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.

Re: compiling from SVN on Linux

Posted: 04.05.2009, 08:19
by t00fri
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

Re: compiling from SVN on Linux

Posted: 04.05.2009, 10:57
by moonwatcher
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.

Re: compiling from SVN on Linux

Posted: 04.05.2009, 11:31
by cartrite
If autoreconf -iv doesn't work, try autoreconf -ivf. You may have to use the -f option depending on distribution and version.
cartrite

Re: compiling from SVN on Linux

Posted: 04.05.2009, 22:01
by moonwatcher
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.

Re: compiling from SVN on Linux

Posted: 15.09.2009, 07:42
by ashhash
Hey sorry to dig this but just wondering how you went with Fedora 11?
Im having no end of trouble getting it to compile...

Re: compiling from SVN on Linux

Posted: 16.09.2009, 03:05
by John Van Vliet
--- edit ---