tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Gokey <cgo...@gcmd.gsfc.nasa.gov>
Subject Re: /apr.h:265: #error Can not determine the proper size for apr_int64_t
Date Fri, 07 Sep 2001 15:41:50 GMT
After doing:
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r HEAD apr
(inside of jakarta-tomcat-connectors/webapps)

I attached the apr/include/apr.h file in this email.

Here are the error messages I received.

---

All done. Now you can issue "make". Good luck.
 >
 > make

Compiling sources in 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/
jakarta-tomcat-connectors/webapp/apr...
make[1]: Entering directory 
`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat
-4.0-b7/jakarta-tomcat-connectors/webapp/apr'
Making all in strings
make[2]: Entering directory 
`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat
-4.0-b7/jakarta-tomcat-connectors/webapp/apr/strings'
make[3]: Entering directory 
`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat
-4.0-b7/jakarta-tomcat-connectors/webapp/apr/strings'
/bin/sh 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomca
t-connectors/webapp/apr/libtool --silent --mode=compile gcc    
-DHAVE_CONFIG_H -
DSOLARIS2=7 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT   -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:198: #error Can not determine the proper size for 
apr_int64_t
../include/apr.h:253: #error Can not determine the proper size for ssize_t
../include/apr.h:256: #error Can not determine the proper size for size_t
../include/apr.h:265: #error Can not determine the proper size for 
apr_int64_t
make[3]: *** [apr_cpystrn.lo] Error 1
make[3]: Leaving directory 
`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-
4.0-b7/jakarta-tomcat-connectors/webapp/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-
4.0-b7/jakarta-tomcat-connectors/webapp/apr/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-
4.0-b7/jakarta-tomcat-connectors/webapp/apr'
make: *** [apr-all] Error 2

--

If I try specifying what the path of the apr during configure, I get this:

 > ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=`pwd`/apr
checking for test... /bin/test
checking for true... /bin/true
checking for echo... /bin/echo
checking for grep... /bin/grep
checking for cat... /bin/cat
checking for sed... /bin/sed
checking for rm... /bin/rm
checking sources directory... 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-connectors/webapp
checking debugging flags... disabled
checking Java support... disabled
checking Tomcat 4.0 directory... not required
checking if apxs is working... ok
setting target module to... 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-connectors/webapp/apache-1.3
checking APR directory... configure: error: Cannot find APR buildconf 
program in "/usr/local/apache_1.3.17"
 >

Why is it looking in /usr/local/apche_1.3.17 for buildconf when I 
specify the apr in a completely different directory?

Take care,
Chris


Pier Fumagalli wrote:

>"Chris Gokey" <cgokey@gcmd.gsfc.nasa.gov> wrote:
>
>>Hi...  I'm back trying to compile mod_webapp.so for Solaris 7 this time
>>(I was able to sucessfully compile it under Linux two days ago :) .
>>After having to install:
>>autoconf-2.50
>>libtool-1.3.5
>>m4-1.4
>>
>>I was able to run ./support/buildconf.sh
>>and ./configure
>>
>>I'm getting stuck trying to make it, I receive this error:
>>
>>All done. Now you can issue "make". Good luck.
>>
>>>make
>>>
>>Compiling sources in
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/
>>jakarta-tomcat-connectors/webapp/lib...
>>make[1]: Entering directory
>>`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat
>>-4.0-b7/jakarta-tomcat-connectors/webapp/lib'
>>Generating pr_warp_defs.h
>>Compiling wa_main.c
>>In file included from
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7
>>/jakarta-tomcat-connectors/webapp/apr/include/apr_general.h:61,
>>               from
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7
>>/jakarta-tomcat-connectors/webapp/include/wa.h:77,
>>               from wa_main.c:59:
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-conn
>>ec
>>tors/webapp/apr/include/apr.h:198: #error Can not determine the proper
>>size for
>>apr_int64_t
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-conn
>>ec
>>tors/webapp/apr/include/apr.h:253: #error Can not determine the proper
>>size for
>>ssize_t
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-conn
>>ec
>>tors/webapp/apr/include/apr.h:256: #error Can not determine the proper
>>size for
>>size_t
>>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-conn
>>ec
>>tors/webapp/apr/include/apr.h:265: #error Can not determine the proper
>>size for
>>apr_int64_t
>>make[1]: *** [wa_main.lo] Error 1
>>make[1]: Leaving directory
>>`/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-
>>4.0-b7/jakarta-tomcat-connectors/webapp/lib'
>>make: *** [local-all] Error 2
>>
>>This is from the latest checkout of jakarata-tomcat-connectors/webapp
>>and the apr (Sept 6)
>>
>>
>>Any idea why it is returning this error?
>>
>
>Yes, it seems that APR is somehow in trouble finding some of the default
>definitions in length of storage pointers... Can you send over a copy of
>your 
>/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat-4.0-b7/jakarta-tomcat-co
>nnectors/webapp/apr/include/apr.h file?
>
>It seems that somehow configure is not recognizing those...
>
>You might want to try also checking out the latest HEAD of apr out of CVS
>and configuring your module running:
>
>./configure --with-apr=where_you_checked_out_apr...
>
>That might work...
>
>    Pier
>
>


Mime
View raw message