*sigh* i think i may have got to the bottom of this :-)

(believe me I am not sitting up this late just to do this, I forgot to
cook the bread tonight so I am sitting up to do it, might as well fix
Barry's problem while I am waiting...)

OK I think the crash problem is related to the program being in the wrong
directory.

It is important that the KDEDIR variable is set correctly when you do
./configure.

Now if you followed either of my previous emails, delete anything you
manually moved.
then go to the dir where you compiled the program and do

su   (to become root)
make uninstall
make clean
exit (you should be barry again)

now check KDEDIR

echo $KDEDIR

it should be something like /usr/kde or maybe /opt/kde3 but the exact
whereabouts is very distro dependent.

if it is not set,find out what it should be for your distro. It needs to
be set correctly before you configure. if echo reports something sensible
then go ahead and

./configure
make
su
make install
exit

if echo shows nothing then its not set and as i said you need to find out
what it should be. then you would set it when you configure and the above
becomes:

KDEDIR=/usr/kde ./configure
make
su
make install
exit


where /usr/kde is the approporiate KDEDIR for your distro.





On Mon, January 24, 2005 12:04 am, Nick Rout said:

> On Sun, January 23, 2005 10:19 pm, Barry said:
>> Hi
>>
>> I recently downloaded source code for kxstitch and worked my way through
>>    configure, make and make install successfully (all foreign territory
>> for me, tried it because the rpm would not install).
>>
>>   1st Problem is that the executable is in /usr/local/kde/bin instead of
>> /usr/bin. It starts but crashes on pressing button3
>>
>>   2nd problem is that the help button can not find the documentation
>> which is in /usr/local/kde/doc/HTML/en/kxstitch
>>
>>   3rd problem is..... what do I use to read docbook files.
>
> docbook seems to be the format expected by the kde help thingy.
>
> you need to have the files in the right place for your system though.
>
> I suggest you have a poke around in the system and find where the other
> kde help files are, on my system (gentoo) it is /usr/share/doc/HTML/en/
>
> move those files installed in /usr/local/kde/doc/HTML/en/kxstitch to where
> ever your system expects them (in mine it would be
> /usr/share/doc/HTML/en/kxstitch - probably the best way to find out is to
> look where a well behaved mandrake packaged kde program puts them -
> something like
>
> rpm -ql (name of some package whose help files appear ok in
> khelpcenter)|grep HTML shuld give a clue
>
> then pressing f1 in kxstitch should start khelpcentre with the correct
> file opened!
>
> BTW it crashes on right click on my system too - definitely one for the
> developer i would say.
>
>
>
>>
>> I installed into Mandrake10
>>
>> How do I correct these problems please
>>
>> Barry
>>
>>
>
>
>


Reply via email to