[MacPorts] #29038: Applications installed by "port install kdebase4 +quartz +no_x11" will not open

MacPorts noreply at macports.org
Tue Aug 30 12:37:17 PDT 2011


#29038: Applications installed by "port install kdebase4 +quartz +no_x11" will not
open
-------------------------------------+--------------------------------------
 Reporter:  shannonsumner@…          |       Owner:  snc@…           
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:                  
Component:  ports                    |     Version:  1.9.2           
 Keywords:  kde4                     |        Port:  kdebase4        
-------------------------------------+--------------------------------------

Comment(by nicos_pavlov@…):

 It seems that it is more general than just kdegraphics4. For example, is
 dolphin or konsole opening ?

 For comparison, these applications are working fine for me. The problem
 could perhaps be linked to the discussion that occurred in July on
 macports-users list: "KDE4 apps don't launch". Here is below the fix that
 had been proposed:

   There's a bug in the way KDE4 is handled currently; I don't know what
 the correct fix is, but my current hack involves some launchd actions that
 create the necessary directories and symlinks thereto in
 ~/Library/Preferences/KDE.[[BR]]
   ln -s /var/tmp/kdecache-$USER
 $HOME/Library/Preferences/KDE/cache-$HOST[[BR]]
   ln -s $TMPDIR/ksocket-$USER
 $HOME/Library/Preferences/KDE/socket-$HOST[[BR]]
   ln -s $TMPDIR/kde-$USER $HOME/Library/Preferences/KDE/tmp-$HOST[[BR]]

   I have the first symlink.  The second and third  (ksocket and kde) were
 there but were linked to non-existent directories.  Using find from the
 terminal I couldn't find a ksocket-* or kde-* directory anywhere.

   That's exactly the problem:  the symlinks point to nonexistent
 directories, so kdeinit4 won't start up.  You need to create the target
 directories:[[BR]]
   mkdir $TMPDIR/ksocket-$USER $TMPDIR/kde-$USER

-- 
Ticket URL: <https://trac.macports.org/ticket/29038#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list