[ale] include path
Jim Philips
jcphil at mindspring.com
Mon Jul 8 22:08:23 EDT 2002
I am having other problems, but I found the answer to the immediate one. The
variable that needs to be set when compiling "C" programs with gcc is
"C_INCLUDE_PATH". "INCLUDE" alone doesn't have any effect on it. And if you
run gcc with the -v flag, it will tell you where it is searching for
includes.
On Monday 08 July 2002 09:10 pm, Jim Philips wrote:
> Thanks for the suggestion. But it failed in exactly the same way after
> setting that path. And the files it can't find are most definitely in the
> sub-directories I mentioned earlier. So, I'm still stumped on this. I have
> installed many earlier versions of PHP and Apache without running into this
> problem.
>
> On Monday 08 July 2002 04:02 pm, Joseph A Knapka wrote:
> > 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.
>
> ---
> 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.
---
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