Version: 3.0.0b2 (kdevelop-031231) (using KDE KDE 3.1.4) Installed from: Debian stable Packages OS: Linux When kdelibs4-devis installed from current Debian stable backport, the file kde.dot is in /usr/include/kde/. This is not correctly supported by the admin/cvs.sh script. Running 'make package-messages' results in: $ make package-messages make -f admin/Makefile.common package-messages make[1]: Entering directory `/home/fjp/kdevelop/sigcreate' ./src make[2]: Entering directory `/home/fjp/kdevelop/sigcreate/src' error while opening "/usr/include/kde.pot" for reading: No such file or directory make[2]: *** [messages] Error 1 ... I have traced this error to the following lines in cvs.sh (note: I added an extra line continuation): $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \ XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale \ -x ${includedir:-${KDEDIR:-/usr/local/kde}/include}/kde.pot" \ messages To make the script work on my box I changed 3rd line to: -x ${includedir:-${KDEDIR:-/usr/local/kde}/include/kde}/kde.pot" \ This solved the problem. However, this fix may break the script when kde is installed in /usr/local, so possibly another solution is necessary.
I looked into it and asked coolo about it, this was the answer I got: coolo Well, it's no bug per se as the kde.pot can't be found through configure so you need to provide some way and passing includedir= to the call would be prefered. Nothing I can fix in cvs.sh /coolo So please try it out. I'm marking it an Autotools problem, but it migth be a app_template problem or no problem at all. I do not have a patched gettext so I can not test it.
I have resubmitted this bug as a Debian packaging problem. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229583
This problem also happens in Ark Linux, and maybe lots of other distros, evidently, there's something wrong, I don't know where... Is it wrong to put kde.pot inside /usr/include/kde/ ? That's where it is here, should it go to /usr/include/ ? Thanks.
the location of the file is fine, just that kdevelop needs to pass the location to cvs.sh when it knows where it is (I wonder why the bug was closed)
I closed it because from the first reactions I thought you did not consider it a KDevelop problem. So I decided to submit the bug as a Debian packaging problem. As far as I can tell however the problem _is_ in cvs.sh. I you would rather solve this problem within KDevelop (and not as something Debian-specific), then I'll be happy to reopen the bug. Please let me know.