FS#24581 - Libreoffice-sdk: wrong sdk home dir, not initialized
Attached to Project:
Arch Linux
Opened by Jesse Jaara (Huulivoide) - Sunday, 05 June 2011, 08:10 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 16 June 2011, 11:12 GMT
Opened by Jesse Jaara (Huulivoide) - Sunday, 05 June 2011, 08:10 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 16 June 2011, 11:12 GMT
|
Details
Description:
Libreoffice-sdk package's initializon script /usr/lib/libreoffice/basis3.4/sdk/setsdkenv_unix.sh Doesn't point to correct dir for the sdk root. It tries to set it as /usr/bin, instead of /usr/lib/libreoffice/basis3.4/sdk Also it hasn't been initialized before packing. So it ask the user for a location of some apps it uses and dirs where the user wan'ts to save things. Additional info: Version: 3.4.0-1 * config and/or log files etc. This is what you get after fixing the sdk's root dir in the script by hand. ************************************************************************ * * You have to configure your SDK environment first before you can * can use it! The configuration has to be done only once. * ************************************************************************ Using an array as a reference is deprecated at /usr/lib/libreoffice/basis3.4/sdk//configure.pl line 738. Using an array as a reference is deprecated at /usr/lib/libreoffice/basis3.4/sdk//configure.pl line 738. Using an array as a reference is deprecated at /usr/lib/libreoffice/basis3.4/sdk//configure.pl line 743. Using an array as a reference is deprecated at /usr/lib/libreoffice/basis3.4/sdk//configure.pl line 743. Enter the Office installation directory [/usr/lib/libreoffice]: Enter GNU make (3.79.1 or higher) tools directory [/usr/bin]: Enter zip (2.3 or higher) tool directory [/usr/bin]: C++ compilers where for example a language binding exist: - Solaris, Sun WorkShop 6 update 1 C++ 5.2 2000/09/11 or higher - Linux, GNU C++ compiler, gcc version 4.0.1 or higher - MacOS, GNU C++ compiler, gcc version 4.0.1 or higher Enter the directory of the C++ compiler, the directory where the compiler is located (optional) [/usr/lib/ccache/bin]: Enter Java SDK (1.5, recommendation is 1.6 or higher) installation directory (optional) [/usr]: Default output directory is in your HOME directory. Enter an existent directory if you prefer a different output directory (optional) [/home/jesse]: /tmp/libre Error: Could not find directory '/tmp/libre'. Do you want to skip the choice of the 'optional output directory' (YES/NO): [YES] Automatic deployment of UNO components (YES/NO) [YES]: ERROR: could not open '/usr/lib/libreoffice/basis3.4/sdk//setsdkenv_unix.sh.in' for reading at /usr/lib/libreoffice/basis3.4/sdk//configure.pl line 780, <STDIN> line 8. Steps to reproduce: 1. Try to run /usr/lib/libreoffice/basis3.4/sdk/setsdkenv_unix.sh Doesn't work 2.Fix OO_SDK_HOME to OO_SDK_HOME='/usr/lib/libreoffice/basis3.4/sdk' inthe script. 3. Re run the script. This prevents the building of voikko, a finnish spell/hypenation cheker for ooo/libre.... |
This task depends upon
building of the Finnish spell and hypenation checker plugin.
Canät we just do that "Just 'sed' our distro
paths into it and add the missing setsdkenv_unix.sh.in file from the
sdk source?"
The only thing I'm currently not sure is the path in the /usr/lib/libreoffice/basis3.4/sdk/setsdkenv_unix{,sh} script that defines where to store stuff in you local homedir:
"$HOME/$OO_SDK_NAME/$HOSTNAME/setsdkenv_unix.sh" - what is store there when you do some developement? Only settings? Then I would move this better to ~/.config/.libreoffice/3/user/sdk using $XDG_CONFIG_HOME. But if real data is stored there I'd leave it as it is.
Opinions? Can we close this one?
libreoffice and setsdkenv_unix.sh.in is the actual script that sets the variables
for building srtuff.
and not '/usr/lib/libreoffice' changing that in the .in file
and sourcing it will result in working libre dev enviroinment :D
Change that and this can be closed