You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcus Adair <ma...@convineo.com> on 2001/09/23 19:43:35 UTC

stdint.h not found when compiling apr in webapp 1.0 (tc4.0)

I'm doing ./configure then make --with-apxs and I can't avoid a compile
error in the APR.

Following is the output when I try compiling the apr dir in the source
distro. I'm running FreeBSD 4.4 on Intel. Tomcat 4.0 is running fine, as
well as JDK 1.3.1_01.

Any help is much appreciated,

Output after ./configure; make

Making all in strings
/bin/sh
/usr/home/gcom/webapp-module-1.0-tc40/apr/libtool --silent --mode=compile
cc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../include -I../
include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
In file included from apr_cpystrn.c:55:
../include/apr.h:132: stdint.h: No such file or directory
*** Error code 1

Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr/strings.
*** Error code 1

Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr/strings.
*** Error code 1

Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr.



tomcat 4 standalone & virtual host

Posted by Dom <do...@free.fr>.
Is it possible to manage virtual hosts with tomcat 4 standalone ?

When I start Tomcat, I get in catalina out :
Starting service Tomcat-Standalone
Apache tomcat/4.0
java.lang.NullPointerException
        at org.apache.catalina.startup.HostConfig.deployApps(Unknown Source)
        ...

If I start Tomcat without the virtual host, I get
Starting service Tomcat-Standalone
Apache tomcat/4.0
Starting service Tomcat-Apache
Apache tomcat/4.0

Using Tomcat 3.2 and Apache 1.3.19, I had no trouble managing this virtual
host

And trying to compile mod_webapp, after ./configure I get : APR buildconf :
autoconf not found
(Linux MDK 7.2 with kernel 2.4.9)

Dom


Re: stdint.h not found when compiling apr in webapp 1.0 (tc4.0)

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Marcus Adair wrote:
> 
> I'm doing ./configure then make --with-apxs and I can't avoid a compile
> error in the APR.
> 
> Following is the output when I try compiling the apr dir in the source
> distro. I'm running FreeBSD 4.4 on Intel. Tomcat 4.0 is running fine, as
> well as JDK 1.3.1_01.
> 
> Any help is much appreciated,
> 
> Output after ./configure; make
> 
> Making all in strings
> /bin/sh
> /usr/home/gcom/webapp-module-1.0-tc40/apr/libtool --silent --mode=compile
> cc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../include -I../
> include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
> In file included from apr_cpystrn.c:55:
> ../include/apr.h:132: stdint.h: No such file or directory
> *** Error code 1
> 
> Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr/strings.
> *** Error code 1
> 
> Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr/strings.
> *** Error code 1
> 
> Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr.


Retry with a newer APR (Something related was fixed on Monday in APR).

Re: stdint.h not found when compiling apr in webapp 1.0 (tc4.0)

Posted by Pier Fumagalli <pi...@betaversion.org>.
"Cliff Woolley" <cl...@yahoo.com> wrote:

> On Sun, 23 Sep 2001, Pier Fumagalli wrote:
> 
>>> Making all in strings
>>> /bin/sh
>>> /usr/home/gcom/webapp-module-1.0-tc40/apr/libtool --silent --mode=compile
>>> cc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../include -I../
>>> include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
>>> In file included from apr_cpystrn.c:55:
>>> ../include/apr.h:132: stdint.h: No such file or directory
>>> *** Error code 1
>> 
>> FYI... From Thursday CVS snapshot...
> 
> I sure can't figure out how this would happen... stdint.h is only included
> by apr.h if configure decided that stdint.h both existed and contained a
> define for INT64_C that it wanted.  None of that stuff has changed in
> forever anyway... did this just start happening?  It works fine for me
> under Linux.  The only thing interesting I can find is that FreeBSD 4.3
> doesn't seem to have stdint.h at all... maybe it's a quirk in 4.4?
> 
> --Cliff
> 
> PS: two things I noticed that don't really address this problem but that
> should be fixed anyway: 1) APR_HAVE_STDINT_H is only set to 1 if it's
> there _and_ we want it for INT64_C purposes.  It should be set to 1
> regardless of the INT64_C thing if it's present.  2) APR_HAVE_STDINT_H is
> missing from apr.hw.

I believe the guy didn't run "./configure ..." or that that failed... He
still didn't send me the output of his whole build process....

    Pier


Re: FW: stdint.h not found when compiling apr in webapp 1.0 (tc4.0)

Posted by Cliff Woolley <cl...@yahoo.com>.
On Sun, 23 Sep 2001, Pier Fumagalli wrote:

> > Making all in strings
> > /bin/sh
> > /usr/home/gcom/webapp-module-1.0-tc40/apr/libtool --silent --mode=compile
> > cc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../include -I../
> > include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
> > In file included from apr_cpystrn.c:55:
> > ../include/apr.h:132: stdint.h: No such file or directory
> > *** Error code 1
>
> FYI... From Thursday CVS snapshot...

I sure can't figure out how this would happen... stdint.h is only included
by apr.h if configure decided that stdint.h both existed and contained a
define for INT64_C that it wanted.  None of that stuff has changed in
forever anyway... did this just start happening?  It works fine for me
under Linux.  The only thing interesting I can find is that FreeBSD 4.3
doesn't seem to have stdint.h at all... maybe it's a quirk in 4.4?

--Cliff

PS: two things I noticed that don't really address this problem but that
should be fixed anyway: 1) APR_HAVE_STDINT_H is only set to 1 if it's
there _and_ we want it for INT64_C purposes.  It should be set to 1
regardless of the INT64_C thing if it's present.  2) APR_HAVE_STDINT_H is
missing from apr.hw.

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA




FW: stdint.h not found when compiling apr in webapp 1.0 (tc4.0)

Posted by Pier Fumagalli <pi...@betaversion.org>.
FYI... From Thursday CVS snapshot...

    Pier

------ Forwarded Message
> From: Marcus Adair <ma...@convineo.com>
> Reply-To: tomcat-user@jakarta.apache.org
> Date: Sun, 23 Sep 2001 12:43:35 -0500
> To: tomcat-user <to...@jakarta.apache.org>
> Subject: stdint.h not found when compiling apr in webapp 1.0 (tc4.0)
> 
> I'm doing ./configure then make --with-apxs and I can't avoid a compile
> error in the APR.
> 
> Following is the output when I try compiling the apr dir in the source
> distro. I'm running FreeBSD 4.4 on Intel. Tomcat 4.0 is running fine, as
> well as JDK 1.3.1_01.
> 
> Any help is much appreciated,
> 
> Output after ./configure; make
> 
> Making all in strings
> /bin/sh
> /usr/home/gcom/webapp-module-1.0-tc40/apr/libtool --silent --mode=compile
> cc -g -O2   -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE   -I../include -I../
> include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
> In file included from apr_cpystrn.c:55:
> ../include/apr.h:132: stdint.h: No such file or directory
> *** Error code 1
> 
> Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr/strings.
> *** Error code 1
> 
> Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr/strings.
> *** Error code 1
> 
> Stop in /usr/home/gcom/webapp-module-1.0-tc40/apr.
------ End of Forwarded Message