[Lazarus] package FCL

Sven Barth pascaldragon at googlemail.com
Thu Sep 5 20:52:19 CEST 2013


On 05.09.2013 15:13, Antonio Fortuny wrote:
>
>> The usual work flow is like this:
>> You alter fpc units and tests them with some test program (ppu files in
>> source\packages\fcl-db\units\...).
> OK
>> When you are done, you build all fpc packages that depend on these
>> ppus and copy
>> all new files to the install folders (fpc\2.6.2\units\...).
> Done with units from bufdataset.pas. All the fpc-db has been recompiled
> and units copied
> But still doesn't work with Lazarus. Dropping the TBufDataSet onto a
> Form the new method I added is not seen.
> My problem seems to be able to re-install the component.
>
> When changing a little bit an FPC unit not involved in any Lazarus
> package, the former trick runs OK and looks pretty good.
> This time inside the Lazarus IDE the changes I've made to the original
> unit are not seen.

The important part is that you need to recompile all FPC packages that 
depend on TBufDataSet (for example SqlDb).

>> The safest way is too simply rebuild the whole fpc and call make install.
>> Please read the documentation about building and installing fpc.

I'd recommend you to choose this way. Otherwise you might forget a unit 
that you currently don't use and some months later you wonder why just 
this one unit doesn't work...

Regards,
Sven




More information about the Lazarus mailing list