Beginner's question about installing Libreoffice SDK

Stephan Bergmann sbergman at redhat.com
Tue Dec 17 14:46:40 UTC 2019


On 17/12/2019 12:44, David Johnson wrote:
> There is something unclear to me about the instructions to configure the SDK.  I follow the instructions given on page:
> 
> * https://api.libreoffice.org/docs/install.html
> 
> There they say:
> 
> "The SDK provides an implicit configuration mechanism, which configures the SDK build environment to your personal needs the first time you use the SDK environment. This configuration step creates a new setsdkenv_XXX script in the user's home directory:
> 
>      $HOME/$OO_SDK_NAME/setsdkenv_unix.sh  -> for Unix
>      C:\Documents and Settings\<username>\Application Data\%OO_SDK_NAME%\setsdkenv_windows.bat  -> for Windows2000/XP or later
> 
> The automatically started configure script (Unix and Windows2000/XP) requests relevant information and directories (SDK, LibreOffice, GNU make, Java, C++), in order to prepare a working SDK environment. After completing the configure script once, the newly created script is always used to set the necessary environment variables for using the SDK and the required tools."
> 
> The talk about an "automatically started configure script". I do not know what they mean with "automatically started". I did not see any configuration script that was started automatically. When and by what is that script automatically started?  Is it automatically started when you run "make"? Is it automatically started by installing the .deb package?

That "automatically started" is indeed bogus, and we should get it fixed.

What you need to do on Linux is to cd to the root of the SDK 
installation, and then run (not source) ./setsdkenv_unix.  After asking 
some questions (and storing the answers for next time, as discussed 
above), it recursively execs a new shell with the relevant environment 
variables set.



More information about the LibreOffice mailing list