Veraltetes Buildsystem in install-compile.docbook

Thomas Reitelbach tr at erdfunkstelle.de
Thu Nov 15 21:09:14 CET 2007


On Donnerstag, 15. November 2007, Burkhard Lück wrote:
> Hallo,
>
> für die KDE4-Dokumentation wird in install-compile.docbook immer noch
> autoconf/automake statt cmake erwähnt.
>
> Ich möchte das so ändern:
>
> kdedev at rebutia:~/svn$ svn diff kdelibs/kdoctools/customization/
> Index: kdelibs/kdoctools/customization/de/entities/install-compile.docbook
> ===================================================================
> --- kdelibs/kdoctools/customization/de/entities/install-compile.docbook
> (Revision 736899)
> +++ kdelibs/kdoctools/customization/de/entities/install-compile.docbook
> (Arbeitskopie)
> @@ -2,13 +2,12 @@
>  installieren, geben Sie folgende Befehle im Hauptordner der
>  Programm-Quellen von &kappname; ein: </para>
>
> -<screen><prompt>%</prompt>
> <userinput><command>./configure</command></userinput>
> +<screen><prompt>%</prompt> <userinput><command>cmake</command></userinput>
>  <prompt>%</prompt> <userinput><command>make</command></userinput>
>  <prompt>%</prompt> <userinput><command>make</command> install</userinput>
>  </screen>
>
> -<para>Da &kappname; <command>autoconf</command> und
> -<command>automake</command> benutzt, sollte es dabei keine
> +<para>Da &kappname; <command>cmake</command> benutzt, sollte es dabei
> keine Schwierigkeiten geben. Sollten dennoch Probleme auftauchen, wenden
> Sie sich bitte an die &kde;-Mailinglisten.</para>
>
> Index: kdelibs/kdoctools/customization/en/entities/install-compile.docbook
> ===================================================================
> --- kdelibs/kdoctools/customization/en/entities/install-compile.docbook
> (Revision 736899)
> +++ kdelibs/kdoctools/customization/en/entities/install-compile.docbook
> (Arbeitskopie)
> @@ -1,12 +1,12 @@
>  <para>In order to compile and install &kappname; on your system, type the
>  following in the base directory of the &kappname; distribution:</para>
>
> -<screen><prompt>%</prompt>
> <userinput><command>./configure</command></userinput>
> +<screen><prompt>%</prompt> <userinput><command>cmake</command></userinput>
>  <prompt>%</prompt> <userinput><command>make</command></userinput>
>  <prompt>%</prompt> <userinput><command>make</command> install</userinput>
>  </screen>
>
> -<para>Since &kappname; uses <command>autoconf</command> and
> -<command>automake</command> you should have no trouble compiling it.
> Should you
> -run into problems please report them to the &kde; mailing lists.</para>
> +<para>Since &kappname; uses <command>cmake</command> you should have no
> trouble
> +compiling it. Should you run into problems please report them to the &kde;
> +mailing lists.</para>
>
> Einwände?

Jein.
Das Buildsystem von KDE setzt eigentlich mittlerweile voraus, dass srcdir != 
builddir sind. das bedeutet, dass die aufrufe auch anders sein müssen. z. b.:

cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/kde4 ..
make
make install

vielleicht hat sich aber mittlerweile im buildsystem etwas geändert, so dass 
das prefix automatisch erkannt wird, das weiß ich nicht so genau.

grüße
thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-i18n-de/attachments/20071115/b169e915/attachment.pgp 


More information about the kde-i18n-de mailing list