On 06/27/2015 10:53 AM, Anthony Rutledge wrote:
DSOs not being built from source? Apache 2.4.12 & CentOS 7 (x86_64)
This is a good question for those who are experts at installing Apache
2.4.12 from source.
First, no errors are being generated. My "configure, make, make
install" sequence successfully creates a /usr/local/apache2/ directory.
Second, I have read the manual, poured over ./configure -h, searched
the web, and no where does there seem to be anyone experiencing the
same problem as me.
No matter what "configure --foo-bar" sequence/combination I use, the
shared modules are never built, or I cannot find them. I expect them
to be under /usr/local/modules/, but all I get are *.a and *.la files.
Alright, gurus, what am I missing?
Again, no matter what configure sequence/combination I try, *.so (DSO)
files are never built, or I cannot find them.
apachectl -l does list mod_so as being compiled in statically.
(P.S. Also posted on: ServerFault at
http://serverfault.com/questions/701992/apache-2-4-12-centos-7-dso-shared-modules-not-being-built-during-compile
)
Can someone explain why no DSO's are being built, or how to build at
least one? Very strange.
Maybe you didn't "make distclean" between attempts at different
configure invocations in the same dirty source tree?
Here's one simple recipe to try:
(change /tmp/test-config if you don't have sufficient space there)
unpack source again
cd httpd-2.4.12
./configure --enable-mods-shared=few --prefix=/tmp/test-config > cfgout
2>&1 && make >makeout 2>&1 && make install > installout 2>&1 && ./httpd
-l && ./httpd -M
Does it finish? What is the output?