|
How to modify makefile.in or makefile.am
Hi, guys:
I need to modify some code of the GNU project, and add some new c++ programs(.h, .cc), but now I am confused of how to use 'make' to recompile the modified project again. There are some similar makefile.am files, I copied one and replaced some specific words with the names of newly added files, but it does not work.
The files 'Makefile.in' in my project are generated by automake 1.8.3, but the aotomake in redhat9.0 is 1.6.3. When I automake the project, it says:
configure.in:26: 'automake requires ' AM_CONFIG_HEADER', not 'AC_CONFIG_HEADER'
aclocal.m4:6026: version mismatch. This is automake 1.6.3, but aclocal.m4 was generated for Automake 1.8.3.
configure.in: required file './mkinstalldirs' not found
configure.in:15: require version 1.7, but have 1.6.3
I searched automake-1.8.3 in rpm.phone.net, but I did not find that version in redhat 9.0.
I am definitely be spoiled by MS visual studio products, is there a way to quickly learn how to compile c++ projects in linux.
Thanks!
|