Re: [Lazarus] Add package
On Thu, Sep 19, 2013 at 03:06:55PM +0200, Mattias Gaertner wrote: times. Then build the IDE. The last time I worked with Indy, deduping the .inc files resolved the the circular dependency problem. They had multiple, not exactly the same copies. Why does the Delphi compiler eat multiple include files with same name? Delphi is less strict with dependencies on .inc files. (no CRC?, only timestamping?) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Add package
Le 18/09/2013 17:03, Graeme Geldenhuys a crit: On 2013-09-18 11:09, Antonio Fortuny wrote: The package is Indy. On a different subject. What is the latest Indy version that works with FPC? I have 10.5.8 here, is that the latest for FPC? I'm currently working with 10.6.0 on Win32, Win64, Linux x86_64 and WinCE Antonio. Regards, - Graeme - -- Antonio Fortuny Senior Software engineer 220, avenue de la Libert L-4602 Niederkorn Tel.: +352 58 00 93 - 93 www.sitasoftware.lu -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Add package
On Wed, Sep 18, 2013 at 01:01:59PM +0200, Mattias Gaertner wrote: 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. The last time I worked with Indy, deduping the .inc files resolved the the circular dependency problem. They had multiple, not exactly the same copies. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Add package
On Thu, 19 Sep 2013 14:49:09 +0200 Marco van de Voort mar...@stack.nl wrote: On Wed, Sep 18, 2013 at 01:01:59PM +0200, Mattias Gaertner wrote: 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. The last time I worked with Indy, deduping the .inc files resolved the the circular dependency problem. They had multiple, not exactly the same copies. Why does the Delphi compiler eat multiple include files with same name? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Add package
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. Antonio. . -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Add package
On Wed, 18 Sep 2013 12:09:50 +0200 Antonio Fortuny a.fort...@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 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Add package
Colved. Recompile indylaz with -Ur option Found trick in http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg18469.html -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Add package
On 2013-09-18 11:09, Antonio Fortuny wrote: The package is Indy. On a different subject. What is the latest Indy version that works with FPC? I have 10.5.8 here, is that the latest for FPC? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus