write problem with fpdoc lazarus / 1-Linux ---------------------------------------------------------------------- jim256 · 2026-01-09 11:23 Hi, new user second time. Tinkered with lazarus 5 or 6 years ago. I'm on ubuntu 22.04, lazarus 4.4. fpdoc produces: unable to write "usr/share/lazarus/4.4.0/docs/xml/lcl/stdctrls.xml". Briefly booted to win11, seemed to work there. Back to linux and in sheer desperation enabled user write permissions to "usr/share/lazarus/4.4.0/" & everything deeper level. Still unable to write. Lazarus seems to be able to compile & rebuild itself but not sure everythings 100% working yet. I'd wanted to see more documentation, seems to be a lot needed to learn. Done os re-installs and lazarus re-installs & tried earlier laz versions going back maybe to 3.6? Anyway, help getting pointed in right direction would be appreciated. ---------------------------------------------------------------------- dseligo · 2026-01-09 11:57 Try to build Lazarus from source, somewhere where you have write permissions (i.e. your home directory). Instructions: https://wiki.freepascal.org/Installing_Lazarus_on_Linux# Build_Lazarus_from_Source ---------------------------------------------------------------------- Roland57 · 2026-01-09 13:01 We would need to know what you tried to do with fpdoc (which command). Being a Linux user myself, I always use fpcup to install Lazarus, and as dseligo suggested, I always install it in my home directory. ---------------------------------------------------------------------- cdbc · 2026-01-09 13:05 Hi What dseligo said  ...and you could try out 'FpcUpDeluxe' from HERE, it will install into your /home/you/somedirofyourchoice/ directory. Regards Benny ---------------------------------------------------------------------- jim256 · 2026-01-09 18:10 I installed the three latest 4.4 debs. Selected fpdoc editor in view menu, selected say TButton in source editor then Create help item in fpdoc. Got the "unable to write.." error. Done little else since latest install. A bit of compiling. installed bgrabitmap paackage. Will try fpcup (again), lots of people say t works well,  if no luck try a build from source in home. Thanks for the suggestions. Be back in a day or two with results. ---------------------------------------------------------------------- JuhaManninen · 2026-01-09 19:33 Quote from: jim256 on January 09, 2026, 07:10:27 pmI installed the three latest 4.4 debs. Selected fpdoc editor in view menu, selected say TButton in source editor then Create help item in fpdoc. Got the "unable to write.." error. That requires a writable directory by design. You try to write documentation for LCL which is part of the Lazarus distribution. fpcup or fpcupdeluxe is not really needed to install Lazarus but it works, too. An easier way is to just download the sources from Gitlab (git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git) and run "make", assuming you have FPC installed from the Ubuntu repositories.