Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.