[Lazarus] FPC Source Error: directory not found

Bernd prof7bit at gmail.com
Thu Nov 8 16:45:50 CET 2012


2012/11/8 Bernd <prof7bit at gmail.com>:
> 2012/11/8 Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk>:
>
>> Could ppcXXX return its build directory?
>
> This is not a good idea. For example rpm or deb packages would contain
> a compiler that was compiled in some arbitrary folder and then later
> the sources will be copied to somewhere else by the installer.

Since this problem only ever occurs when fpc is installed manually
(with make) it might be a better idea to provide another make target
in the fpc makefile that would allow to do

sudo make installsource

that would install the sources into $(PREFIX)/share/fpcsrc/$(VERSION)
the same place the installer packages would have installed it and
lazarus is already looking for it and then the official instructions
for installing fpc from source would contain also the above line and
everybody who is following the instructions wold not have to wonder
whether there is a separate procedure to install the sources or what
exactly to install if installing manually, etc.




More information about the Lazarus mailing list