Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 6th, 2001, 08:32 PM
andremal andremal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Posts: 2 andremal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old June 7th, 2001, 01:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old June 7th, 2001, 10:37 AM
andremal andremal is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Posts: 2 andremal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old June 7th, 2001, 11:39 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > trouble building mod_jserv with apxs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway