httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <marko.aspl...@kronodoc.com>
Subject [users@httpd] building Apache 2 with static libraries & DSO modules
Date Tue, 01 Jun 2004 08:25:36 GMT
hi

i'm trying to build Apache 2.0.49 on Red Hat Enterprise Linux 3 with 
statically linked apr, apr-util and expat libraries (and dynamically 
linked system libraries) but with DSO support enabled. the only way 
i've been able to statically link these libraries has been to build and 
configure them separately from the Apache binary. statically linking 
the libraries goes fine now but i'm unable to build DSO modules. the 
modules that appear in the installation directory are not shared 
objects. here's a what the modules directory contains after the build:

httpd.exp            mod_proxy_connect.la  mod_proxy_http.a
mod_proxy.a          mod_proxy_ftp.a       mod_proxy_http.la
mod_proxy_connect.a  mod_proxy_ftp.la      mod_proxy.la

how can i build Apache modules as DSO objects?


here's how i'm building Apache:

setenv APHOME /home/aspa/tmp/ap/ap20

cd srclib/apr
./configure --prefix=$APHOME/apr --enable-shared=no
make && make install
cd ../apr-util/xml/expat
./configure --prefix=$APHOME/expat --enable-shared=no
make && make install
cd ../..
./configure --prefix=$APHOME/apr-util --with-expat=$APHOME/expat 
--with-apr=$APHOME/apr --enable-shared=no
make && make install
cd ../..
./configure --prefix=$APHOME --with-expat=$APHOME/expat 
--with-apr-util=$APHOME/apr-util --with-apr=$APHOME/apr 
--enable-proxy=shared --enable-proxy-http=shared --enable-shared 
--enable-so
make && make install


best regards
--
		aspa


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message