C++ Macro example: DocumentLoader

aitor_czr aitor_czr at gnuinos.org
Sat Apr 2 17:33:14 UTC 2016


On 04/02/2016 06:19 PM, Rene Engelhard wrote:
> On Mon, Mar 21, 2016 at 01:56:42PM +0100, Stephan Bergmann wrote:
>> >Smells like a bug in Debian's packaging of the LibreOffice SDK.  The problem
> Not everything which goes wrong somewhere is a bug in a package.
>
>> >is the
>> >
>> >   -L""
>> >
>> >in the gcc invocation above.  Per the SDK's settings/settings.mk, that's
>> >expanded from
>> >
>> >   -L"$(OO_SDK_URE_LIB_DIR)"
>> >
>> >and OO_SDK_URE_LIB_DIR should be set as an environment variable in the SDK's
>> >setsdkenv_unix.sh.in (when you run the setsdkenv_unix script), but looks
>> >like in your case is empty or unset, for whatever reason.
> When I look in above-mentioned setsdkenv_unix.sh I see:
>
> # URE installation directory.
> # Example: OO_SDK_URE_HOME=/opt/libreoffice/ure
> OO_SDK_URE_HOME='/usr/lib/libreoffice/ure-link'
> export OO_SDK_URE_HOME
> [...]
> if [ "${OO_SDK_URE_HOME}" ]
> then
>      OO_SDK_URE_BIN_DIR=${OO_SDK_URE_HOME}/bin
>      OO_SDK_URE_LIB_DIR=${OO_SDK_URE_HOME}/lib
>      OO_SDK_URE_JAVA_DIR=${OO_SDK_URE_HOME}/share/java
> else
>      OO_SDK_URE_BIN_DIR=${OFFICE_PROGRAM_PATH}
>      OO_SDK_URE_LIB_DIR=${OFFICE_PROGRAM_PATH}
>      OO_SDK_URE_JAVA_DIR=${OFFICE_PROGRAM_PATH}/classes
> fi
> export OO_SDK_URE_BIN_DIR
> export OO_SDK_URE_LIB_DIR
> export OO_SDK_URE_JAVA_DIR
>
> so it should be set. If I do echos for them:
>
> # ./setsdkenv_unix.sh
> /usr/lib/libreoffice/ure-link/bin
> /usr/lib/libreoffice/ure-link/lib
> /usr/lib/libreoffice/ure-link/share/java
>
>   ************************************************************************
>   *
>   * SDK environment is prepared for Linux
>   *
>   * SDK = /usr/lib/libreoffice/sdk
>   * Office = /usr/lib/libreoffice
>   * URE = /usr/lib/libreoffice/ure-link
>   * Make = /usr/bin
>   * Zip = /usr/bin
>   * cat = /usr/bin
>   * sed = /usr/bin
>   * C++ Compiler = /usr/bin
>   * Java = /usr/lib/jvm/default-java
>   * SDK Output directory = /root/openoffice.org4.3_sdk
>   * Auto deployment = NO
>   *
>   ************************************************************************
>
> So it is not empty.
>
> Regards,
>
> Rene

Thanks Rene, if i solve this issue i will publish it in the mailing list.

Have a nice day,

   Aitor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160402/87e4c5bb/attachment.html>


More information about the LibreOffice mailing list