You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Pedro Giffuni <pf...@apache.org> on 2015/07/15 17:23:20 UTC

Build trouble (was Re: Are the Buildbots down?)


On 07/14/15 23:33, Don Lewis wrote:
> ...
> It appears that hunspell has a way of generating that header in the that
> location on systems that don't have gettext, but for whatever reason it
> decided not to do so.  The real problem is this fragment of
> ext_libraries/hunspell/makefile.mk:
>
> .ELIF "$(OS)"=="FREEBSD" # "$(SYSBASE)"!=""
> CONFIGURE_FLAGS+=CPPFLAGS="-I$(LIBINTL_PREFIX)/include" --with-libintl-prefix="$(LIBINTL_PREFIX)"
> .ENDIF
>
> The problem is that $(LIBINTL_PREFIX) does not seem to be defined
> anywhere, so we end up passing
>    CPPFLAGS=-I/include --with-libintl-prefix=
> to configure, so it does not find the header.  This is especially dumb
> since we are passing CPPFLAGS=-I/usr/local/include and
> LDFLAGS=-L/usr/local/lib to the build. By setting
> LIBINTL_PREFIX=/usr/local in the environment, I was able to sucessfully
> build hunspell.
>
> I thought that changing the above to CPPFLAGS="$(CPPFLAGS)" would do the
> trick, but when I tried the build, it got expanded to CPPFLAGS="". There
> were two reasons for that.  One was an error in my build script that
> caused CPPFLAGS not not actually get set.  The other is this line in
> solenv/inc/settings.mk:
>    CPPFLAGS=
> The latter doesn't seem to affect everything because fixing my build
> script allowed the python build to find libintl.h, but I suspect this is
> the reason for the LIBINTL_PREFIX hack.
>
> Unfortunately this seems to break the icu build.  It looks like the icu
> build is finding the headers installed by the icu FreeBSD port instead
> of its own because it is appending to CPPFLAGS and thus gets the search
> order wrong.  Unfortunately icu is an indirect dependency of gtk:

Oh no ... *now* I remember.

And here comes one of the huge can of worms in OpenOffice:
we are using a very old version of ICU.

The truth is, we have code to update ICU to a more recent
version resting peacefully somewhere in the Symphony branch.
The IBM (China) guys that wrote it never merged it into
AOO (at least one of them tried and broke the Mac port,
but I don't remember because I burned the email).

Thank you very much for your help. I suggest you step away
now and forget you ever saw this ... really.

Keep calmed but run.

Pedro.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Build trouble (was Re: Are the Buildbots down?)

Posted by Pedro Giffuni <pf...@apache.org>.
Hi Don;

On 07/15/15 15:49, Don Lewis wrote:
> On 15 Jul, Pedro Giffuni wrote:
>
>> And here comes one of the huge can of worms in OpenOffice:
>> we are using a very old version of ICU.
>>
>> The truth is, we have code to update ICU to a more recent
>> version resting peacefully somewhere in the Symphony branch.
>> The IBM (China) guys that wrote it never merged it into
>> AOO (at least one of them tried and broke the Mac port,
>> but I don't remember because I burned the email).
> It would be really nice to see this in the tree so that I could switch
> the FreeBSD port to --with-system-icu.

I think you ay be able to update it with out much trouble
but there is the thing about multiple platforms and testing
different languages.

>> Thank you very much for your help. I suggest you step away
>> now and forget you ever saw this ... really.
> Hey, I sometimes enjoy watching horror movies ...
>
Some people like rollercoasters. but it is responsible to warn
if I think the track may be broken ;)

If you find something nice here that helps you I fam sure
we can find someone in the list to help with the license :)

http://svn.apache.org/viewvc/openoffice/symphony/trunk/

Pedro.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Build trouble (was Re: Are the Buildbots down?)

Posted by Don Lewis <tr...@FreeBSD.org>.
On 15 Jul, Pedro Giffuni wrote:

> And here comes one of the huge can of worms in OpenOffice:
> we are using a very old version of ICU.
> 
> The truth is, we have code to update ICU to a more recent
> version resting peacefully somewhere in the Symphony branch.
> The IBM (China) guys that wrote it never merged it into
> AOO (at least one of them tried and broke the Mac port,
> but I don't remember because I burned the email).

It would be really nice to see this in the tree so that I could switch
the FreeBSD port to --with-system-icu.

> Thank you very much for your help. I suggest you step away
> now and forget you ever saw this ... really.

Hey, I sometimes enjoy watching horror movies ...


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org