I want to compile Celestia to see the state of the software, because i want to contribute !
I'm on ubuntu 16.10 - 64
I get the github source a i try to compile it with autotools. I hate autotools so I'm not biased.
./autoconf
aclocal
./automake
I skip all warning a i have:
Code: Select all
configure.ac:98: error: required file 'admin/ltmain.sh' not found
configure.ac:83: error: required file 'config.h.in' not found
src/celengine/Makefile.am:9: warning: source file '$(top_srcdir)/thirdparty/glew/src/glew.c' is in a subdirectory,
src/celengine/Makefile.am:9: but option 'subdir-objects' is disabled
src/celengine/Makefile.am:9: warning: source file '$(top_srcdir)/thirdparty/curveplot/src/curveplot.cpp' is in a subdirectory,
src/celengine/Makefile.am:9: but option 'subdir-objects' is disabled
I try ./configure --with-glut and i have :
Code: Select all
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
Anyone can say me who compiling the sources ?
Added after 6 hours 23 minutes:
I have found a solution !
This following standard command
autoconf
aclocal
automake
./configure --with ....
create this error.
Code: Select all
configure.ac:98: error: required file 'admin/ltmain.sh' not found
configure.ac:83: error: required file 'config.h.in' not found
I found a post that explain why : https://www.gnu.org/software/automake/manual/html_node/Error-required-file-ltmain_002esh-not-found.html
I write this following lines :
autoreconf
libtoolize
autoconf
automake
./configure --with-glut
And it works !
I have a makefile, so I can start the process to compile the sources.
The process failed but this is another story.