[Bug 71003] New: Cannot translate project due to srcdir != builddir.
Pupeno
pupeno at kde.org
Mon Dec 22 00:25:06 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=71003
Summary: Cannot translate project due to srcdir != builddir.
Product: kdevelop
Version: 3.0.0b1
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: pupeno at kde.org
Version: 3.0.0b1 (using KDE 3.1.4)
Compiler: gcc version 3.3.2 (Ark Linux 1.0 3.3.2-1ark)
OS: Linux (i686) release 2.4.23-2ark
If you try to make messages and merge with the new project layout of KDevelop, you get the following errors (because srcdir != builddir):
*cd /home/pupeno/src/delme/debug && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k -j1 package-messages
*gmake -f admin/Makefile.common package-messages
*gmake[1]: Entering directory `/home/pupeno/src/delme/debug'
*gmake[1]: admin/Makefile.common: No such file or directory
*gmake[1]: *** No rule to make target `admin/Makefile.common'.
*gmake[1]: Failed to remake makefile `admin/Makefile.common'.
*gmake[1]: *** No rule to make target `package-messages'.
*gmake[1]: Leaving directory `/home/pupeno/src/delme/debug'
*gmake: *** [package-messages] Error 2
**** Exited with status: 2 ***
that is because the makefile on debug can't find admin/Makefile.common
If I hack it to look for ../admin/Makefile.common, I get other errors, so, I think this needs a real solution, the errors I get, for example are:
*cd /home/pupeno/src/delme/debug && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k -j1 package-messages
*gmake -f ../admin/Makefile.common package-messages
*gmake[1]: Entering directory `/home/pupeno/src/delme/debug'
*gmake[1]: Leaving directory `/home/pupeno/src/delme/debug'
*gmake -C po merge
*gmake[1]: Entering directory `/home/pupeno/src/delme/debug/po'
*gmake -f /home/pupeno/src/delme/admin/Makefile.common package-merge POFILES="es.po" PACKAGE=delme
*gmake[2]: Entering directory `/home/pupeno/src/delme/debug/po'
*msgmerge: error while opening "es.po" for reading: No such file or directory
*gmake[2]: Leaving directory `/home/pupeno/src/delme/debug/po'
*gmake[1]: Leaving directory `/home/pupeno/src/delme/debug/po'
**** Success ***
Thanks.
More information about the KDevelop-devel
mailing list