You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Gonzalez, Federico" <fg...@goyaike.com.ar> on 2001/11/27 20:56:06 UTC

Problems building webapp_module

I get the following error when trying to build webapp_module

make[1]: Entering directory "apache-1.3"
make[1]: Invoking "make  build"
make[2]: Entering directory `/tmp/webapp-module-1.0.1-tc401/apache-1.3'
{ APXS_LDFLAGS_SHLIB="`/apache/bin/apxs -q LDFLAGS_SHLIB` \
         \
        -lm -lcrypt -lnsl -ldl" ; \
    APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
    APXS_CFLAGS="`/apache/bin/apxs -q CFLAGS` \
        -g -O2 \
        -g -O2 \
         \
        -DLINUX=2 -D_REENTRANT \
        -I/tmp/webapp-module-1.0.1-tc401/apr/include \
        -I/tmp/webapp-module-1.0.1-tc401/include \
        " ; \
    APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
    /apache/bin/apxs \
        -S CFLAGS="${APXS_CFLAGS}" \
        -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
        -o "mod_webapp.so" \
        -c "mod_webapp.c" \
        "/tmp/webapp-module-1.0.1-tc401/lib/libwebapp.a" \
        "/tmp/webapp-module-1.0.1-tc401/lib/libapr.a" ; \
}
apxs:Error: no config variable LDFLAGS_SHLIB
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make[2]: *** [mod_webapp.so] Error 1


Any idea what is missing or wrong.
Please send answers back to fgonzalez@goyaike.com.ar

Thanks in advance.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


http verion question

Posted by yuexiang <yu...@gridnode.com>.
Hi,

does tomcat context container implemented http/1.1?
Where can I get the related information?

Thanks

yang


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: http protocol version question

Posted by Bill Barker <wb...@wilshire.com>.
These types of questions are better addressed at
tomcat-user@jakarta.apache.org.

The short answer is that Tomcat 3.x currently supports only the 1.0
protocol.  Tomcat 4.x also supports the 1.1. protocol.
----- Original Message -----
From: "yuexiang" <yu...@gridnode.com>
To: "Tomcat Developers List" <to...@jakarta.apache.org>
Sent: Tuesday, November 27, 2001 11:18 PM
Subject: http protocol version question


> Hi,
>
> I am new as a tomcat user.
> Who can explain to me what is the relation between http protocol version
(1.0 /1.1)
> and the tomcat? It seems that the servlet already return http packet as
1.0 verion.
>
>
> Thanks
> yang
>
>
>              ^  ^
>              (oo)\_______
>              (__)\       )\/\
>                  ||----w |
>                  ||     ||
>
> Welcome http://192.168.213.203
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


*----*

This message is intended only for the use of the person(s) listed above 
as the intended recipient(s), and may contain information that is 
PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, 
you may not read, copy, or distribute this message or any attachment.  
If you received this communication in error, please notify us immediately 
by e-mail and then delete all copies of this message and any attachments.


In addition you should be aware that ordinary (unencrypted) e-mail sent 
through the Internet is not secure. Do not send confidential or sensitive 
information, such as social security numbers, account numbers, personal 
identification numbers and passwords, to us via ordinary (unencrypted) 
e-mail. 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


http protocol version question

Posted by yuexiang <yu...@gridnode.com>.
Hi,

I am new as a tomcat user.
Who can explain to me what is the relation between http protocol version (1.0 /1.1) 
and the tomcat? It seems that the servlet already return http packet as 1.0 verion.


Thanks
yang


             ^  ^
             (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||

Welcome http://192.168.213.203




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems building webapp_module

Posted by Brian P Millett <bp...@ec-group.com>.
Gonzalez, Federico wrote:

>I get the following error when trying to build webapp_module
>apxs:Error: no config variable LDFLAGS_SHLIB
>

This should be a FAQ item.

You have a miss configured apxs application.  Check to see if apxs is 
configured correctly.  Here is an example for apache 1.3.X with gcc (See 
the value for $CFG_LDFLAGS_SHLIB)

my $CFG_TARGET        = q(httpd);            # substituted via 
Makefile.tmpl
my $CFG_CC            = q(gcc);                # substituted via 
Makefile.tmpl
my $CFG_CFLAGS        = q( -DEAPI -DSOLARIS2=280 -DUSE_EXPAT 
-I../lib/expat-lite -DNO_DL_NEEDED -O6 -mcpu=v8 -Wa,-xarch=v8plusa 
`../apaci`);            # substituted via Makefile.tmpl
my $CFG_CFLAGS_SHLIB  = q(-fPIC -DSHARED_MODULE);      # substituted via 
Makefile.tmpl
my $CFG_LD_SHLIB      = q(gcc);          # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl
my $CFG_LIBS_SHLIB    = q(-fPIC);        # substituted via Makefile.tmpl
my $CFG_PREFIX        = q(/opt/apache);            # substituted via 
APACI install
my $CFG_SBINDIR       = q(/opt/apache/bin);           # substituted via 
APACI install
my $CFG_INCLUDEDIR    = q(/opt/apache/include);        # substituted via 
APACI install
my $CFG_LIBEXECDIR    = q(/opt/apache/libexec);        # substituted via 
APACI install
my $CFG_SYSCONFDIR    = q(/opt/apache/conf);        # substituted via 
APACI install

-- 
Brian Millett                    
Enterprise Consulting Group   "Shifts in paradigms
(314) 205-9030               often cause nose bleeds."
bpm@ec-group.com                           Greg Glenn




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems building webapp_module

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
"Gonzalez, Federico" wrote:
> 
> I get the following error when trying to build webapp_module
> 
> make[1]: Entering directory "apache-1.3"
> make[1]: Invoking "make  build"
> make[2]: Entering directory `/tmp/webapp-module-1.0.1-tc401/apache-1.3'
> { APXS_LDFLAGS_SHLIB="`/apache/bin/apxs -q LDFLAGS_SHLIB` \
>          \
>         -lm -lcrypt -lnsl -ldl" ; \
>     APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \
>     APXS_CFLAGS="`/apache/bin/apxs -q CFLAGS` \
>         -g -O2 \
>         -g -O2 \
>          \
>         -DLINUX=2 -D_REENTRANT \
>         -I/tmp/webapp-module-1.0.1-tc401/apr/include \
>         -I/tmp/webapp-module-1.0.1-tc401/include \
>         " ; \
>     APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
>     /apache/bin/apxs \
>         -S CFLAGS="${APXS_CFLAGS}" \
>         -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \
>         -o "mod_webapp.so" \
>         -c "mod_webapp.c" \
>         "/tmp/webapp-module-1.0.1-tc401/lib/libwebapp.a" \
>         "/tmp/webapp-module-1.0.1-tc401/lib/libapr.a" ; \
> }
> apxs:Error: no config variable LDFLAGS_SHLIB
> Usage: apxs -g [-S <var>=<val>] -n <modname>
>        apxs -q [-S <var>=<val>] <query> ...
>        apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
>                [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
>                [-Wl,<flags>] <files> ...
>        apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
>        apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
> make[2]: *** [mod_webapp.so] Error 1
> 
> Any idea what is missing or wrong.
> Please send answers back to fgonzalez@goyaike.com.ar
> 
> Thanks in advance.

Your installation Apache is broken... The new webapp will stop in the configure
and claim he is not happy with your Apache installation.

> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>