Thank you Paul!

I know nothing about LibreOffice and FirebirdSQL, I was just trying to
compile LibreOffice on my system, and I'm now trying to compile Firebird
itself but this file does not appear to be included in LibreOffice so I'm
probably wasting our time.

Anyway, for LibreOffice, it looks like System Integrity Protection is
getting in the way. I stumbled upon a hack from a LibreOffice contributor
who went to great lengths to try to compile Firebird as part of LibreOffice
by compiling bash just for Firebird:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=ce170cf1f264c69e91cde268ee490584c8fbcd04

If and when I have more informations, I'll share to see if I can help to
make things better.

On Wed, Mar 2, 2016 at 7:24 PM, Paul Beach <pbe...@ibphoenix.com> wrote:

> <<Hello,
>
> I'm trying to compile Firebird on OS X El Capitan to understand why it
> does not compile in LibreOffice [0]. But I can't compile it directly
> either. I had issues with ICU configuration, but at least this issue
> can be fixed directly in the code: CTest.c from cloop includes
> <malloc.h> but this is deprecated and not needed in this file.
>
> [0]
> https://lists.freedesktop.org/archives/libreoffice/2016-February/073399.html
>
> Here's the patch:
>
> Index: extern/cloop/src/tests/test1/CTest.c
> ===================================================================
> --- extern/cloop/src/tests/test1/CTest.c    (revision 63007)
> +++ extern/cloop/src/tests/test1/CTest.c    (working copy)
> @@ -20,7 +20,6 @@
>   */
>
>  #include "CalcCApi.h"
> -#include <malloc.h>
>  #include <stdio.h>
>
>  #ifdef WIN32>>
>
> Committed into trunk and B3_0_Release.
>
> Paul
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to