can't create a new project in kdevelop
hi
I have just installed kdevelop from my 2nd slack 10.2 distribution disk. I opened the application and tried to create a new project. I've never used kdevelop before. But it just crashed. Very quietly, no error message, nothing. I tried rebooting but the result was the same. I uninstalled it and went to the kde page and downloaded a precompiled binary for slack 10.2. It installed smoothly, even putting an entry in my kde menu, but the problem is the same; when I do the following, it crashes: from the project menu -> new project I've looked on google and haven't been able to find a solution. Any help would be appreciated. ros |
If you fire KDevelop up from the command line, you should get a load of verbose messages running through on screen detailing what has occured whilst attempting to create a new project. Have a look through this and see if it offers any clues, and check the bug reports from the KDE website. You might be looking at filing a new bug if it's occuring after installing from two different sources :)
|
Hi again.
Now this is really silly; I must have made a fundamental mistake, or not installed something vital. I removed all traces of kdevelop (I checked with slocate), including the rc file, but not the icons (/opt/kde/share/icons), downloaded kdevelop-3.3.2-i486-1.tgz and installed it with installpkg. When I run this from the command line and try to open a new project, the application just disappears. There is no entry in .xsession-errors, and no message on the command line. Nothing. Just no more kdevelop. It must be me because: a) last time I downloaded and installed 3.3.1 and this time its 3.3.2 b) creating a new project is fundamental and if everyone had this problem, it would have been reported and solved in seconds. Do I have to set anything, initialise anything or do anything special before I create a new project? When I click on Project and highlight "New Project...", a message appears in the status bar "Generate a new project from template". Do I have to set up a template or anything like that? |
is there a ~.kdevelop file? launching it as a different user, sometimes the files in a users home dir gets a little picky or something. If this works move, rename, or delete the .kdevelop dir. It might be under ~/.kde
|
Hi
I searched for .kdevelop & got this Code:
root@Einstein:/home/family/Downloads/kdevelop-3.3.2# slocate .kdevelop I tried compiling kdevelop, having first installed the Berkeley DB packages that came with Slackware 10.2, but the make crashed with the following error: Code:
Making all in catalog Could it be that the path isn't set up properly? I'm beginning to wonder whether I shouldn't just use vi and be done with it! Any help to start a new project would be appreciated. ros |
I've had the same problem, but 5 minutes ago I found the solution after running an strace.
You should install the kdesdk package, which is available on the slackware pkg site. There is a lib called libcvsservice you apparantly need. After installing this package it worked fine for me. |
Hi
thanks for the suggestion. I installed kdesdk 3.4.2, did ldconfig but still get the same error when I run make. I don't have strace and I've never heard of it so I'll google around to see what I can find out about it... |
after installing the kdesdk package you should be able to install and run the kdevelop package without errors.
Sorry if I wasn't clear, but I did not try to recompile kdevelop myself, since I can now use the precompiled package... strace is a standard unix tool, that allows you to see which system calls are being used by a program. http://www.die.net/doc/linux/man/man1/strace.1.html With kdevelop I got an output containing: open("/opt/kde/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/./libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/qt/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/X11R6/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/opt/kde/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/./libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/qt/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/X11R6/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 14 fstat64(14, {st_mode=S_IFREG|0644, st_size=75029, ...}) = 0 mmap2(NULL, 75029, PROT_READ, MAP_PRIVATE, 14, 0) = 0xb5c44000 close(14) = 0 open("/lib/tls/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libcvsservice.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) Which suggested my that the file libcvsservice.so.0 was missing, which seemed to be contained in the kdesdk package. I ran strace as follows: strace kdevelop 2>kdeveloptrace.txt "2>kdeveloptrace.txt" is there to redirect the standard error output to a text file so I can easily read it. Ow, and about compiling, somewhere in the kdevelop bugs I read the slackware users wanting to compile kdevelop themselves, needed to explicitely specify the path to berkelydb to the configure script (there is an option for this, see "configure --help" in the kdevelop source dir.) |
Hi
thanks a lot - it works! I ran a precompiled package and I could create a new project. I strongly suspect that the kdesdk package was the catalyst since that's the only thing I'm aware of that has changed. And thanks for the strace explanation. ros |
Another topic (http://www.linuxquestions.org/questi...d.php?t=446140) suggests a simpler solution for those who do not want to install the kdesdk package: make a symbolic link from libcvsserviceintegrator, which is already in one of the other packages...
ln -s /opt/kde/lib/kde3/libcvsserviceintegrator.so /usr/lib/libcvsservice.so.0 |
All times are GMT -5. The time now is 12:23 PM. |