httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dnyaneshwar Nadre" <dnyaneshwar.na...@gmail.com>
Subject [users@httpd] Purify build of Apache2 on Linux
Date Wed, 21 Nov 2007 15:26:16 GMT
Hi All,

We have one Filter Implementation on Apache2 web server on Linux . Now
we are suspecting that there is memory leak in this webpass.so. So we
got purify build of this filter. However we think that we need purify
build of Apache2 on Linux.
We tried to build Purify version of Apache2. Actually Apache2 uses
tool called libtoll to generate "httpd" executable . Command line for
"httpd" is as follows

/scratch/ramishr/httpd-2.0.55/srclib/apr/libtool  --silent --mode=link
purify -force-rebuild -gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/scratch/ramishr/httpd-2.0.55/srclib/apr/include
-I/scratch/ramishr/httpd-2.0.55/srclib/apr-util/include -I.
-I/scratch/ramishr/httpd-2.0.55/os/unix
-I/scratch/ramishr/httpd-2.0.55/server/mpm/prefork
-I/scratch/ramishr/httpd-2.0.55/modules/http
-I/scratch/ramishr/httpd-2.0.55/modules/filters
-I/scratch/ramishr/httpd-2.0.55/modules/proxy
-I/scratch/ramishr/httpd-2.0.55/include
-I/scratch/ramishr/httpd-2.0.55/modules/generators
-I/scratch/ramishr/httpd-2.0.55/modules/dav/main -export-dynamic    -o
httpd  modules.lo  modules/aaa/mod_access.la modules/aaa/mod_auth.la
modules/filters/mod_include.la modules/loggers/mod_log_config.la
modules/metadata/mod_env.la modules/metadata/mod_setenvif.la
modules/http/mod_http.la modules/http/mod_mime.la
modules/generators/mod_status.la modules/generators/mod_autoindex.la
modules/generators/mod_asis.la modules/generators/mod_cgi.la
modules/mappers/mod_negotiation.la modules/mappers/mod_dir.la
modules/mappers/mod_imap.la modules/mappers/mod_actions.la
modules/mappers/mod_userdir.la modules/mappers/mod_alias.la
modules/mappers/mod_so.la server/mpm/prefork/libprefork.la
server/libmain.la os/unix/libos.la
/scratch/ramishr/httpd-2.0.55/srclib/pcre/libpcre.la
/scratch/ramishr/httpd-2.0.55/srclib/apr-util/libaprutil-0.la -lgdbm
-ldb-4.1 -lexpat /scratch/ramishr/httpd-2.0.55/srclib/apr/libapr-0.la
-lrt -lm -lcrypt -lnsl -lpthread -ldl

We tried following combinations
1) Tried with <purify -force-rebuild> <libtool> <-gcc > ( For clarity
above entire command line is not mentinded. However assume it is
there). This getting failed since purify expects one of c++ compiler
over there.
2) Tried with <purify -force-rebuild>  <-gcc >. This is also failing
since libtool is responsible for generating "httpd".
3) Tried with <libtool> <purify -force-rebuild > <-gcc >. This is also failing.

Can some one please provide us pointers on how to get purify build of
Apache2 web server on Linux?
Thanks in advance.

Dnyaneshwar Nadre

---------------------------------------------------------------------
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