[ale] re-compiling an older source package....

Jim Lynch ale_nospam at fayettedigital.com
Tue Oct 27 09:56:14 EDT 2009


Jim Popovitch wrote:
> Long story... here's the pertinent parts:
>
> I have an older source package that I want to re-compile for a newer
> kernel. However, I want (need) this source to compile with an older
> set up includes, not those in /usr/include.   I've tried adding things
> to Makefile.am, and then running "autoconf --gnu Makefile" to no
> avail.    What is the trick to overwriting "includes" path and making
> it supported by the next person who runs ./configure ?
>
> -Jim P.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>   
In my Makefile.am I have the following:

INCLUDES = -I/usr/include/cc++2 -I/usr/local/include -I/usr/include/mysql

Which seems to work.  The steps to get to a working make are:
aclocal
libtoolize
autoconf
autoheader
automake -a
./configure

A make dist-clean will remove the right stuff so that all that is 
necessary the next time is the ./configure step.

At least for my gnu make projects that's what works.

Jim.


More information about the Ale mailing list