mod_webapp build problem
Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp build problem
Srinidhi H. a écrit : Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Well i had the same pb on SOLARIS 8 after i made some modifications... I was workin' under root, to have my installations achieved, and obviously with /bin/sh shell... As i like the completion and other stuff, i used the ENV=$HOME/.kshrc; export ENV features to get some special features when enter an exec ksh. In this .kshrc i had an echo New Shell : $0, just to know where i am. I tried then to have my mod_webapp compiled and had the error yu mentionned. I investigated: When yu launch the webapp/support/buildconf.sh if [ -f ./apr/buildconf ] then echo --- Running the \buildconf\ script for APR ( cd ./apr sh ./buildconf ) The script looks for webapp/apr/buildconf and if true, generates a child process () and executes a sh ./buildconf The first thing is done is to make an sh of apr/biuld/biuldconf.sh and in this third fiel yu have : ac_version=`autoconf --version 2/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` The head -1 says to bind the sed to the first line of the `autoconf --version` In My case, the first line was the echoed cmd of my .kshrc file, cause i was under ksh ! ksh# New Shell -ksh autoconf (GNU Autoconf) 2.52 Written by David J. MacKenzie. So try to trace this file and yu'll get it ! The best has to be to stay under /bin/sh Hope this help, JLB :O) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: mod_webapp build problem
I had the same Problem. I'll forward you the answer which helped me ... Hi Christian, Sorry it tool so long to reply. Yes I have installed mod_webapp correctly. The biggest problem is the fact that hp-ux does not keep zero length string in the shell memory. the configure script script however perform a number of tests on string throughout the script. By using a couple dozen echo statements the only place I found that I needed to override the logic was near the bottom your configure script should have something like this around line 2000 or so if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile if ${TEST} -z ${APR_VARFIL} at least for me, at this point APR_VARFIL should not contain a value so I change the if logic to if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile APR_VARFIL=I am really empty echo I have $MODULE and am using the hardcoded value for APR_VARFIL if ${TEST} -n ${APR_VARFIL} The script will work. you may have to make a change in the make file as well somewhere along the line $(MFLG) gets set to b which my make has trouble deal with so in Makefile change template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MFLG) $(MTGT)\ ; \ $(MAKE) $(MFLG) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } to template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MTGT)\ ; \ $(MAKE) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } Let me know if you have any problems I can send you my mod_webapp.so file Jeffrey Peloquin -Ursprüngliche Nachricht- Von: Srinidhi H. [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. April 2002 14:51 An: Tomcat-User (E-mail) Betreff: mod_webapp build problem Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: mod_webapp build problem
Depending on how your system is set up you will also need the gnu tools autoconf m4 libtool and if you go on to use APACHE SSL you will need flex HP has depots for autoconf and m4 at http://hpdrdev.fc.hp.com/OpenSource/Tools/autoconf/autoconf.html http://hpdrdev.fc.hp.com/OpenSource/Tools/m4/m4.html libtool and flex as well as autoconf and m4 can be obtained at http://www.gnu.org/ as tar files. Below in the message from Christian, I make mention of a problem with the letter b making it into the build commands. I have not had a chance to check but I think it is from this line in the apache/bin/apxs script my $CFG_LDFLAGS_SHLIB = q(-b); # substituted via Makefile.tmpl I would guess removinf the -b would fix the make problem Also, one person I know of, has encounted a number of syntax errors with the make scripts generated by the mod-webapp configure scripts. This appears to be a system specific issue, as he gets the same problem when I send him a tar of my src directory. good luck Jeff Peloquin -Original Message- From: Schulze Christian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:20 AM To: 'Tomcat Users List' Subject: AW: mod_webapp build problem I had the same Problem. I'll forward you the answer which helped me ... Hi Christian, Sorry it tool so long to reply. Yes I have installed mod_webapp correctly. The biggest problem is the fact that hp-ux does not keep zero length string in the shell memory. the configure script script however perform a number of tests on string throughout the script. By using a couple dozen echo statements the only place I found that I needed to override the logic was near the bottom your configure script should have something like this around line 2000 or so if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile if ${TEST} -z ${APR_VARFIL} at least for me, at this point APR_VARFIL should not contain a value so I change the if logic to if ${TEST} -z ${MODULE} then echo $ac_terror 16 { echo configure: error: No target module specified 12; exit 1; } fi echo $ac_t${MODULE} 16 CFGFILES=${CFGFILES} ./${MODULE}/Makefile APR_VARFIL=I am really empty echo I have $MODULE and am using the hardcoded value for APR_VARFIL if ${TEST} -n ${APR_VARFIL} The script will work. you may have to make a change in the make file as well somewhere along the line $(MFLG) gets set to b which my make has trouble deal with so in Makefile change template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MFLG) $(MTGT)\ ; \ $(MAKE) $(MFLG) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } to template: @ { \ $(ECHO) ; \ $(MECHO) Entering directory \$(MDIR)\ ; \ cd $(MDIR) ; \ $(MECHO) Invoking \$(MAKE) $(MTGT)\ ; \ $(MAKE) $(MTGT); \ RET=$$? ; \ $(MECHO) Exiting directory \$(MDIR)\ ; \ cd $(SRCDIR) ; \ if test $${RET} != 0 ; then \ exit $${RET} ; \ fi ; \ } Let me know if you have any problems I can send you my mod_webapp.so file Jeffrey Peloquin -Ursprüngliche Nachricht- Von: Srinidhi H. [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. April 2002 14:51 An: Tomcat-User (E-mail) Betreff: mod_webapp build problem Hello, I am trying to build mod_webapp module on hp-ux platform and getting the following error while running configure script of this module. I ran the following command after building libtool and placing it in current path. #./configure --with-apxs=/opt/apache1322/bin/apxs Building APR configure script Invoking: ./buildconf in /opt/apache1322/webapp-module-1.0-tc40/apr APR buildconf: buildconf: checking installation... APR buildconf: buildconf: autoconf not found. APR buildconf: You need autoconf version 2.13 or newer installed APR buildconf: to build Apache from CVS. Execution of ./buildconf returned 1 configure: error: APR buildconf terminated with error code 1 Can any one help me out to over come the above mentioned error. Regards, Srinidhi -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
mod_webapp build problem
Hey Everybody, I'm having trouble building mod_webapp.so v1.0.1 on my redhat 7.2 system. Possibly because my libtool is version 1.4 instead of 1.3something. There is a binary copy of mod_webapp v1.0 at the Jakarta site but only source for v1.0.1. Does anybody know were I can get a binary of v1.0.1? I'm looking for one for both apache 1.3.22 and 2.0.28. It seems to me that these would be good things to have in the binaries dir on the Jakarta site. Are there any plans to add these in the future? Any information would be helpful. Thanks. -Cavan Morris -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp build problem (Related to earlier mapping problemquestion)
Jim Handwerk [EMAIL PROTECTED] wrote: I managed to find an earlier missive in the archives about the problem I was having and Pier responded that there was a patch for the source. Whether this works or not, I'm still trying to find out. I can't seem to build the module with the instructions in the readme for the WebApp library. System info: RH7.1, Apache 1.3.20, downloaded binary from apache.org, Tomcat4.0b7 CVS downloads seem to be ok (and the latest include the patch mentioned -- which is not in 4b7 src dist) buildconf.sh appears to run ok as well. When I run: ./configure --with-apxs things fall apart. End of the checking list returned looks like this: checking Tomcat 4.0 directory... not required checking for apxs... /usr/local/apache/bin/apxs checking if apxs is working... ./configure: /usr/local/apache/bin/apxs: No such file or directory no configure: error: apxs is unworkable Any help would be greatly appreciated. Aha... I finally found the source of all great problems... It's the binary distribution from Apache.ORG which seems to include a non-working APXS... I'll dig into it... Stay tuned... Pier
mod_webapp build problem (Related to earlier mapping problem question)
I managed to find an earlier missive in the archives about the problem I was having and Pier responded that there was a patch for the source. Whether this works or not, I'm still trying to find out. I can't seem to build the module with the instructions in the readme for the WebApp library. System info: RH7.1, Apache 1.3.20, downloaded binary from apache.org, Tomcat4.0b7 CVS downloads seem to be ok (and the latest include the patch mentioned -- which is not in 4b7 src dist) buildconf.sh appears to run ok as well. When I run: ./configure --with-apxs things fall apart. End of the checking list returned looks like this: checking Tomcat 4.0 directory... not required checking for apxs... /usr/local/apache/bin/apxs checking if apxs is working... ./configure: /usr/local/apache/bin/apxs: No such file or directory no configure: error: apxs is unworkable Any help would be greatly appreciated. Thanks, Jim Handwerk