[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kubuntu 13.04 crashes
From:       Shantanu Tushar Jha <shaan7in () gmail ! com>
Date:       2013-06-16 7:45:05
Message-ID: CABQ4Km9rTwabUbm0+fV4537ht93kP_LydbbR7NHrF6kTTtFhvw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


When you install kubuntu (or any other kde linux distribution), it already
has KDE installed into /usr of your filesystem. If you run make install as
you show in the command, you are overwriting that KDE with one built from
the source code, this is very likely to break things. Why? Its because your
kubuntu has KDE 4.10 and the kdelibs you built is 4.11
What you should do is install custom built things to your home dir. For
example, I run cmake like this-

cmake .. -DCMAKE_INSTALL_PREFIX=/home/username/kde

This tells cmake to install things to kde/ inside my home dir. Then to run
kde libs and apps installed to this location, create a script with these
contents-

-----------8<------------------

prepend() { [ -d "$2" ] && eval $1=\"$2\$\{$1:+':'\$$1\}\" && export $1 ; }

export KDEDIR=$HOME/kde

prepend PATH $KDEDIR/bin
prepend LD_LIBRARY_PATH $KDEDIR/lib
prepend PKG_CONFIG_PATH $KDEDIR/lib/pkgconfig

export PATH
export LD_LIBRARY_PATH
export PKG_CONFIG_PATH

-----------8<------------------

Then whenever you build/run something, source this script (source
scriptname) and then you should be fine.


On Sun, Jun 16, 2013 at 12:29 PM, Heena Mahour <heena393@gmail.com> wrote:

>  Hi, I recently installed kubuntu 13.04 ,it works fine some hours ago
> when I build kdelibs,kde-runtime,kactivities,kde-wrkspace .Now it is
> displaying error data directory for applet not found .
> Later even the application launcher disappeared .
> I build like the following:
> git clone kde:kdelibs
> mkdir build;cd build
> cmake ..
> make
> make install
> ..What should be done now Please help
>
> --
> -Heena
> Season of kde'12 participant
> Delhi College of Engineering(COE),India
> http://about.me/heena.mahour
> http://heenamahour.blogspot.in
>
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>


-- 
Shantanu Tushar    (UTC +0530)
http://www.shantanutushar.com

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>When you install kubuntu (or any other kde linux \
distribution), it already has KDE installed into /usr of your filesystem. If you run \
make install as you show in the command, you are overwriting that KDE with one built \
from the source code, this is very likely to break things. Why? Its because your \
kubuntu has KDE 4.10 and the kdelibs you built is 4.11<br> </div>What you should do \
is install custom built things to your home dir. For example, I run cmake like \
this-<br><br></div>cmake .. \
-DCMAKE_INSTALL_PREFIX=/home/username/kde<br><br></div>This tells cmake to install \
things to kde/ inside my home dir. Then to run kde libs and apps installed to this \
location, create a script with these contents-<br> \
<br>-----------8&lt;------------------<br><br>prepend() { [ -d &quot;$2&quot; ] \
&amp;&amp; eval $1=\&quot;$2\$\{$1:+&#39;:&#39;\$$1\}\&quot; &amp;&amp; export $1 ; \
}<br><br>export KDEDIR=$HOME/kde<br><br>prepend PATH $KDEDIR/bin<br> prepend \
LD_LIBRARY_PATH $KDEDIR/lib<br>prepend PKG_CONFIG_PATH \
$KDEDIR/lib/pkgconfig<br><br>export PATH<br>export LD_LIBRARY_PATH<br>export \
PKG_CONFIG_PATH<br><br>-----------8&lt;------------------<br><br></div><div>Then \
whenever you build/run something, source this script (source scriptname) and then you \
should be fine.<br> </div><div><div class="gmail_extra"><br><br><div \
class="gmail_quote">On Sun, Jun 16, 2013 at 12:29 PM, Heena Mahour <span \
dir="ltr">&lt;<a href="mailto:heena393@gmail.com" \
target="_blank">heena393@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span \
style="font-size:13px;background-color:rgb(240,247,255);font-family:Consolas,&#39;Lucida \
Console&#39;,monospace"> </span><span \
style="font-size:13px;background-color:rgb(240,247,255);font-family:Consolas,&#39;Lucida \
Console&#39;,monospace">Hi, I recently installed kubuntu 13.04 ,it works fine some \
hours ago when I build kdelibs,kde-runtime,kactivities,kde-wrkspace .Now it is \
displaying error data directory for applet not found .</span><div>

<div><font color="#000000" face="Consolas, Lucida Console, monospace">Later even the \
application launcher disappeared . </font></div><div><font color="#000000" \
face="Consolas, Lucida Console, monospace">I build like the following:</font></div>

<div><font color="#000000" face="Consolas, Lucida Console, monospace">git clone \
kde:kdelibs</font></div><div><font color="#000000" face="Consolas, Lucida Console, \
monospace">mkdir build;cd build</font></div><div> <font color="#000000" \
face="Consolas, Lucida Console, monospace">cmake ..</font></div><div><font \
color="#000000" face="Consolas, Lucida Console, \
monospace">make</font></div><div><font color="#000000" face="Consolas, Lucida \
Console, monospace">make install</font></div>

<div><font color="#000000" face="Consolas, Lucida Console, monospace">..What should \
be done now Please help </font></div><span class=""><font \
color="#888888"><div><br></div>-- <br><div style="text-align:left"><div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px">

<span style><span style="font-family:&#39;lucida \
console&#39;,sans-serif">-Heena</span></span></div><div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"> \
<span style="font-size:small;font-family:&#39;lucida console&#39;,sans-serif">Season \
of kde&#39;12 participant<br></span></div><div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"> \
<span style="font-size:small;font-family:&#39;lucida console&#39;,sans-serif">Delhi \
College of Engineering(COE),India<br></span></div><div><span \
style="line-height:15px"><font face="lucida console, sans-serif"><a \
href="http://about.me/heena.mahour" \
target="_blank">http://about.me/heena.mahour</a></font></span></div>

<div style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style><span style="font-family:&#39;lucida \
console&#39;,sans-serif;font-size:small"><a href="http://heenamahour.blogspot.in/" \
style="color:blue!important" target="_blank">http://heenamahour.blogspot.in</a><br>

</span></span></div><div \
style="font-family:arial,helvetica,clean,sans-serif;font-size:13px;line-height:15px"><span \
style><br></span></div></div> </font></span></div></div>
<br><br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> <br></blockquote></div><br><br clear="all"><br>-- \
<br>Shantanu Tushar    (UTC +0530)<br><a href="http://www.shantanutushar.com" \
target="_blank">http://www.shantanutushar.com</a> </div></div></div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic