kstartupconfig4 does not exist or fails. The error code is 1.

Hello

When I startx after configuring .xinit for kde4 as specified by the Handbook, a dialog apears with the following message:

Code:
kstartupconfig4 does not exist or fails. The error code is 1. Check your installation.

When I click "okay" it returns to command line showing in the end:

Code:
xauth: (argv):1: bad display name "toshiba.rede:0" in "remove" command
being toshiba.rede the qualified name of the host.

I'm running FreeBSD 8.0-i386 in a Toshiba Satellite A70-5249.
 
Sorry, I have read another message too:
Code:
kcheckrunning: not found 
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "libkedcore.so.7"
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "libkedcore.so.7"
disable LVDS
Where were these objects supposed to be?

Yes, the second line is shown twice. These lines are not in Xorg.0.log, I've read then from cmd line, in which log file I find KDE related messages such as those shown before?
 
Search the forums for libintl.so.8 -- it's been discussed quite a lot.
 
rafaelbfs said:
Sorry, I have read another message too:
Code:
kcheckrunning: not found 
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "libkedcore.so.7"
/libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by "libkedcore.so.7"
disable LVDS
Where were these objects supposed to be?

Yes, the second line is shown twice. These lines are not in Xorg.0.log, I've read then from cmd line, in which log file I find KDE related messages such as those shown before?

I also ran into a similar situation when I build KDE-4.3 on one of my boxes. The key
was that my "env" didn't get updated to reflect the additional path that kde-4 lives in.

I don't have it on the box anymore, but I think it was /usr/local/kde4 && usr/local/kde4/bin

Just thought it might be worth mentioning.
 
libintl.so.8 really didn't exist in my filesystem.
I have created a softlink to "libintl.so.9" named libintl.so.8. It has solved the problem. But now another message is shown in a dialog.


Code:
Could not start kdeinit4. Check your installation.

Now libpng.so.5 is missing.

and when the OS tries to load KDM (actually this one have been happening before this latest fix)
Code:
kdm-bin:  :0[1192]: Received unknown or unexpected command -2 from greeter
kdm-bin:  :0[1192]: Abnormal termination of greeter for display :0, code 1, signal 0

I suppose I could create links until I run into a more complicated problem or eventually manage to start up KDE. But I don't feel this would be a solid fix.
 
Creating links is really an emergency thing. It means something got missed in the upgrade process--usually in /usr/ports/UPDATING. Also, having those links laying around afterward is not particularly good.

The right way is to rebuild the apps that are still trying to use the old libraries. pkg_libchk from the sysutils/bsdadminscripts port will check packages for links to missing libraries, but first look at UPDATING because there may be special procedures needed.
 
DutchDaemon gave the answer: gettext was updated but not all of the ports that depend on it (like KDE) were updated.

Search the forums for gettext and libintl for many threads that cover this issue. :)

Same issue with libpng.

Reading /usr/ports/UPDATING before upgrading installed ports is a must do. These are both covered in there. :D
 
Ok I have solved the problems with gettext and png, following UPDATE.
The qt4 is trickier, I've found this entry:

20100511:
AFFECTS: users of multimedia/qt4-phonon, multimedia/qt4-phonon-gst,
multimedia/phonon, and multimedia/phonon-gstreamer
AUTHOR: kde@FreeBSD.org

If you want to use KDE SC 4.4 (or if you want the latest Phonon), do not
define WITH_QT_PHONON, delete multimedia/qt4-phonon* ports, and install
multimedia/phonon*:

What does it mean by deleting the ports? Deleting the /usr/ports/multimedia/qt4-phonon* directories or simply deinstalling them? Because they are already not installed.

Code:
portupgrade -f -o multimedia/phonon multimedia/qt4-phonon
Executes but no output is shown.

Code:
    portmaster -o multimedia/phonon multimedia/qt4-phonon
Shows:
Code:
checking whether Python support is requested... checking whether /usr/local/bin/python2.6 version >= 2.5... yes
checking for /usr/local/bin/python2.6 version... 2.6
checking for /usr/local/bin/python2.6 platform... freebsd8
checking for /usr/local/bin/python2.6 script directory... ${prefix}/lib/python2.6/site-packages
checking for /usr/local/bin/python2.6 extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... not found
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.11/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.

===>>> make failed for devel/gobject-introspection
===>>> Aborting update

===>>> Update for devel/gobject-introspection failed
===>>> Aborting update

===>>> Update for atk-1.26.0 failed
===>>> Aborting update

===>>> Update for audio/pulseaudio failed
===>>> Aborting update

Terminated
Running python command shows the version is 2.6.5.

Also running startx shows that libphonon.so.4 was not found.
And two identical lines:
Code:
kde3: not found
kde3: not found
I have installed KDE4.
 
Back
Top