|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
trouble building mod_jserv with apxs
Hello
I have a pc with RH 7.1. I've installed Apache 1.3 on it and Tomcat 3.2.2 as well. I need to build the web adapter using mod_jserv.c which is included with the source release of Tomcat. I'm getting an error when trying to build it with apxs. Here is what I get. Any help would be appreciated. apxs -c -o mod_jserv.so *.c from jakarta-tomcat-3.2.2-src/src/native/apache/jserv/ gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c autochange.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_ajpv11.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_pjpv12.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_balance.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_image.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_mmap.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_protocols.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_status.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_utils.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_watchdog.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c jserv_wrapper_win.c gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_XPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -c mod_jserv.c -o mod_jserv.so mod_jserv.o jserv_wrapper_win.o jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o jserv_utils.o jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o jserv_ajpv12.o jserv_ajpv11.o autochange.o apxs:Break: Command failed with rc=16777215 |
|
#2
|
|||
|
|||
|
There are way too many dependencies you must install prior to compile mod_jserv.so or Tomcat. We also have no clue what was your configure options. Another thing, compiling Apache with a prefix or /usr/local/apache is asking for troubles. /usr/local/apache is absolutely non-standard.
Anyhow, you would get better help if you post this to Java Servlets & JSP forum plus all the details I just mentioned above. |
|
#3
|
|||
|
|||
|
thanks for the reply
I posted this here because apxs is part of Apache. I've been working with Linux, apache and other assorted apps for all of 2 weeks now. Crash course if you will.
![]() The reason I installed apache to /usr/local/apache is I had it previously installed as part of Oracle 8i. when I tried to run apxs it kept looking for my httpd.conf file at that location. It was also given as an example in the install guide. It's never too late to intall it somewhere else! I'll mirror my post over in the Java Servlets & JSP forum. I'm not sure what configuration options I would include. Any suggestions would be welcome. One last question, where do you suggest I install apache if /usr/local/apache is looking for trouble? thanks again |
|
#4
|
|||
|
|||
|
>> I posted this here because apxs is part of Apache
I am not saying your message is off-topic here, but your message definitely fits best in Java Servlets & JSP forum. If Java Servlets & JSP forum doesn't exist, this forum would be best. >> It's never too late to intall it somewhere else! Then reinstall it. >> I'll mirror my post over in the Java Servlets & JSP forum No, don't cross-post under any circumstance. Everyone hates it. Devshed hates it too. >> where do you suggest I install apache if /usr/local/apache is looking for trouble? I disscussed this all over the web. You can check linuxnewbie.org about it too. As for Devshed here, do a search with keyword standard under my username in this forum. Then decide if you should use /usr/local as the prefix. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > trouble building mod_jserv with apxs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|