gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: header issue compiling Base


From: Fred Kiefer
Subject: Re: header issue compiling Base
Date: Tue, 7 Nov 2017 08:15:19 +0100

> Am 07.11.2017 um 00:29 schrieb Riccardo Mottola <address@hidden>:
> 
> On 05/11/2017 22:52, Fred Kiefer wrote:
>> Could you please provide us with a diff between GSConfig.h with and without 
>> ICU?
>> And it would be great to see the config.log file for the ICU case.
> 
> It is here. One difference disappeared, since I changed GS_SIZEOF_LONG 
> manually.
> 
> --- /c/GNUstep/GNUstep/System/Library/Headers/GNUstepBase/GSConfig.h 2017-11-
> 04 16:16:39 +0100
> +++ GSConfig.h  2017-11-05 22:37:41 +0100
> @@ -147,7 +147,7 @@
>   */
>  #define        _GSC_S_SHT      _GSC_I16
>  #define        _GSC_S_INT      _GSC_I32
> -#define        _GSC_S_LNG      _GSC_I32
> +#define        _GSC_S_LNG
>  #define        _GSC_S_LNG_LNG  _GSC_I64
> 
>  /*
> @@ -267,7 +267,7 @@
>  #define GS_USE_GNUTLS 1
>  #define GS_USE_AVAHI 0
>  #define GS_USE_MDNS 0
> -#define GS_USE_ICU 0
> +#define GS_USE_ICU 1
>  #define GS_USE_LIBDISPATCH 0
>  #define GS_USE_LIBDISPATCH_RUNLOOP 0
>  #define GS_HAVE_OBJC_ROOT_CLASS_ATTR 0
> 
> 
> I tried also patching _GSC_S_LNG manually, but it does not allow compilation 
> to complete.
> 
> Config.log attached.

If you search for "checking size of long“ in the config.log file you will see 
the code that failed to compile. You should extract this code and try to 
compile it yourself to see the actual error. That way we may be able to find 
out what went wrong.

The simplest solution you could try is to recreate the configure script with a 
newer version of autoconfig. Version 2.65 has been used here. You could do this 
on another machine and just transfer the generated configure file to the MinGW 
environment.


>> From a previous mail I remember that you had issues with ICU 4.6, which 
>> version are you using now and how did you install that newer release?
> 
> I am trying to use 51.2 which I configured "out of the box" using the 
> automated configure script for MinGW and using --prefix=/c/GNUstep (which is 
> equivalent to /, but works better under MinGW where / is kind of virtual and 
> has issues with path conversion as prefix)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]