Apache OpenOffice (AOO) Bugzilla – Issue 4271
Installation fails if cde/kde selected
Last modified: 2004-10-15 04:15:02 UTC
The installation crashes when the cde/kde interatiopn is choosen
*** Issue 4272 has been marked as a duplicate of this issue. ***
This is a error in the new ookde project. The kde module exists for all Unix platforms, all kde files are included into the product for all Unixes. And all new kde files are installed into the directory: GID_DIR_KDE2_SHARE_APPLNK_STAR Unfortunately this directory in the dir.scp is included into a block: #if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) Therefore the files are included into a Solaris installation set, but the directories are missing. Files without directories lead to a crash of the setup, when the installation starts with 0%. For which platforms shall the kde be included? All Unixes or only Linux?
As I already said, when I checked your new scp particles. Are they for Unix or for Linux? You must not define files for all Unixes, which have directories that exist only for Linux.
So, would the following patch fix it? Index: office/dir.scp =================================================================== RCS file: /cvs/installation/scp/source/office/dir.scp,v retrieving revision 1.50.4.1 diff -c -r1.50.4.1 dir.scp *** office/dir.scp 14 Mar 2002 14:09:43 -0000 1.50.4.1 --- office/dir.scp 26 Apr 2002 15:22:37 -0000 *************** *** 1142,1148 **** // Beginn fuer Directories, die es nur unter Linux gibt // ************************************************************************************ ! #if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) Directory GID_DIR_KDE2 ParentID = PREDEFINED_HOMEDIR; --- 1142,1148 ---- // Beginn fuer Directories, die es nur unter Linux gibt // ************************************************************************************ ! #if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) || defined(KDE) Directory GID_DIR_KDE2 ParentID = PREDEFINED_HOMEDIR; solaris users will get spammed by .kde files, but as you can have kde solaris on too, some solaris users will be a bit happier on measure too?
If we also include the kde files for Solaris, than we have it for all Unixes. Therefore I would simply write in the dir.scp : #ifdef UNX Directory GID_DIR_KDE2 ParentID = PREDEFINED_HOMEDIR; This is much easier and will solve the problem for all Unixes.
i have no preference about iclusion, i just want to have something that works so we don't get a delay on the release 8-) ok, i'll experiment and check something in on the barnch once it works
Hi, This was my fault. I was unable to test under Solaris and should have fixed this. I thought I had found all occurences of where KDE was limited to Linux and missed one in dir.scp. IMHO the best solution is to allow KDE to work under Solaris also (my Sun boxes at work use KDE2 as well). So if changing the dir.scp script to define for all UNX should work and be a benefit for Soalris users who like and install KDE. Again, I apologize for the bug but I could not test on a Solaris box all of the changes to get kde working. I apologize. Kevin
Kevin, could you update the issue, please. The bug is fixed, I assume...
Hi, Yes this bug should be fixed. Sander committed the fix to dir.scp. So I will close this as fixed. Thanks, Kevin
close issue.