Red Hat Bugzilla – Bug 236664
Cannot compile apr applications, apr-i386.h contains x86_64'ishs typedef
Last modified: 2007-11-30 17:07:29 EST
Description of problem:
Cannot compile apr applications, apr-i386 contains x86_64'ishs
Version-Release number of selected component (if applicable):
compile PHP or anitything that require apr.h
Will just going to attach patch which should explain everything
Created attachment 152734 [details]
Type fixes on 32
Thanks for contacting us.
This is not a bug; it's an expect part of LFS support in APR.
To build applications against APR, you need to pass the output of
`apr-1-config --cppflags --cflags --includes`
to the compiler. This will ensure the off64_t type is defined. Recent versions
of PHP do this automatically.