[Lazarus] Add package

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 18 13:01:59 CEST 2013


On Wed, 18 Sep 2013 12:09:50 +0200
Antonio Fortuny <a.fortuny at sitasoftware.lu> wrote:

> Hi All.
> 
> I run into a Lazarus package install that I've had some months ago but 
> on Win64. This time problem araises into my new Lazarus 1.0.12 in a 
> Linux x86_64 box
> The package is Indy. The package compilation itself runs OK, no problem. 
> It hes been compiled with -fPIC because it is used in a shared library.
> When rebuilding the IDE, the following messages are displayed:
> make: Entering directory `/usr/lib64/lazarus'
> /usr/bin/make -C ide idepkg
> make[1]: Entering directory `/usr/lib64/lazarus/ide'
> /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -O2 -g- -Xs 
> @/home/sita/.lazarus/idemake.cfg 
> -FU/home/sita/.lazarus/units/x86_64-linux/gtk2 
> -FE/home/sita/.lazarus/bin -o/home/sita/.lazarus/bin/lazarus'
> make[2]: Entering directory `/usr/lib64/lazarus/ide'
> /usr/bin/fpc -gl -Sci -dlclgtk2 -Fu../designer -Fu../debugger 
> -Fu../debugger/frames -Fu../converter -Fu../packager 
> -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fiinclude 
> -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/gtk2 -Cg 
> -Fl/usr/lib64/gcc/x86_64-suse-linux/4.7 -Fl/usr/local/lib64 
> -Fl/usr/local/lib -Flinclude -Fl/etc/ld.so.conf.d/*.conf -O2 -g- -Xs 
> @/home/sita/.lazarus/idemake.cfg 
> -FU/home/sita/.lazarus/units/x86_64-linux/gtk2 
> -FE/home/sita/.lazarus/bin -o/home/sita/.lazarus/bin/lazarus -dx86_64 
> lazarus.pp
> Free Pascal Compiler version 2.6.2 [2013/03/17] for x86_64
> Copyright (c) 1993-2012 by Florian Klaempfl and others
> Target OS: Linux for x86-64
> Compiling lazarus.pp
> PPU Loading 
> /home/sources/packages/Indy10/lib/lib/x86_64-linux/IdStreamVCL.ppu
> PPU Source: IdStreamVCL.pas not found
> PPU Source: IdCompilerDefines.inc not found
> Recompiling IdStreamVCL, checksum changed for IdGlobal
> IdStream.pas(29,3) Fatal: Can not find unit IdStreamVCL used by IdStream.
> 
> All units (*.o and *.ppu) have been compiled with the package itself and 
> are visible in the ./lib/x86_64-linux folder
> I couldn't find something similar in the history.

Last time I tried Indy it had some circular dependencies in units, which
fpc had problems with. This can be remedied by compiling a
second, sometimes a third time.
Open the Indy package and use the "Compile" button to compile it three
times.
Then build the IDE.

Mattias




More information about the Lazarus mailing list