DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12631>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12631 apache 2.0.X configure bug on FreeBSD, redhat 7.2, redhat 7.3 and solaris Summary: apache 2.0.X configure bug on FreeBSD, redhat 7.2, redhat 7.3 and solaris Product: Apache httpd-2.0 Version: 2.0.40 Platform: PC OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: Build AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Hi Team, I'm having my thirdparty module development for apache blocked by a bug in the configure script. For over a year I have been writing special modules for apache. One I have written is over 8,000 lines of code in 5 files. One file is of couse mod_thirdparty.c mod_thirdparty needs its own directory like mod_echo or mod_ssl do. I got mod_thirdparty to work fine for apache 1.2.X series on pc's using operating systems solaris, FreeBSD, redhat 7.2 and redhat 7.3 using the following call to the configure script: ============================================================================ CC="gcc -Wall -pedantic" \ OPTIM="-fpic -fschedule-insns2 -O2" \ SSL_BASE=../openssl-$Open_SSL_Version \ EAPI_MM=SYSTEM \ ./configure \ --prefix=/usr/local/apache \ --enable-module=ssl \ --enable-module=unique_id \ --enable-module=info --enable-shared=info \ --enable-module=rewrite --enable-shared=rewrite \ --enable-module=log_referer --enable-shared=log_referer \ --enable-module=log_agent --enable-shared=log_agent \ --activate-module=src/modules/thirdparty/mod_thirdparty.o \ --enable-module=thirdparty --enable-shared=thirdparty \ --enable-rule=EAPI \ --enable-rule=SHARED_CHAIN \ --enable-rule=SHARED_CORE ============================================================================ Now, for apache 2.0.X Ok, I rewrote all the code for the apr, api, and apache 2.0.X Have tried countless variations of the configure script call. I am trying to build my thirdparty module using the following script (on FreeBSD in this case): ============================================================================ #!/bin/sh cd httpd-2.0.40 make clean CFLAGS="-g -Wall -O2" \ ./configure --prefix=/usr/local/apache2 \ --disable-info \ --disable-status \ --enable-maintainer-mode \ --enable-so \ --enable-ssl \ --enable-echo \ --enable-experimental \ --enable-rewrite=shared \ --enable-imap=shared \ --enable-log_config=shared \ --enable-unique_id=shared \ --enable-thirdparty=shared make cd .. #end script ============================================================================ Problem is I still have to do the following: 1) Before I run the script I must build the httpd-2.0.40/modules/thirdpary subdirectory copy all of my source code to that location. 2) copy: .deps, .indent.pro, Makefile, Makefile.in, NWGNUmakefile, modules.mk, and config.m4 and subdirectory .libs from the httpd-2.0.X/modules/echo directory ./configure already must have been run using ./configure --enable-echo=shared 3) Edit all of the above files and change 'echo' to 'thirdparty' 3) Edit the httpd-2.0.X/build/config_vars.mk file and add 'thirdparty' to the list in the lines that begin with 'MODULE_DIRS=' and 'DSO_MODULES=' 4) rerun the make command in httpd-2.0.X directory. Then it works on FreeBSD and redhat 7.2 and redhat 7.3 Is there a bug in the configure script? Is appache 2.0.X not able to build a thirdparty module from source code in its own directory? httpd-2.0.X/modules/thirdparty -Mark- I teach people how to use apache in college classes so if you help me it will help many other people. Systems Analyst and computer professor AS, AAS, BS, MSEE member of Sage, Usenix, Tau Beta Pi, IEEE Computer Society, Sigma Xi Resesarch Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]