[Kmymoney-devel] cmake errors
Alvaro Soliverez
asoliverez at gmail.com
Wed May 19 18:01:48 CEST 2010
I've been able to reproduce it with my arch package that calls createtarball.
It seems to be a problem in the way the CMakeLists.txt files are
created for the po directories.
I'll check with the folks in the kde-i18n-doc list.
Regards,
Alvaro
On Wed, May 19, 2010 at 12:30 PM, David Houlden <djhoulden at gmail.com> wrote:
> I'm on a machine which has version 3.98.0-svn1127849 installed and working. I
> just did the following steps.
>
> Got the latest createtarball from svn at
> svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/createtarball
>
> Ran createtarball.rb and it created a directory kmymoney-3.98.0/ and a file
> kmymoney-3.98.0.tar.bz2.
>
> cd kmymoney-3.98.0
> mkdir build
> cd build
> cmake ..
>
> It goes through the configure steps which end with this -
>
> Good - your configure finished.
> Now type 'make' to build KMyMoney. For more help, consult README.cmake
>
> -- Looking for dgettext
> -- Looking for dgettext - found
> -- Found Gettext: built in libc
>
> Then it starts outputting the cmake errors which I posted originally.
>
> Thanks for any advice.
> Dave.
>
>
> On Wednesday 19 May 2010 Jack wrote:
>> I just followed those same instructions with 3.98, without problem. I
>> don't really know cmake well, but was that in a completely clean
>> environment, with no overlap with a previous version?
>>
>> On 2010.05.19 10:40, David Houlden wrote:
>> > OK. I've been investigating a bit more. These errors only occur if I
>> > use the
>> > CMakeLists.txt which I get from running createtarball.rb. I do this
>> > so I can
>> > build kmymoney from source with all the documentation. I'm just
>> > following the
>> > instructions to do this which Alvaro posted here back in March.
>> > Should I be
>> > doing something different since the release of 3.98?
>> >
>> > Thanks,
>> > Dave.
>> >
>> > On Tuesday 18 May 2010 David Houlden wrote:
>> > > Hi,
>> > >
>> > > I have been building the svn version for a very long time with few
>> >
>> > problems
>> >
>> > > but tonight I did an svn update to 1128271 and then got errors when
>> >
>> > running
>> >
>> > > cmake .. in my build directory. Here are some of the errors.
>> > >
>> > > CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:229
>> > > (ADD_CUSTOM_TARGET):
>> > > add_custom_target cannot create target "pofiles" because another
>> >
>> > target
>> >
>> > > with the same name already exists. The existing target is a
>> >
>> > custom
>> >
>> > > target created in source directory
>> > > "/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/po/bg". See
>> > > documentation for policy CMP0002 for more details.
>> > > Call Stack (most recent call first):
>> > > po/ca/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)
>> > >
>> > >
>> > > CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:229
>> > > (ADD_CUSTOM_TARGET):
>> > > add_custom_target cannot create target "pofiles" because another
>> >
>> > target
>> >
>> > > with the same name already exists. The existing target is a
>> >
>> > custom
>> >
>> > > target created in source directory
>> > > "/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/po/bg". See
>> > > documentation for policy CMP0002 for more details.
>> > > Call Stack (most recent call first):
>> > > po/ca at valencia/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)
>> > >
>> > >
>> > > CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:229
>> > > (ADD_CUSTOM_TARGET):
>> > > add_custom_target cannot create target "pofiles" because another
>> >
>> > target
>> >
>> > > with the same name already exists. The existing target is a
>> >
>> > custom
>> >
>> > > target created in source directory
>> > > "/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/po/bg". See
>> > > documentation for policy CMP0002 for more details.
>> > > Call Stack (most recent call first):
>> > > po/cs/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)
>> > >
>> > > Any ideas what has gone wrong? The svn update appears to have
>> >
>> > updated my
>> >
>> > > CMakeLists.txt.
>> > >
>> > > Thanks,
>> > > Dave.
>> >
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
More information about the KMyMoney-devel
mailing list