[Kmymoney-devel] cmake errors

Jack ostroffjh at users.sourceforge.net
Wed May 19 17:02:13 CEST 2010


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