[postgis-devel] Build failed in Jenkins: GEOS_Branch_3.3_mingw64_win64 #9

Sandro Santilli strk at keybit.net
Wed Dec 5 07:53:39 PST 2012


Regina, what version of automake is installed on winnie ?
Could you try this patch there:

diff --git a/configure.in b/configure.in
index 1369311..66803ad 100644
--- a/configure.in
+++ b/configure.in
@@ -37,8 +37,7 @@ CAPI_VERSION="$CAPI_VERSION_MAJOR.$CAPI_VERSION_MINOR.$CAPI_VERSION_PATCH"

 AM_INIT_AUTOMAKE([geos], [$VERSION], [no-define])
 AM_MAINTAINER_MODE
-AM_CONFIG_HEADER([include/config.h])
-AM_CONFIG_HEADER([include/geos/platform.h])
+AC_CONFIG_HEADERS([include/config.h include/geos/platform.h])
 AC_PROG_CC

 dnl use libtool ----------------------------------------------------------


--strk;

On Wed, Dec 05, 2012 at 08:51:02AM +0100, Sandro Santilli wrote:
> On Wed, Dec 05, 2012 at 12:35:31AM -0500, winnie at postgis.net wrote:
> > See <http://winnie.postgis.net:1500/job/GEOS_Branch_3.3_mingw64_win64/9/changes>
> 
> I took a look at the buidl logs for this:
> 
> The error is:
> 
>  ../../include/geos/platform.h:71:5: warning: #warning "Could not find 64bit integer definition!"
> 
> But the configure step does find a `long long int` being 64bits:
> 
>  checking whether int64_t is 64 bits... no
>  checking whether long int is 64 bits... no
>  checking whether long long int is 64 bits... yes
> 
> Now this is unexpected because the "Could not find 64bit integer definition"
> should only happen when HAVE_LONG_LONG_INT_64 is _not_ defined:
> 
>  #ifdef HAVE_INT64_T_64
>    typedef int64_t int64;
>  #else
>  # ifdef HAVE_LONG_LONG_INT_64
>     typedef long long int int64;
>  # else
>     typedef long int int64;
>  #  ifndef HAVE_LONG_INT_64
>  #   define INT64_IS_REALLY32 1
>  #   warning "Could not find 64bit integer definition!"
>  #  endif
>  # endif
>  #endif
> 
> How can I look at the platform.h generated by ./configure on winnie ?
> This is how it looks on my machine:
> 
>   /* Set to 1 if you have `int64_t' type */
>   /* #undef HAVE_INT64_T_64 */
> 
>   /* Set to 1 if `long int' is 64 bits */
>   #define HAVE_LONG_INT_64 1
> 
>   /* Set to 1 if `long long int' is 64 bits */
>   /* #undef HAVE_LONG_LONG_INT_64 */
> 
> I'd expect HAVE_LONG_LONG_INT_64 to be defined there instead...
> 
> --strk;
> 
> 
> 

-- 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 




More information about the postgis-devel mailing list