[Lazarus] Package issues
Werner Pamler
werner.pamler at freenet.de
Fri Jul 1 19:31:42 CEST 2016
Package hell is back...
After somehow getting around the compilation issues with fpspreadsheet,
not knowing how, I somehow ran into another trap with tvplanit. As you
may know from the forum I am refurbishing the Turbo Power libraray
VisualPlanIt for use in Lazarus.
At the moment there are three packages:
* laz_visualplanit.lpk: the main component package,
* laz_visualplanit_sqlite3.lpk: an extension with a datastore for
sqlite3 (requires laz_visualplanit), and
* laz_visualplanit_zeos.lpk: another extension with a datastore for
zeos database components (requires laz_visualplanit).
They share the same source folder, and compile into the same units
folder - maybe this is a problem, but the same works for TAChart.
The three packages do compile fine separately. But the final step,
installation into the IDE, crashes. Compilation of Lazarus stops in
lazarus.lpi with the message
"lazarus.pp(1,1) Fatal: Cannot find laz_visualplanit used by
Lazarus, incompatible
ppu=D:\Prog_Lazarus\svn\lazarus-ccr\components\tvplanit\packages\lib\i386-win32\laz_visualplanit.ppu,
multiple packages: laz_visualplanit, laz_visualplanit_sqlite3".
Then I, blindly, erase folders with compiled units, do a clean rebuild,
sometimes a normal rebuild. And all of a sudden, after some time, the
compilation ends sucessfully. Since I am actively working with these
components, however, I run into the same situation when I have to
rebuild Lazarus again. At the moment to only way to get a working system
it to remove the two dependent packages, laz_visialplanit_sqlite3 and
laz_visualplanit_zeos, from the installation list. Therefore, I suspect
that compiling all three packages into the same folder could be the culprit.
If somebody wants to see this by himself: the sources are in
Lazarus-ccr, folder components/tvplanit. I hope the issue is
reproducible on other systems...
Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160701/1dd55042/attachment.html>
More information about the Lazarus
mailing list