[Lazarus] Another Where is Error

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Another Where is Error

FreeMan
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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

Luiz Americo Pereira Camara
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 <[hidden email]>:
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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

FreeMan
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 <[hidden email]>:
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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

Luiz Americo Pereira Camara


2014-12-02 12:47 GMT-03:00 FreeMan <[hidden email]>:
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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

FreeMan
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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

Luiz Americo Pereira Camara


2014-12-02 13:30 GMT-03:00 FreeMan <[hidden email]>:
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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

leledumbo
Administrator
In reply to this post by FreeMan
> 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
- -k<pass 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.
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Another Where is Error

Mattias Gaertner
On Tue, 2 Dec 2014 22:25:55 -0700 (MST)
leledumbo <[hidden email]> 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
> - -k<pass 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
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus