apxs:Error: Invalid query string `CPPFLAGS'

Cantor, Scott cantor.2 at osu.edu
Fri Aug 2 15:40:57 EDT 2013


On 8/2/13 3:22 PM, "pirulo" <support at pureview.com> wrote:

>Any help!
>
>No matter what I do to compile I'm getting this error over and over again.
>I'll really appreciated any help

Well, Oracle's apxs script is broken, which may prevent this from ever
working easily, and on top of that I suspect the build error is because
you're trying to use a 32-bit Apache on a 64-bit OS.

You would have to install all of the dependencies 32-bit, which is easy
enough, but also get the build to be 32-bit. I don't recall how to specify
that, but it would require CFLAGS and CXXFLAGS to contain whatever
compiler option it takes to control that.

I don't know if it's even possible to do any of that via rpmbuild. I will
repeat for the second time that you should forget the rpmbuild approach
and build the SP from source first so you control the build more directly.

-- Scott




More information about the users mailing list