Bug 307069 - Building kmymoney from source fails while making the french handbook.
Summary: Building kmymoney from source fails while making the french handbook.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.6.3
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 20:17 UTC by o113360
Modified: 2014-07-29 10:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description o113360 2012-09-19 20:17:04 UTC
Distribution: Slackware 64 13.37

$> tar xjf  ../kmymoney-4.6.3.tar.bz2
$> cd kmymoney-4.6.3
$> mkdir build
$> cd build
$> >cmake --version
cmake version 2.8.4
$>cmake .. -DCMAKE_INSTALL_PREFIX=/usr
...
$>make 
...
Scanning dependencies of target kmymoney-handbook
[ 97%] Generating index.cache.bz2                                                                                                                                                                                                           
index.docbook:253: parser error : Entity 'traducteurJoseFournier' not defined                                                                                                                                                               
&traducteurJoseFournier; &traducteurSimonDepiets; 
                        ^
credits.docbook:250: parser error : Entity 'JoseFournier' not defined
>Traduction française par &JoseFournier; et &SimonDepiets;.</para
                                         ^
credits.docbook:254: parser error : chunk is not well balanced

^
index.docbook:376: parser error : Failure to process entity credits
&credits;
         ^
index.docbook:376: parser error : Entity 'credits' not defined
&credits;
         ^
make[2]: *** [doc-translations/fr_kmymoney/kmymoney/index.cache.bz2] Error 1
make[1]: *** [doc-translations/fr_kmymoney/kmymoney/CMakeFiles/kmymoney-handbook.dir/all] Error 2
make: *** [all] Error 2

Remark:
Uncommenting "add_subdirectory( fr_kmymoney/kmymoney )" in doc-translations/CMakeLists.txt solves the problem in the sence that kymmoney can be built and installed.


Reproducible: Always

Steps to Reproduce:
1.Build kmymoney on slackware64 13.37
2.
3.
Actual Results:  
Fails to install with make install

Expected Results:  
Compile smoothly
Comment 1 Yuri Chornoivan 2012-09-20 11:18:21 UTC
This bug was fixed by the French KDE Team:

http://lists.kde.org/?l=kde-i18n-doc&m=134743554018261&w=2

It appears that it is seen on the old KDE installations only (with old kdelibs).
Comment 2 o113360 2012-09-20 22:20:47 UTC
Is it possible to remove the french handbook automatically in cases of older KDE installations so that the rest of kmymoney will compile and install without error?
Comment 3 Jack 2012-09-20 22:33:04 UTC
It is possible.  I don't know if just changing the language to English would compile the English documentation instead.  Otherwise, I don't remember the necessary option to cmake to tell it to not do the manual, but if you do 'ccmake .' instead of 'ccmake ..' you get a GUI where you can set all the build parameters and can turn off those for the handbook.