Bug 51952

Summary: kspell docs won't compile
Product: [Unmaintained] kdelibs Reporter: Malte S. Stretz <mss>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Output of `make`

Description Malte S. Stretz 2002-12-15 20:53:41 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2 
OS:          Linux

Seems like the kspell docs in kdelibs don't want to compile. The kdex.dtd isn't found. I'll attach an output of the make run.

I think I stumbled over this one already in RC3. I removed the doc line from the Makefile and it went on if I recall right.

Regards,
Malte
Comment 1 Malte S. Stretz 2002-12-15 20:54:18 UTC
Created attachment 622 [details]
Output of `make`
Comment 2 Stephan Kulow 2002-12-16 09:02:30 UTC
Subject: Re:  New: kspell docs won't compile

Am Sonntag, 15. Dezember 2002 20:53 schrieben Sie:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=51952
>            Summary: kspell docs won't compile
>            Product: kdelibs
>            Version: unspecified
>           Platform: Compiled Sources
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: coolo@kde.org
>         ReportedBy: kde-contrib@msquadrat.de
>
>
> Version:            (using KDE KDE 3.0.99)
> Installed from:    Compiled From Sources
> Compiler:          gcc 3.2
> OS:          Linux
>
> Seems like the kspell docs in kdelibs don't want to compile. The kdex.dtd
> isn't found. I'll attach an output of the make run.
>
> I think I stumbled over this one already in RC3. I removed the doc line
> from the Makefile and it went on if I recall right.

This sounds very much like the usual "don't update your libxml" bug

Greetings, Stephan

Comment 3 Malte S. Stretz 2002-12-16 09:26:46 UTC
Eh... the what? I've got libxml 2.4.26. Is that one too old or too new (do you 
mean "don't" or "didn't")? 
 
Or do you mean #41374? I'll try the hack suggested there. If this is a known 
bug in RC5, it should IMHO go to "Known bugs" on [1]. 
 
Regards, 
Malte 
 
[1]http://www.kde.org/info/3.1.html 
Comment 4 Stephan Kulow 2002-12-16 13:26:47 UTC
Subject: Re:  kspell docs won't compile

Am Montag, 16. Dezember 2002 09:26 schrieben Sie:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=51952
>
>
>
>
> ------- Additional Comments From kde-contrib@msquadrat.de  2002-12-16 09:26
> ------- Eh... the what? I've got libxml 2.4.26. Is that one too old or too
> new (do you mean "don't" or "didn't")?
>
> Or do you mean #41374? I'll try the hack suggested there. If this is a
> known bug in RC5, it should IMHO go to "Known bugs" on [1].
It's a bug in your libxml

Greetings, Stephan

Comment 5 Malte S. Stretz 2002-12-18 21:21:35 UTC
I think I finally found the bugs you're talking about [2,3]. Unfortunately 
does it seem like those bugs aren't fixed yet. I compiled the latest xmllib 
2.4.30 which obviously contains the patch from [2]. Still the same error. 
 
The pages [4,5] read "For the KDE help system, you'll need to install libxml2, 
version 2.3.13 or newer." I think those pages should note that bug in libxml2 
<= 2.4.26 (?). Especially because it looks like 3.1-final won't compile with 
those libs, too. 
 
Regards, 
Malte 
 
[2]http://bugzilla.gnome.org/show_bug.cgi?id=99326 
[3]http://bugzilla.gnome.org/show_bug.cgi?id=96963 
[4]http://developer.kde.org/build/compile_cvs.html 
[5]http://developer.kde.org/build/compile_kde3_0.html 
Comment 6 Stephan Kulow 2002-12-19 08:37:56 UTC
Subject: Re:  kspell docs won't compile

Am Mittwoch, 18. Dezember 2002 21:21 schrieben Sie:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=51952
>
>
>
>
> ------- Additional Comments From kde-contrib@msquadrat.de  2002-12-18 21:21
> ------- I think I finally found the bugs you're talking about [2,3].
> Unfortunately does it seem like those bugs aren't fixed yet. I compiled the
> latest xmllib 2.4.30 which obviously contains the patch from [2]. Still the
> same error.
>
> The pages [4,5] read "For the KDE help system, you'll need to install
> libxml2, version 2.3.13 or newer." I think those pages should note that bug
> in libxml2 <= 2.4.26 (?). Especially because it looks like 3.1-final won't
> compile with those libs, too.
>
> Regards,
> Malte
>
> [2]http://bugzilla.gnome.org/show_bug.cgi?id=99326
> [3]http://bugzilla.gnome.org/show_bug.cgi?id=96963
> [4]http://developer.kde.org/build/compile_cvs.html
> [5]http://developer.kde.org/build/compile_kde3_0.html

Hmm, I do have libxml 2.4.30 and it works just as it

Greetings, Stephan

Comment 7 Malte S. Stretz 2002-12-21 23:27:25 UTC
I tried it now 3 times and I can't get it to compile. 
 
I had xmllib 2.4.28 installed (Gentoo) but compiled 2.4.30 and installed it 
into /usr/local. According to config.log exactly this version is used. 
 
Hmmm... `ldconfig -p | grep libxml2` gives 
        libxml2.so.2 (libc6) => /usr/lib/libxml2.so.2 
        libxml2.so.2 (libc6) => /usr/local/lib/libxml2.so.2 
        libxml2.so (libc6) => /usr/lib/libxml2.so 
        libxml2.so (libc6) => /usr/local/lib/libxml2.so 
Is this list searched top-down? But overriding libs this way always worked for 
me... 
 
puzzled, 
Malte 
Comment 8 Stephan Kulow 2002-12-22 11:09:03 UTC
Subject: Re:  kspell docs won't compile

On Samstag, 21. Dezember 2002 23:27, you wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=51952
>
>
>
>
> ------- Additional Comments From kde-contrib@msquadrat.de  2002-12-21 23:27
> ------- I tried it now 3 times and I can't get it to compile.
>
> I had xmllib 2.4.28 installed (Gentoo) but compiled 2.4.30 and installed it
> into /usr/local. According to config.log exactly this version is used.
>
> Hmmm... `ldconfig -p | grep libxml2` gives
>         libxml2.so.2 (libc6) => /usr/lib/libxml2.so.2
>         libxml2.so.2 (libc6) => /usr/local/lib/libxml2.so.2
>         libxml2.so (libc6) => /usr/lib/libxml2.so
>         libxml2.so (libc6) => /usr/local/lib/libxml2.so
> Is this list searched top-down? But overriding libs this way always worked
> for me...
>

How about ldd on meinproc?

Greetings, Stephan

Comment 9 Malte S. Stretz 2002-12-22 18:17:23 UTC
| treehouse kdelibs-3.1rc5 # ldd kdoctools/.libs/meinproc | grep xml 
|         libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x4110d000) 
 
It's linked against the locally compiled one, ie. 2.4.30. 
 
Regards, 
Malte 
 
P.S.: I don't want to abuse Bugzilla as my personal support forum. Should I 
take this request to the lists, if so which one? 
Comment 10 Stephan Kulow 2002-12-22 20:52:40 UTC
Subject: Re:  kspell docs won't compile

On Sonntag, 22. Dezember 2002 18:17, you wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=51952
>
>
>
>
> ------- Additional Comments From kde-contrib@msquadrat.de  2002-12-22 18:17
> -------
>
> | treehouse kdelibs-3.1rc5 # ldd kdoctools/.libs/meinproc | grep xml
> |         libxml2.so.2 => /usr/local/lib/libxml2.so.2 (0x4110d000)
>
> It's linked against the locally compiled one, ie. 2.4.30.
>
> Regards,
> Malte
>
> P.S.: I don't want to abuse Bugzilla as my personal support forum. Should I
> take this request to the lists, if so which one?

kde-devel 

Greetings, Stephan

Comment 11 Malte S. Stretz 2002-12-23 12:11:09 UTC
I found a solution for this problem: I symlinked the dtd dir into the kspell  
dir and the needed dtd was found:  
  
| treehouse /usr/src/kde-3.1-rc5/kdelibs-3.1rc5/doc/kspell # ln -s  
|   ../../kdoctools/customization/dtd  
| treehouse /usr/src/kde-3.1-rc5/kdelibs-3.1rc5/doc/kspell # make  
| KDELIBS_UNINSTALLED=yes ../../kdoctools/meinproc --check --cache  
|   index.cache.bz2 ./index.docbook  
| treehouse /usr/src/kde-3.1-rc5/kdelibs-3.1rc5/doc/kspell #  
  
I'll reopen this bug as I think this is a bug either in the Makefile or  
meinproc. If you need any further infos, ask me.  
  
Regards,  
Malte 
  
Comment 12 Malte S. Stretz 2002-12-23 16:09:23 UTC
I just tried to compile Gideon on my SuSE 7.3 box and got the same error. 
Symlinked the dtd dir and everything went on smoothly. 
 
KDE 3.0.5 (SuSE RPMs from [6]) 
libxml2 2.4.23-52 (SuSE RPMs) 
 
Regards, 
Malte 
 
[6]ftp://ftp.gwdg.de/pub/x11/kde/stable/3.0.5/SuSE/ix86/7.3 
Comment 13 Stephan Kulow 2002-12-27 11:53:53 UTC
it's still a bug in your installation. Symlinking the directory is a work around 
Comment 14 Malte S. Stretz 2002-12-27 16:47:43 UTC
Hi Stephan, 
 
it was no bug in my installation but a typo in the index.docbook !DOCTYPE. The 
(trivial) patch can be found on kde-devel in [7]. 
 
Regards, 
Malte 
 
[7]200212271646.12564@malte.stretz.eu.org