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

Brian Pitts brian at polibyte.com
Mon Oct 26 13:15:19 EDT 2009


On 10/26/2009 12:32 PM, 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 ?
> 

I think the easiest thing is to use the I flag of the preprocessor and
the L flag of the linker. Thus something like

CPPFLAGS="-I /opt/include" LDFLAGS="-L /opt/lib" ./configure

Hopefully someone else can verify.

-- 
All the best,
Brian Pitts


More information about the Ale mailing list