[Lazarus] Ok I give up!

Reinier Olislagers reinierolislagers at gmail.com
Tue Mar 5 13:50:15 CET 2013


On 5-3-2013 13:29, appjaws wrote:
> On 04/03/13 18:20, Reinier Olislagers wrote:
>> On 4-3-2013 16:54, appjaws wrote:
>>> On 04/03/13 11:28, Reinier Olislagers wrote:
>>>> On 4-3-2013 12:21, appjaws wrote:
>>>>> On 02/03/13 17:21, Reinier Olislagers wrote:
>>>>>> On 2-3-2013 17:41, appjaws wrote:
>>>>>>> Any ideas on the built in help, I'm using linux with lazarus
>>>>>>> 1.0.6 and
>>>>>>> fpc 2.6.0
<snip stuff that seems OK>
>>> HelpEXE :- /usr/share/lazarus/1.0.6/components/chmhelp/lhelp/lhelp
>> That looks good.
Well, is there an lhelp executable there with correct permissions?....
(see below)
>>
>>> HelpFilesPath :- /usr/share/lazarus/1.0.6/docs/chm/
<snip stuff that seems OK>

>> Hope with this you can get it going!
> Viewers section
<snip stuff that seems OK>

> CHM Help Viewer
>     HelpExe := /usr/share/lazarus/1.0.6/components/chmhelp/lhelp/lhelp
See above; make sure there's an lhelp executable there
If not, run Lazarus as root, open the lhelp project there, compile, check.

An additional troubleshooting step: you can run lhelp stand alone as
your regular user and try to open the chms in the path mentioned above.

<snip stuff that seems OK>>
> Well it still does not work, I thought it might be a permissions problem
> because /home/paul/,config/lhelp had permissions set to root, but even
> running lazarus as root didn't solve the problem, F1 will not work.
Mmmm, no idea what /home/paul/,config/lhelp is (perhaps you meant
.config but still....
Could well be the settings for lhelp.
It's in your directory, I'd fix the permissions anyway with
chown --recursive paul:paul /home/paul/.config/lhelp/* (or whatever the
actual command is, this is more a guess)


> This is /home/paul/,config/lhelp/ihelp-.conf
> 
> <?xml version="1.0"?>
> <CONFIG>
>   <Position>
>     <Left Value="261"/>
>     <Top Value="244"/>
>     <Width Value="758"/>
>     <Height Value="535"/>
>   </Position>
>   <LastFileOpen Value="/usr/share/lazarus/1.0.6/docs/chm/user.chm"/>
>   <Recent>
>     <ItemCount Value="5"/>
>     <Item0 Value="file:///usr/share/lazarus/1.0.6/docs/chm/user.chm"/>
>     <Item1 Value="file:///usr/share/lazarus/1.0.6/docs/chm/toc.chm"/>
>     <Item2 Value="file:///usr/share/lazarus/1.0.6/docs/chm/rtl.chm"/>
>     <Item3 Value="file:///usr/share/lazarus/1.0.6/docs/chm/ref.chm"/>
>     <Item4 Value="file:///usr/share/lazarus/1.0.6/docs/chm/lcl.chm"/>
>   </Recent>
>   <TChmContentProvider>
>     <TabControlWidth Value="227"/>
>   </TChmContentProvider>
> </CONFIG>
> 
> 
> Is F1 the only way to access the integrated help?
Yep. Do note that you need to put the cursor on a keyword (e.g. begin,
or for or while...).
> 
> Why is this so difficult?
Don't know, but the fact that config files in your home directory are
owned(?) by root is an indicator that you did something you're not
supposed to do.

> Why isn't it automatically installed when Lazarus is installed?
Answered that question earlier...

> Any other ideas?
The easy but drastic option: remove Lazarus, including config files
(aptitude purge lazarus fpc... or something on Debian)
Manually ensure all trace is removed in /home/paul/.config (or ,config):
lazarus, fpc, lhelp
Reinstall.

> regards
> frustrated Paul
I understand. It *shouldn't* be that hard.




More information about the Lazarus mailing list