Re: [Lazarus] Another Where is Error
On Tue, 2 Dec 2014 22:25:55 -0700 (MST) leledumbo leledumbo_c...@yahoo.co.id wrote: My question is how to find depend pas or lpk Make a good use of find in files feature. Dependency on external library can only be achieved in three ways (AFAIR): - {$LINKLIB libname} directive - external 'libname' procedure modifier - -kpass library to linker Packages have linking options greyed out AFAIK, so 3rd way is not possible. The other two can be easily searched using external 'sqlite3' or {$LINKLIB sqlite3} against your packages directories. Don't forget that it could be external identifier, so sometimes it is hard to find. Luckily this information is stored in the ppu files. The package Cody has a simple ppu parser and can show such things. See here: http://wiki.lazarus.freepascal.org/Cody#PPU_files_of_project It needs some update for the current 2.7.1 ppus though. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Another Where is Error
Copied from messages form. I can see /usr/bin/ld: cannot find -lsqlite3 this line, but I don't know witch _*lpk or pas*_. How can I find wrong file or lpk and remove or fix error? _ __Build IDE: Exit code 512, Errors: 1, Warnings: 1_ Verbose: /usr/bin/make -C ide idepkg Verbose: make[1]: Entering directory `/opt/lazarus/ide' Verbose: /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt' Verbose: make[2]: Entering directory `/opt/lazarus/ide' Verbose: /opt/freepascal/2.7.1/bin/fpc -gl -Sci -dlclqt -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.7.1/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/qt -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt -dx86_64 lazarus.pp Verbose: Free Pascal Compiler version 2.7.1 [2014/12/02] for x86_64 Verbose: Copyright (c) 1993-2014 by Florian Klaempfl and others Verbose: Target OS: Linux for x86-64 Verbose: Compiling lazarus.pp Verbose: Compiling resource /opt/lazarus/units/x86_64-linux/qt/lazarus.or Verbose: Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lsqlite3 lazarus.pp(142,1) Warning: Error while linking lazarus.pp(142,1) Verbose: There were 1 errors compiling module, stopping Error: Compilation aborted Verbose: /usr/bin/ppcx64 returned an error exitcode Verbose: make[2]: Leaving directory `/opt/lazarus/ide' Verbose: make[1]: Leaving directory `/opt/lazarus/ide' Verbose: [lazarus] Error 1 Verbose: [idepkg] Error 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Another Where is Error
You have a Lazarus package that depends of sqlite3 You should uninstall this package or install the sqlite3-dev system package Luiz 2014-12-02 12:01 GMT-03:00 FreeMan freema...@delphiturkiye.com: Copied from messages form. I can see /usr/bin/ld: cannot find -lsqlite3 this line, but I don't know witch *lpk or pas*. How can I find wrong file or lpk and remove or fix error? *Build IDE: Exit code 512, Errors: 1, Warnings: 1* Verbose: /usr/bin/make -C ide idepkg Verbose: make[1]: Entering directory `/opt/lazarus/ide' Verbose: /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt' Verbose: make[2]: Entering directory `/opt/lazarus/ide' Verbose: /opt/freepascal/2.7.1/bin/fpc -gl -Sci -dlclqt -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.7.1/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/qt -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt -dx86_64 lazarus.pp Verbose: Free Pascal Compiler version 2.7.1 [2014/12/02] for x86_64 Verbose: Copyright (c) 1993-2014 by Florian Klaempfl and others Verbose: Target OS: Linux for x86-64 Verbose: Compiling lazarus.pp Verbose: Compiling resource /opt/lazarus/units/x86_64-linux/qt/lazarus.or Verbose: Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lsqlite3 lazarus.pp(142,1) Warning: Error while linking lazarus.pp(142,1) Verbose: There were 1 errors compiling module, stopping Error: Compilation aborted Verbose: /usr/bin/ppcx64 returned an error exitcode Verbose: make[2]: Leaving directory `/opt/lazarus/ide' Verbose: make[1]: Leaving directory `/opt/lazarus/ide' Verbose: [lazarus] Error 1 Verbose: [idepkg] Error 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Another Where is Error
My question is how to *find depend pas or lpk*. I made mistake while add packs, and looking for witch lpk. Messages form has a many verbose, Parameters results, but no info for lpk, or project or file. On 02-12-2014 17:26, luiz americo pereira camara wrote: You have a Lazarus package that depends of sqlite3 You should uninstall this package or install the sqlite3-dev system package Luiz 2014-12-02 12:01 GMT-03:00 FreeMan freema...@delphiturkiye.com mailto:freema...@delphiturkiye.com: Copied from messages form. I can see /usr/bin/ld: cannot find -lsqlite3 this line, but I don't know witch _*lpk or pas*_. How can I find wrong file or lpk and remove or fix error? _ __Build IDE: Exit code 512, Errors: 1, Warnings: 1_ Verbose: /usr/bin/make -C ide idepkg Verbose: make[1]: Entering directory `/opt/lazarus/ide' Verbose: /usr/bin/make --assume-new=lazarus.pp lazarus OPT=' -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt' Verbose: make[2]: Entering directory `/opt/lazarus/ide' Verbose: /opt/freepascal/2.7.1/bin/fpc -gl -Sci -dlclqt -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.7.1/units/x86_64-linux/rtl -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/x86_64-linux/qt -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -gs -gl @/home/freeman35/.lazarus-freeman/idemake.cfg -vbq -FU/opt/lazarus/units/x86_64-linux/qt -dx86_64 lazarus.pp Verbose: Free Pascal Compiler version 2.7.1 [2014/12/02] for x86_64 Verbose: Copyright (c) 1993-2014 by Florian Klaempfl and others Verbose: Target OS: Linux for x86-64 Verbose: Compiling lazarus.pp Verbose: Compiling resource /opt/lazarus/units/x86_64-linux/qt/lazarus.or Verbose: Linking ../lazarus /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lsqlite3 lazarus.pp(142,1) Warning: Error while linking lazarus.pp(142,1) Verbose: There were 1 errors compiling module, stopping Error: Compilation aborted Verbose: /usr/bin/ppcx64 returned an error exitcode Verbose: make[2]: Leaving directory `/opt/lazarus/ide' Verbose: make[1]: Leaving directory `/opt/lazarus/ide' Verbose: [lazarus] Error 1 Verbose: [idepkg] Error 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org mailto:Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Another Where is Error
2014-12-02 12:47 GMT-03:00 FreeMan freema...@delphiturkiye.com: My question is how to *find depend pas or lpk*. AFAIK, there's no way. You may look at package files src sqlite3laz is a package that have such dependency Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Another Where is Error
Thank you Luiz, Afew second ago I found, luilazreportcomponents 0.0 I'm not remember how to added this :) I was added so long time ago for test this pack. How to find: Uninstall and try rebuild IDE one by one :S On 02-12-2014 18:15, luiz americo pereira camara wrote: AFAIK, there's no way. You may look at package files src sqlite3laz is a package that have such dependency Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Another Where is Error
2014-12-02 13:30 GMT-03:00 FreeMan freema...@delphiturkiye.com: Thank you Luiz, Afew second ago I found, luilazreportcomponents 0.0 I'm not remember how to added this :) I was added so long time ago for test this pack. How to find: Uninstall and try rebuild IDE one by one :S It's one of my packages. It has a dependency of luicomponents that requires sqlite3 I have plans to remove this dependency unfortunately is low priority Luiz On 02-12-2014 18:15, luiz americo pereira camara wrote: AFAIK, there's no way. You may look at package files src sqlite3laz is a package that have such dependency Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Another Where is Error
My question is how to find depend pas or lpk Make a good use of find in files feature. Dependency on external library can only be achieved in three ways (AFAIR): - {$LINKLIB libname} directive - external 'libname' procedure modifier - -kpass library to linker Packages have linking options greyed out AFAIK, so 3rd way is not possible. The other two can be easily searched using external 'sqlite3' or {$LINKLIB sqlite3} against your packages directories. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Another-Where-is-Error-tp4039634p4039641.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus