Registered Member
|
Hello everybody,
My name Khoi and need your help. I tried to compile KDevelop from source code in many times but KDevelop alway doesn't working. Manual A: https://techbase.kde.org/KDevelop4/HowToCompile Manual B: https://userbase.kde.org/KDevelop4/Manual/Appendix_A:_Building_KDevelop_from_Sources I installed all package required for compile include: kde-workspace-devel; kdelibs-devel; qjson-devel; boost-devel; subversion-devel; grantlee-devel; qtwebkit-devel
I selected method "System installation". Brief Method B: # cd kdevplatform-1.6.0 # mkdir -v build # cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. # make # make install # kbuildsycoca4 # cd kdevelop-4.6.0 # mkdir -v build # cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. # make # make install # kbuildsycoca4 ======End Brief=========== # nano /etc/bashrc export KDEDIRS=/opt/kdevelopSRC:$KDEDIRS export KDEDIRS=/usr/local/:$KDEDIRS [ddkhoi@localhost ~]$ ls /opt/kdevelopSRC/ kdevelop-4.6.0 kdevplatform-1.6.0 All install log use method B with -DCMAKE_BUILD_TYPE=RelWithDebInfo flag here: http://paste.kde.org/pcaxtp49g All done. But I can't create New Project and all any impact with KDevelop as: Language Support, User Interface, Projects, Background Parser .... Error image here: NOTE: If me selected method A or B "Local installation" OR "System installation" then result => KDevelop alway doesn't working ? Thanks for help...
Last edited by khoidangdinh on Sat Aug 16, 2014 8:50 am, edited 4 times in total.
|
Administrator
|
In which prefix are you installing KDevelop, and have you set KDEDIRS?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, I set in file /etc/bashrc with content:
export KDEDIRS=/opt/kdevelopSRC:$KDEDIRS export KDEDIRS=/usr/local/:$KDEDIRS So, bcooksley you can fix it ? Please help me. |
Administrator
|
Where are you installing KDevelop?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I choice method System installation and then location of binary in /usr/local/
[ddkhoi@localhost ~]$ which kdevelop /usr/local/bin/kdevelop Source code in location /opt/kdevelopSRC: [ddkhoi@localhost opt]$ ls kdevelopSRC [ddkhoi@localhost opt]$ cd kdevelopSRC/ [ddkhoi@localhost kdevelopSRC]$ ls kdevelop-4.6.0 kdevplatform-1.6.0 |
Administrator
|
Okay, please ensure the value of KDEDIRS is set to "/usr/local:/usr" in that case. You don't need to include the source code tree in that variable.
Once that has been done, please verify that it is affecting your current session - sometimes these settings get overridden elsewhere.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I changed setting in /etc/bashrc
#export KDEDIRS=/opt/kdevelopSRC:$KDEDIRS export KDEDIRS=/usr/local:/usr:$KDEDIRS ==================================== => KDevelop alway doesn't working [ddkhoi@localhost bin]$ pwd /usr/local/bin
This is output of ldd command:
|
Registered Member
|
bcooksley, This is library see in /usr/local/lib folder:
[ddkhoi@localhost lib]$ pwd /usr/local/lib [ddkhoi@localhost lib]$ ls -l
|
Administrator
|
Okay. At a terminal, please provide the output of "echo $KDEDIRS" as it seems the value you are setting is not having any effect.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
If setting in /etc/bashrc
then: [ddkhoi@localhost ~]$ echo $KDEDIRS /usr/local:/usr:/usr/local:/usr:/usr => Setting $KDEDIRS effect. |
Administrator
|
Okay, it should be working then.
Can you please try running the following, then trying to start KDevelop?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
[ddkhoi@localhost ~]$ kbuildsycoca4 --noincremental
OR [root@localhost ddkhoi]# kbuildsycoca4 --noincremental
=> KDevelop alway doesn't working. |
Administrator
|
Hmm. In /usr/local, could you try symlinking lib64/ to lib/?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
So, how to create symbolic link lib64 to lib in /usr/local ?
|
Administrator
|
Ah, the folder already exists... is there anything in the lib64/ folder?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]