RE: Cant compile tomcat 4.0.3 as a module to apache 2.0

2002-06-14 Thread Turner, John


Sorry, but that doesn't make a whole lot of sense.  Your first message
specifically says "when trying to install tomcat as a module to
apache 2.36".  So how can you have a box without apache if what you're
trying to do is install mod_webapp as a connector???

You might also want to try getting and building APR via CVS, as it explains
in the mod_webapp README.txt file, instead of downloading and untarring. 

Seriously, do a "find" on your system and look for apxs.  My guess is you
have two apxs's out there, and the one you're pulling in (/usr/sbin/apxs)
isn't the one you want for apache 2.  You want the other one.

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Segree, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 10:41 AM
To: 'Tomcat Users List'
Subject: RE: Cant compile tomcat 4.0.3 as a module to apache 2.0


John I dont think it can be apache 1.3 because I built the box without
apache and compiled from source.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 8:25 AM
To: 'Tomcat Users List'
Subject: RE: Cant compile tomcat 4.0.3 as a module to apache 2.0



I think you might be dragging in the wrong apxs.  As far as I know,
/usr/sbin/apxs is the apxs for Apache 1.3.  If you've installed Apache 2,
the apxs you want should be somewhere like $APACHE_HOME/bin.  I don't have
access to my apache 2 box at the moment, but I got a similar error and
solved it by not using /usr/sbin/apxs and instead explicitly declaring the
one under the Apache 2 directory.

HTH

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Segree, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 7:36 PM
To: 'Tomcat Users List'
Subject: Cant compile tomcat 4.0.3 as a module to apache 2.0


I am also getting the following when trying to install tomcat as a module to
apache 2.36

Apache compile:

EAPI_MM=SYSTEM OPTIM="-O3 -mcpu=i686 -funroll-loops -fomit-frame-pointer"
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" ./configure --prefix=/home/httpd
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/apache
--includedir=/usr/include/apache --sysconfdir=/etc/httpd/conf
--localstatedir=/var --datadir=/home/httpd --mandir=/usr/share/man
--enable-so --with-apxs

cd /tmp/{tomcat_connector}/webapp
support/buildconf.sh

I get the following error:

--- Cannot run APR "buildconf" script
Don't a forget to download a copy of the APR sources, and to run
the buildconf script for it:
  # cd [path to APR sources]
  # ./buildconf
  # cd [path to WebApp sources]
Then remember to run ./configure script including the command line
option "--with-apr=[path to APR sources]"
--- Creating WebApp "configure" script
Creating configure ...
--- All done

I downloaded apr_20020612223008.tar.gz & untar
cd apr
./configure
make

cd /tmp/{tomcat_connector}/webapp
./configure --with-apxs=/usr/sbin/apxs
--with-tomcat=/usr/jakarta-tomcat-4.0/ --with-apr=/tmp/apr

but still getting error:

checking for Apache apxs... yes
sh: /usr/bin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/sbin/httpd'..
configure: error: "/include" not found. Use --with-apr-include=DIR.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



RE: Cant compile tomcat 4.0.3 as a module to apache 2.0

2002-06-14 Thread Segree, Gareth

John I dont think it can be apache 1.3 because I built the box without
apache and compiled from source.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 8:25 AM
To: 'Tomcat Users List'
Subject: RE: Cant compile tomcat 4.0.3 as a module to apache 2.0



I think you might be dragging in the wrong apxs.  As far as I know,
/usr/sbin/apxs is the apxs for Apache 1.3.  If you've installed Apache 2,
the apxs you want should be somewhere like $APACHE_HOME/bin.  I don't have
access to my apache 2 box at the moment, but I got a similar error and
solved it by not using /usr/sbin/apxs and instead explicitly declaring the
one under the Apache 2 directory.

HTH

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Segree, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 7:36 PM
To: 'Tomcat Users List'
Subject: Cant compile tomcat 4.0.3 as a module to apache 2.0


I am also getting the following when trying to install tomcat as a module to
apache 2.36

Apache compile:

EAPI_MM=SYSTEM OPTIM="-O3 -mcpu=i686 -funroll-loops -fomit-frame-pointer"
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" ./configure --prefix=/home/httpd
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/apache
--includedir=/usr/include/apache --sysconfdir=/etc/httpd/conf
--localstatedir=/var --datadir=/home/httpd --mandir=/usr/share/man
--enable-so --with-apxs

cd /tmp/{tomcat_connector}/webapp
support/buildconf.sh

I get the following error:

--- Cannot run APR "buildconf" script
Don't a forget to download a copy of the APR sources, and to run
the buildconf script for it:
  # cd [path to APR sources]
  # ./buildconf
  # cd [path to WebApp sources]
Then remember to run ./configure script including the command line
option "--with-apr=[path to APR sources]"
--- Creating WebApp "configure" script
Creating configure ...
--- All done

I downloaded apr_20020612223008.tar.gz & untar
cd apr
./configure
make

cd /tmp/{tomcat_connector}/webapp
./configure --with-apxs=/usr/sbin/apxs
--with-tomcat=/usr/jakarta-tomcat-4.0/ --with-apr=/tmp/apr

but still getting error:

checking for Apache apxs... yes
sh: /usr/bin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/sbin/httpd'..
configure: error: "/include" not found. Use --with-apr-include=DIR.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Cant compile tomcat 4.0.3 as a module to apache 2.0

2002-06-14 Thread Turner, John


I think you might be dragging in the wrong apxs.  As far as I know,
/usr/sbin/apxs is the apxs for Apache 1.3.  If you've installed Apache 2,
the apxs you want should be somewhere like $APACHE_HOME/bin.  I don't have
access to my apache 2 box at the moment, but I got a similar error and
solved it by not using /usr/sbin/apxs and instead explicitly declaring the
one under the Apache 2 directory.

HTH

John Turner
[EMAIL PROTECTED]
http://www.aas.com


-Original Message-
From: Segree, Gareth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 7:36 PM
To: 'Tomcat Users List'
Subject: Cant compile tomcat 4.0.3 as a module to apache 2.0


I am also getting the following when trying to install tomcat as a module to
apache 2.36

Apache compile:

EAPI_MM=SYSTEM OPTIM="-O3 -mcpu=i686 -funroll-loops -fomit-frame-pointer"
CFLAGS="-DDYNAMIC_MODULE_LIMIT=0" ./configure --prefix=/home/httpd
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/apache
--includedir=/usr/include/apache --sysconfdir=/etc/httpd/conf
--localstatedir=/var --datadir=/home/httpd --mandir=/usr/share/man
--enable-so --with-apxs

cd /tmp/{tomcat_connector}/webapp
support/buildconf.sh

I get the following error:

--- Cannot run APR "buildconf" script
Don't a forget to download a copy of the APR sources, and to run
the buildconf script for it:
  # cd [path to APR sources]
  # ./buildconf
  # cd [path to WebApp sources]
Then remember to run ./configure script including the command line
option "--with-apr=[path to APR sources]"
--- Creating WebApp "configure" script
Creating configure ...
--- All done

I downloaded apr_20020612223008.tar.gz & untar
cd apr
./configure
make

cd /tmp/{tomcat_connector}/webapp
./configure --with-apxs=/usr/sbin/apxs
--with-tomcat=/usr/jakarta-tomcat-4.0/ --with-apr=/tmp/apr

but still getting error:

checking for Apache apxs... yes
sh: /usr/bin/envvars: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/sbin/httpd'..
configure: error: "/include" not found. Use --with-apr-include=DIR.

--
To unsubscribe, e-mail:

For additional commands, e-mail: