kdevelop4 project -> new project option not seen

Hi,

I just started using KDE and this is also my first time using open-SUSE, so hi there.

I installed kdevelop4, but the project -> new project option was missing from the menus.

I found this link addressing the problem. Here is quote from that link:

Lets say I have packages for KDE4.2 beta2 from my distribution, which install into /usr. So I have /usr/lib/libkdecore.so.4.2.0 and /usr/share/kde4/services and so on. This means, KDE4.2 uses /usr as so-called prefix. I then compiled and installed both kdevplatform and kdevelop into my home directory, so its in $HOME/kde4. I have $HOME/kde4/lib/libkdevplatforminterfaces.so.1.0.0 and $HOME/kde4/share/kde4/services/kdevappwizard.desktop. So the prefix for kdevelop4 is $HOME/kde4. KDEDIRS is simply a list of such prefixes, so I set it to be “$HOME/kde4:/usr” via “export KDEDIRS=$HOME/kde4:/usr” in a bash.

So I did the following:


$:~> su -c 'find / -name *libkdevplatforminterfaces*'
 /usr/lib/libkdevplatforminterfaces.so.1.0.0
 /usr/lib/libkdevplatforminterfaces.so.1

$:~> su -c 'find / -name *libkdecore*'
 /usr/lib/libkdecore.so.5
 /usr/lib/libkdecore.so.5.4.0
 /usr/share/doc/packages/libkdecore4

$:~> su -c 'find / -name *kdevappwizard*'
 /usr/lib/kde4/kdevappwizard.so
 /usr/share/locale/tr/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/de/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/zh_CN/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/zh_TW/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/pt/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/ca/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/en_GB/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/es/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/it/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/uk/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/et/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/da/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/pt_BR/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/nds/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/sv/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/fr/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/gl/LC_MESSAGES/kdevappwizard.mo
 /usr/share/locale/ca@valencia/LC_MESSAGES/kdevappwizard.mo
 /usr/share/kde4/apps/kdevappwizard
 /usr/share/kde4/apps/kdevappwizard/kdevappwizard.rc
 /usr/share/kde4/services/kdevappwizard.desktop
 /home/bhargava/.kde4/share/apps/kdevappwizard

$:~> export KDEDIRS=/usr:/usr/lib:/usr/lib/kde4
$:~> kbuildsycoca4

But there was no effect. How do I get this working.

Also is there a way to do only “pure c” in kdevelop.

Thanks,
bhargava.

On 02/27/2011 10:06 AM, bhayam wrote:
>
> Hi,
>
> I just started using KDE and this is also my first time using
> open-SUSE, so hi there.
>
> I installed kdevelop4, but the -project->new- project option was
> missing from the menus.

welcome…how did you install kdevelop4? (you say this openSUSE is
new to you)…i can guess you installed from source or found an RPM
somewhere, or what?

anyway, since the fault you describe is due to a missing plugin, i can
guess that you didn’t use YaST or zypper (the two best openSUSE
ways) to install all the bits and pieces…

i would uninstall what you did, and then open YaST, go Software
Management and search on kdevelop4, and you will see a list of many
bits (14 here) install all you need…and, see if your problem goes away…

good luck, and again: -=welcome=-


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Hi DenverD,

I installed it using the software management in yast. Anyways just to recheck I uninstalled it again (using yast), removed config files from *./kde4/config and ./kde4/apps *, went back to *yast -> software management *searched for kdevelop, list showed me 5 packages I selected kdevelop4 and kdevelop4-plugins-php, kdevelop4-lang was automatically selected (as dependency). opened kdevelop again but did not find the required option (project -> new project) there. Can there be anyother problem? Like I said in the previous post this is the only link I found that answers the question.

Again back to the same question how do I resolve this.

Thank you.

On 02/27/2011 06:06 PM, bhayam wrote:
> list showed me 5 packages . . .
> Again back to the same question how do I resolve this.

to me it sounds like you are not being offered all the packages you
need, probably because of your selection of repos which are enabled
and updating…so, lets see the output of entering the following into
a terminal


zypper lr -d

and copy/paste the output back to this thread using the instructions
here: http://goo.gl/i3wnr

and, don’t forget to tell us what operating system/version and desktop
environment/version you are using…


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Hi DenverD,

here is the information you asked, hopefully this is exactly what you asked and I would get solution to fix the problem.

# | Alias                                                             | Name                                                              | Enabled | Refresh | Priority | Type   | URI                                                               | Service
--+-------------------------------------------------------------------+-------------------------------------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------+--------
1 | Packman                                                           | Packman repository (openSUSE_11.3)                                | Yes     | No      |   99     | rpm-md | http://packman.inode.at/suse/11.3                                 |        
2 | google-chrome                                                     | google-chrome                                                     | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/i386                 |        
3 | http://download.opensuse.org/repositories/openSUSE:/11.3/standard | http://download.opensuse.org/repositories/openSUSE:/11.3/standard | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.3/standard |        
4 | repo-debug                                                        | openSUSE-11.3-Debug                                               | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.3/repo/oss/    |        
5 | repo-non-oss                                                      | openSUSE-11.3-Non-Oss                                             | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.3/repo/non-oss/      |        
6 | repo-oss                                                          | openSUSE-11.3-Oss                                                 | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.3/repo/oss/          |        
7 | repo-source                                                       | openSUSE-11.3-Source                                              | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.3/repo/oss/   |        
8 | repo-update                                                       | openSUSE-11.3-Update                                              | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.3/                         |        

$:~> uname -a

Linux linux-mlg6.site 2.6.34-12-default #1 SMP 2010-06-29 02:39:08 +0200 i686 athlon i386 GNU/Linux

$:~> lsb_release -a


LSB Version:    core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-4.0-ia32:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description:    **openSUSE 11.3 (i586)**
Release:        **11.3**
Codename:       n/a

$:~> kdevelop --version

Qt: 4.6.3
KDE Development Platform: 4.4.4 (KDE 4.4.4) "release 2"
KDevelop: 4.0.0

Thanks.

On 02/27/2011 07:06 PM, bhayam wrote:

> here is the information you asked, hopefully this is exactly what you
> asked and I would get solution to fix the problem.

well, truth is i am disappointed because i expected to not see what i
saw…and, i can’t really figure out why you are offered five
packages when you search for kdevelop4 in YaST and i am offered 14!

see: http://www.imagebam.com/image/bbf653121418127

the only thing i can guess is that i am running KDE4.5.5 and those
repos are still enabled and refreshing

see: http://www.imagebam.com/image/6f5b94121418129

now, i am NOT suggesting you should move from KDE4.4.4 to 4.5.5, and
if you do i am sure not suggesting that will solve your problem…but,
it might

before you decide, read the caveat in my sig…and, if you do decide
to move to a later KDE release you need to search and find the way
to do that…it is here in these fora, somewhere…there is a search
page which should help you find it…

AND, there are many here who are running KDE4.6.x, some with mixed
success…and other claiming it is better than sliced bread!

one last hint: backup

oh, and i read those blogs and wonder if you actually followed all
steps in both of them, without success ??


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

Well, can’t do anything about it then. Might be the reason. That is OK. I think I can live without using kdevelop.

No I don’t plan on doing this. I love the way the current one looks. I don’t want to change it now.

I did all that was written there.

Now, can you suggest any other IDE for C/C++ dev in kde.

Thanks.

On 02/27/2011 11:06 AM, bhayam wrote:
>
> Hi DenverD,
>
> here is the information you asked, hopefully this is exactly what you
> asked and I would get solution to fix the problem.

Snip

>
>
> $:~> kdevelop --version
>
> Code:
> --------------------
> Qt: 4.6.3
> KDE Development Platform: 4.4.4 (KDE 4.4.4) “release 2”
> KDevelop: 4.0.0
>
> --------------------
>
>
> Thanks.
>
>

I can not help you with your issue but running openSUSE 11.3 with
upgrades gives me a “release 3” for kdevelop. As far as the New Project
option, my kdevelop shows from the menu Project -> New from template and
then lists a few templates for new projects.

You can program no GUI C++ programs using cmake which must be installed
and was not required to install kdevelop.

Hope that helps you.

Eric

On 02/27/2011 11:06 AM, bhayam wrote:
>
> Hi DenverD,
>
> here is the information you asked, hopefully this is exactly what you
> asked and I would get solution to fix the problem.

Snip

>
>
> $:~> kdevelop --version
>
> Code:
> --------------------
> Qt: 4.6.3
> KDE Development Platform: 4.4.4 (KDE 4.4.4) “release 2”
> KDevelop: 4.0.0
>
> --------------------
>
>
> Thanks.
>
>

I can not help you with your issue but running openSUSE 11.3 with
upgrades gives me a “release 3” for kdevelop. As far as the New Project
option, my kdevelop shows from the menu Project -> New from template and
then lists a few templates for new projects.

You can program no GUI C++ programs using cmake which must be installed
and was not required to install kdevelop.

Hope that helps you.

Eric

On 02/27/2011 11:06 AM, bhayam wrote:
>
> Hi DenverD,
>
> here is the information you asked, hopefully this is exactly what you
> asked and I would get solution to fix the problem.

Snip

>
>
> $:~> kdevelop --version
>
> Code:
> --------------------
> Qt: 4.6.3
> KDE Development Platform: 4.4.4 (KDE 4.4.4) “release 2”
> KDevelop: 4.0.0
>
> --------------------
>
>
> Thanks.
>
>

I can not help you with your issue but running openSUSE 11.3 with
upgrades gives me a “release 3” for kdevelop. As far as the New Project
option, my kdevelop shows from the menu Project -> New from template and
then lists a few templates for new projects.

You can program no GUI C++ programs using cmake which must be installed
and was not required to install kdevelop.

Hope that helps you.

Eric

Oh yeah I posted this before upgrading my system. Sorry if that gave any trouble in answering the question. After upgrade it is showing me “release 3” as-well.

How do we actually configure kdevelop to use cmake (I have it installed already).

Thanks

On 02/28/2011 10:06 PM, bhayam wrote:
>
> eric;2296640 Wrote:
>>
>> I can not help you with your issue but running openSUSE 11.3 with
>> upgrades gives me a “release 3” for kdevelop.
>>
> Oh yeah I posted this before upgrading my system. Sorry if that gave
> any trouble in answering the question. After upgrade it is showing me
> “release 3” as-well.
>
> eric;2296640 Wrote:
>>
>> As far as the New Project option, my kdevelop shows from the menu
>> Project -> New from template and then lists a few templates for new
>> projects. You can program no GUI C++ programs using cmake which must be
>> installed and was not required to install kdevelop.
>>
>
> How do we actually configure kdevelop to use cmake (I have it installed
> already).
>
> Thanks
>
>
I do not remember doing anything to configure kdevelop to use cmake. If
IRC I was given an error message when I tried to compile a program that
let me know I needed to install cmake.

If yours is not working, I think you can go to the menu Settings ->
Configure-KDevelop and on the left hand side is “Plugins”. Click on
that to see what plugins have been found and there is also a place to
search for plugins. That may help you out.

Eric

Thanks Erik. Also how do I mark this thread solved.

hi bhayam, I had the same problem and discovered that kdevelop4-plugins-php not only contains the PHP plugin, but ALL plugins, including the new project wizard. So installing this package solved the problem for me.

greets