Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.