Description of problem: RHEL 3 ES, ran up2date today (2003-03-09). Building apache jakarta tomcat connectors 4.1.30. available from: http://apache.mirrors.hoobly.com/jakarta/tomcat-4/v4.1.30/src/jakarta-tomcat-connectors-4.1.30-src.tar.gz Want to build the jk version 1 connector in jk/native I run the configure script, run make, and gcc dies with gcc: cannot specify -o with -c or -S and multiple compilations Note that to produce the output that i attached to this bug i modified the file jk/native/common/Makefile to remove the --silent option from libtool. On my RH9 desktop, this build runs successfully. RH9 desktop (success): ~@wrx% rpm -q httpd-devel httpd gcc libtool httpd-devel-2.0.40-21.9 httpd-2.0.40-21.3 gcc-3.2.2-5 libtool-1.4.3-5 ES3 server (failure): [danno@icdb0 native]$ rpm -q httpd-devel httpd gcc libtool httpd-devel-2.0.46-26.ent httpd-2.0.46-26.ent gcc-3.2.3-24 libtool-1.4.3-6 Version-Release number of selected component (if applicable): see abovee How reproducible: always Steps to Reproduce: 1. see above 2. 3. Actual results: gcc error Expected results: modules compile Additional info:
Created attachment 98412 [details] configure command line & make output
Changing product and version.
This behavior was *not* on RHEL public beta - it was on a licensed copy of RHEL. I don't have software support, just updates, so i assumed the only way to get this info to you was to file a bug here.
Marking as duplicate of bug 112771 - there was an issue with the config_vars.mk file shipped in the httpd-devel package which was fixed in an erratum update. If not that, this is likely to be some other mod_jk2 issue, not a libtool issue. http://rhn.redhat.com/errata/RHSA-2004-084.html *** This bug has been marked as a duplicate of 112771 ***
There is still a problem on the file config_vars.mk. At the bottom of the file, there are defined the variables APR_INCLUDEDIR and APU_INCLUDEDIR, with erroneous locations. Besides that (what really causes the error) APR_INCLUDEDIR = /one/dir/ /other/dir Which results on something like: gcc ..... -I/one/dir /other/dir Giving the error of multiple compilations...
Paulo, can you file a new bug describing the issue you have and which version of the httpd-devel package you are using? APR_ and APU_INCLUDEDIR should both be set to /usr/include/httpd in any recent version of httpd. # grep _INCLUDEDIR config_vars.mk APR_INCLUDEDIR = /usr/include/httpd APU_INCLUDEDIR = /usr/include/httpd
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.