-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
After hours of searching I ended up trying this to compile the module on 64 bit
debian 6 (squeeze) using a 32 bit apache as a part of the XAMPP stack
(apachefriends)
What steps will reproduce the problem?
1. ./configure CFLAGS="-m32" LDFLAGS="-m32" CXXFLAGS="-m32" CPPFLAGS="-m32"
--with-apxs=/opt/lampp/bin/apxs
2. make check
3. make install
It finishes fine, however when I try to stop apache (/opt/lampp/lampp
stopapache)
it reports back :
Failed loading /opt/lampp/modules/mod_auth_token.so:
/opt/lampp/modules/mod_auth_token.so: wrong ELF class: ELFCLASS64
which means that somewhere it is not building for 32 bit but rather 64 bit.
What version of the product are you using? On what operating system?
this is with both versions of mod-auth-token.
Please provide any additional information below.
I think using XAMPP could also be a problem, but after downloading xampp-dev I
could at least finally compile it, but it still reports the wrong ELF so I must
be missing a parameter for ./configure somewhere.
Since it would be much easier, I would love a link to the 32 bit version of
mod_auth_token.so. I'm pretty sure this would solve my problem, but i'm still
curious on how to actually compile it for 32 bit so 32bit apache can actually
load the module.
Any assistance would be appreciated :)
Original issue reported on code.google.com by Elevator...@gmail.com on 7 Nov 2011 at 11:22