Bonjour à tous,
N’ayant pas réussi à franchir le cap de l’accès à la base de données, j’ai voulu utiliser les sources pour trouver ce qui ne fonctionne pas.
Malheureusement, je me bas depuis cet hier après-midi pour faire fonctionner l’ensemble.
Je suis sous Lazarus 4.6.
Installation des bibliothèques comme indiqué dans le wiki :
Zeos DBA 7.2.6.1. : erreur compilation
Hint : (11030) Start of reading config file /etc/fpc.cfg
Hint : (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS : Linux for x86-64
(3104) Compiling zcomponent.pas
(3104) Compiling /home/benoit/Documents/Lazarus/zeosdbo-7.2.6.1-stable/src/component/ZPropertyEditor.pas
(3104) Compiling /home/benoit/Documents/Lazarus/zeosdbo-7.2.6.1-stable/src/component/ZConnectionGroup.pas
(3104) Compiling /home/benoit/Documents/Lazarus/zeosdbo-7.2.6.1-stable/src/component/ZAbstractConnection.pas
/home/benoit/Documents/Lazarus/zeosdbo-7.2.6.1-stable/src/component/ZAbstractConnection.pas(90,30) Fatal : (10022) Can’t find unit ZURL used by ZAbstractConnection
Fatal : (1018) Compilation aborted
Error : /usr/bin/ppcx64 returned an error exitcode
Zeos DBO 8 ok avec remarques
Messages, Avertissements : 2
Warning : other unit files search path (aka unit path) of "zcomponent 8.0" contains "/home/benoit/Documents/Lazarus/zeosdbo-8.0.0-stable/src/component", which belongs to package "zcomponentdesign"
Warning : other unit files search path (aka unit path) of "zcomponentdesign 8.0" contains "/home/benoit/Documents/Lazarus/zeosdbo-8.0.0-stable/src/component", which belongs to package "zcomponent"
Compiler le paquet zcomponentdesign 8.0 : Succès
Power PDF 0.9.15 Ok avec Avertissements et remarques
Compiler le paquet pack_powerpdf 0.9.15 : Succès, Avertissements : 9, Conseils : 25
PdfTypes.pas(105,41) Hint : Parameter "AStream" not used
PdfTypes.pas(216,74) Hint : Parameter "AVoid" not used
PdfTypes.pas(294,31) Hint : Parameter "ADate" not used
PdfTypes.pas(1158,22) Warning : Symbol "DecimalSeparator" is deprecated
PdfTypes.pas(1160,30) Warning : Symbol "DecimalSeparator" is deprecated
PdfDoc.pas(619,5) Warning : Constructor should be public
PdfDoc.pas(638,5) Warning : Constructor should be public
PdfDoc.pas(1458,13) Hint : Local variable "X" does not seem to be initialized
PdfDoc.pas(570,33) Hint : Parameter "AText" not used
PdfDoc.pas(570,48) Hint : Parameter "APos" not used
PdfDoc.pas(569,24) Hint : Parameter "AXref" not used
PdfJPFonts.pas(240,33) Hint : Parameter "AFontDescriptor" not used
PdfJPFonts.pas(241,37) Hint : Parameter "ADescendantFont" not used
PdfGBFonts.pas(64,33) Hint : Parameter "AFontDescriptor" not used
PdfGBFonts.pas(65,37) Hint : Parameter "ADescendantFont" not used
PdfFonts.pas(584,3) Note : Local variable "ANumber" not used
PdfImages.pas(56,26) Hint : Parameter "AImage" not used
PdfImages.pas(56,44) Hint : Parameter "ObjectMgr" not used
PdfImages.pas(127,71) Hint : Local variable "PalEntries" does not seem to be initialized
PdfImages.pas(44,54) Hint : Unit "BMPcomn" not used in PdfImages
PReport.pas(535,5) Warning : Constructor should be public
PReport.pas(576,5) Warning : Constructor should be public
PReport.pas(1348,5) Warning : Symbol "OffsetRect" is deprecated : "Use Types.OffsetRect instead"
PReport.pas(1363,5) Warning : Symbol "OffsetRect" is deprecated : "Use Types.OffsetRect instead"
PReport.pas(1559,5) Warning : Symbol "OffsetRect" is deprecated : "Use Types.OffsetRect instead"
PReport.pas(326,21) Hint : Parameter "ACanvas" not used
PReport.pas(326,41) Hint : Parameter "ARect" not used
PReport.pas(360,33) Hint : Parameter "Message" not used
PReport.pas(2465,3) Note : Local variable "RatioH" not used
PReport.pas(2465,10) Note : Local variable "RatioW" not used
PReport.pas(2780,16) Hint : Local variable "Pts" of a managed type does not seem to be initialized
PReport.pas(487,42) Hint : Parameter "ARect" not used
PdfJpegImage.pas(38,44) Hint : Parameter "ObjectMgr" not used
PRAnnotation.pas(50,33) Hint : Parameter "Message" not used
LazReport 0.9.9 : Introuvable ! Mais LazReport 1.0 existe dans les paquets.
LazReport 1.0 : Ok
LazReportPDFExport 0.9 : erreur
Un ou plusieurs paquets sont introuvables. Voir le graphe des paquets pour les détails
Je ne sais pas quels sont les paquets introuvables. De ce que j’ai lu, Ce paquet LazReportPDFExport serait intégré dans LazReport 1.0. A vérifier, car si c’est le cas, il ne serait plus nécessaire.
Gestinux_util 1.6 : erreur de compilation
Messages, Avertissements : 2
Warning : other unit files search path (aka unit path) of "zcomponentdesign 8.0" contains "/home/benoit/Documents/Lazarus/zeosdbo-8.0.0-stable/src/component", which belongs to package "zcomponent"
Warning : other unit files search path (aka unit path) of "zcomponent 8.0" contains "/home/benoit/Documents/Lazarus/zeosdbo-8.0.0-stable/src/component", which belongs to package "zcomponentdesign"
Compiler le paquet gestinux_util 1.6 : Code de sortie 1, Erreurs : 1
gcommongui.pas(29,3) Error : Impossible de trouver UITypes utilisé par GCommonGUI du paquet gestinux_util.
Voilà, en fait, je ne peux pas compiler et exécuter Gestinux car les bibliothèques sont obsolètes ou absentes.
Des idées pour résoudre tous ces problèmes ?
Merci de votre aide