Issue 4271 - Installation fails if cde/kde selected
Summary: Installation fails if cde/kde selected
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 641
Hardware: PC Solaris
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@installation
URL:
Keywords:
: 4272 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-04-26 14:13 UTC by atr
Modified: 2004-10-15 04:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description atr 2002-04-26 14:13:34 UTC
The installation crashes when the cde/kde interatiopn is choosen
Comment 1 atr 2002-04-26 14:35:28 UTC
*** Issue 4272 has been marked as a duplicate of this issue. ***
Comment 2 ingo.schmidt-rosbiegal 2002-04-26 14:47:54 UTC
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?
Comment 3 ingo.schmidt-rosbiegal 2002-04-26 14:51:49 UTC
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.
Comment 4 sander_traveling 2002-04-26 16:25:49 UTC
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?
Comment 5 ingo.schmidt-rosbiegal 2002-04-26 16:53:14 UTC
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.
Comment 6 sander_traveling 2002-04-26 17:21:55 UTC
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
Comment 7 khendricks 2002-04-27 01:07:14 UTC
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


Comment 8 stx123 2002-04-29 22:40:49 UTC
Kevin, could you update the issue, please.
The bug is fixed, I assume...
Comment 9 khendricks 2002-04-29 23:06:12 UTC
Hi,

Yes this bug should be fixed.  Sander committed the fix to dir.scp.

So I will close this as fixed.

Thanks,

Kevin

Comment 10 Martin Hollmichel 2004-10-15 04:15:02 UTC
close issue.