[ale] include path

Joseph A Knapka jknapka at earthlink.net
Mon Jul 8 16:02:17 EDT 2002


Jim Philips wrote:
> 
> That would be good...if it were an allowable option. I ran ./configure --help
> and there is no option to set this path. Is there no way to tweak the
> environment to add this include path?

export INCLUDE=$(INCLUDE):/usr/local/include/php4
make

ought to work. If you get linkage errors ("unresolved external"
or similar), you will also need to similarly add the location
of the PHP4 .a or .so files to the LIB environment var.

Good luck,

-- Joe

> 
> On Monday 08 July 2002 10:54 am, James P. Kinney III wrote:
> > I think you need to modify a config line on the build. something like:
> >
> > --with-php4=/usr/local/include/php4
> >
> > Sym links won't work as you have discovered.
> >
> > On Mon, 2002-07-08 at 09:03, Jim Philips wrote:
> > > I am trying to build Apache with PHP support. The build fails during the
> > > PHP part because the header files for PHP are not found. They do exist in
> > > sub-directories of:
> > >
> > > /usr/local/include/php4
> > >
> > > But this isn't good enough. I can't just use sym links to
> > > /usr/local/include because the headers themselves have references to the
> > > relative path of other headers. So, how can I modify the include path in
> > > a way that the headers will be found during the make process?

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list