PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Compilierfehler bei K Programmen!


Nuke
13.11.02, 16:06
Hi,

ich wollte mir mal aktuelle Versionen von KMail, KBear und Quanta compilieren, nur leider erhalte ich bei allen denselben Fehler, nur halt ein anderer Programmname (siehe unten)! Auch wenn ich bei KDevelop ein KDE Normal Projekt erstelle erhalte ich Fehler (ratet mal welchen!:D)!

Jetzt kann ich mir denken das das was mit dem System zu tun hat. Ich hoffe ihr könnt mir helfen. OS: SuSE 8.0 Prof. (alle nötigen Online-Updates d.h., z.B. KDE 3.0.4)

Danke!

Hier der Fehler (kleiner Auszug):
Anfang:
/opt/kde3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:17: error: failed to load external entity "dtd/kdex.dtd"
]>
^
index.docbook:19: error: Entity 'language' not defined
<book lang="&language;">
^
index.docbook:19: validity error: No declaration for attribute lang of element book
<book lang="&language;">
^
index.docbook:20: validity error: No declaration for element title
<title>Quanta Plus User Manual</title>
^
index.docbook:25: validity error: No declaration for element firstname
<firstname>Robert</firstname>
^
index.docbook:26: validity error: No declaration for element surname
<surname>Nickel</surname>
^
index.docbook:27: validity error: No declaration for element email
<affiliation><address><email>robert@artnickel.com</email></address></affiliatio
.
.
.
Hier noch eine Menge Zeug!
.
.
.
extending-quanta.docbook:14: error: Entity 'quanta' not defined
<para>Probably the most notable additions to &quanta; for the general user will
^
extending-quanta.docbook:18: error: Entity 'quanta' not defined
<ulink url="http://quanta.sourceforge.net/main1.php?contfile=resource">&quanta;
^
extending-quanta.docbook:94: error: Entity 'quanta' not defined
based &quanta; resource files.</para>
^
extending-quanta.docbook:101: error: Entity 'Ctrl' not defined
<keycombo action="simul">&Ctrl;<keycap>H</keycap>
^
extending-quanta.docbook:144: error: Entity 'quanta' not defined
<para>You'll need to restart &quanta; and then you'll see your docs.</para>
^
extending-quanta.docbook:147: error: Entity 'quanta' not defined
<ulink url="http://quanta.sourceforge.net/main1.php?contfile=resource">&quanta;
^
extending-quanta.docbook:148: error: Entity 'quanta' not defined
for use by the &quanta; community. You won't get rich, but you'll feel great kn
^
extending-quanta.docbook:160: error: Entity 'quanta' not defined
<title>Creating Actions in &quanta;</title>
^
extending-quanta.docbook:161: error: Entity 'quanta' not defined
<para>Actions in &quanta; are the basis for nearly all the extensions that &qua
^
extending-quanta.docbook:161: error: Entity 'quanta' not defined
ra>Actions in &quanta; are the basis for nearly all the extensions that &quanta
^
extending-quanta.docbook:162: error: Entity 'quanta' not defined
future. The same mechanism that defines an action in &quanta; enables autocomp
^
extending-quanta.docbook:295: error: Entity 'Ctrl' not defined
tput to the message window <menuchoice><shortcut><keycombo action="simul">&Ctrl
^
extending-quanta.docbook:306: error: chunk is not well balanced

^
make[3]: *** [index.cache.bz2] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/home/linux/Sourcen/quanta-3.0/doc/en«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/home/linux/Sourcen/quanta-3.0/doc«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/home/linux/Sourcen/quanta-3.0«
make: *** [all] Fehler 2

Nuke
14.11.02, 16:07
:(:(:(

Berthold
15.11.02, 08:44
Das hängt ja wohl irgendwie mit docbook zusammen, also, was hast du davon denn installiert?
Packages, Version ...

Nuke
15.11.02, 14:47
Hmm,

ich hab nicht ganz verstanden was du meinst, aber ich hab mal ein Bild von den DocBook-Packages die ich mit Yast2 gefunden hab:

http://home.t-online.de/home/M.Hami/docbook.jpg

Berthold
16.11.02, 08:07
Das Problem scheint in deinem KDE zu liegen.
Ich hab mal gestöbert, wo bei mir kdex.dtd liegt. Das File ist in
.../kde3/share/apps/ksgmltools2/customization
und zwar ist es Bestandteil des Source Pakets kdelibs-3.0.3
Nun hab ich nen selbst kompilierten KDE 3.0.3, während deiner ja wohl RPM ist.
Find doch mal heraus, ob du kdex.dtd überhaupt hast. Per locate oder so.
Das RPM kdelibs müsstest du eigentlich installiert haben, und das sollte kdex.dtd enthalten.
Schau mal unter
http://www.suse.de/de/private/products/suse_linux/ppc/packages/kdelibs.html
Wenn nicht -- ???
Wenn du das Package und das File hast, wird vielleicht der Pfad dazu nicht gefunden, und muss also beim Compile angegeben werden. Also, der Pfad zu KDE3.

Gruß
Berthold

Nuke
16.11.02, 08:37
Hi,

die Datei hab ich! Genau da wo du sie auch hast! Ich kann beim Compilieren leider den KDE-Pfad nicht angeben! export KDEDIR=/opt/kde3 hilft auch nicht. Es steht aber schon in der ./configure --help als Standard der Pfad /opt/kde3 bei der "make install" Beschreibung.

Ich mach mal ein Update auf KDE 3.0.4 + Security Patch (KDE 3.0.5). Da ist kde-lib mit drinne. Vielleicht läuft das ja!

Berthold
16.11.02, 09:59
Das Update kann sicherlich nicht schaden, da sollen ja ein paar Fixes drin sein, ob es hilft, weiß ich aber nicht.
Vielleicht mal nachschauen in ./configure --help, ob es noch andere KDE-Optionen gibt?
Die Sache interessiert mich, ich will eventuell demnächst selbst mal docbook kompilieren. Hab also gerade mal gegoogelt
http://barney.cs.uni-potsdam.de/pipermail/kdevelop-devel/2002-June/008571.html
Irgendwie scheint der Thread was damit zu tun zu haben, vielleicht mag es /opt/kde3 nicht? Weil selbst kompilierte Programme ja eher Richtung /usr/local gehn?
Ich hatte übrigens schon einige Male beim selbst compile das Problem, dass Pfade von RPM Packages nicht gefunden wurden, obwohl mE korrekt angegeben. Ich weiß nicht, woran das liegt.
Viel Glück noch, ich wär interessiert, ob das klappt.Berthold