Running CentOS 5.3 x86_64, and Apache httpd-2.2.9, which is successfully 
compiled.

I do a 

 ./configure \
    --with-apxs=/usr/local/apache2/bin/apxs \
    --with-httpd-src=/home/sparks/install/httpd-2.2.9

I'll add that the apxs path is valid.  There's an -fPIC error which is also 
curious....

Anyway, after the configure, I then do a make.

It errors out.  The last few lines of output are:

/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_security2.la  
-L/home/sparks/install/httpd-2.2.9/srclib/pcre -L/usr/local/apache2/lib -lpcre 
-lxml2 -lz -lm -rpath /usr/local/apache2/modules -module -avoid-version    
msc_release.lo msc_lua.lo acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo 
persist_dbm.lo msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo 
msc_multipart.lo msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo 
re_actions.lo re_operators.lo re.lo apache2_util.lo apache2_io.lo 
apache2_config.lo mod_security2.lo
/usr/bin/ld: 
/home/sparks/install/httpd-2.2.9/srclib/pcre/.libs/libpcre.a(maketables.o): 
relocation R_X86_64_32 against `a local symbol' can not be used when making a 
shared object; recompile with -fPIC
/home/sparks/install/httpd-2.2.9/srclib/pcre/.libs/libpcre.a(maketables.o): 
could not read symbols: Bad value
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

   === Al


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to