After installing Zeos I get 154 notes!
lazarus / 5-Lazarus Extra Components
----------------------------------------------------------------------
MoellerCLaus · 2016-10-24 19:37
I just installed ZEOSDBO-7.1.4-stable. Paradox unit was double with
lazparadox packages - so I uninstalled that.
Everything works fine except for the below warnings/hints:
Code: Pascal [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i Messages,
Hints: 154Note: Duplicate unit "ZSybaseToken" in "zcore 7.1", orphaned
ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZSybaseToken.ppu"Note:
Duplicate unit "ZSybaseToken" in "zparsesql 7.1", ppu="C:\holbaek\Extr
a\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZSybaseToken.ppu", source="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZSybaseToken.pas"Note: Duplicate unit
"ZSybaseAnalyser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSD
BO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZSybaseAnalyser.ppu"Note: Duplicate unit "ZSybaseAnalyser" in
"zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZSybaseAnalyser.ppu", source=
"C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZSybaseAnalyser.pas"Note: Duplicate unit
"ZSqLiteToken" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-
7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZSqLiteToken.ppu"Note:
Duplicate unit "ZSqLiteToken" in "zparsesql 7.1", ppu="C:\holbaek\Extr
a\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZSqLiteToken.ppu", source="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZSqLiteToken.pas"Note: Duplicate unit
"ZSqLiteAnalyser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSD
BO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZSqLiteAnalyser.ppu"Note: Duplicate unit "ZSqLiteAnalyser" in
"zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZSqLiteAnalyser.ppu", source=
"C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZSqLiteAnalyser.pas"Note: Duplicate unit
"ZSelectSchema" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO
-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZSelectSchema.ppu"Note: Duplicate unit "ZSelectSchema" in
"zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZSelectSchema.ppu", source="C
:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZSelectSchema.pas"Note: Duplicate unit
"ZScriptParser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO
-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZScriptParser.ppu"Note: Duplicate unit "ZScriptParser" in
"zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZScriptParser.ppu", source="C
:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZScriptParser.pas"Note: Duplicate unit
"ZPostgreSqlToken" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOS
DBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZPostgreSqlToken.ppu"Note: Duplicate unit "ZPostgreSqlToken" in
"zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZPostgreSqlToken.ppu", source
="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\parsesql\ZPostgreSqlToken.pas"Note: Duplicate unit
"ZPostgreSqlAnalyser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\Z
EOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZPostgreSqlAnalyser.ppu"Note: Duplicate unit
"ZPostgreSqlAnalyser" in "zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDB
O-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZPostgreSqlAnalyser.ppu", source="C:\holbaek\Extra\ZEOSDBO-
7.1.4-stable\src\parsesql\ZPostgreSqlAnalyser.pas"Note: Duplicate unit
"ZPlainSqLiteDriver" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZE
OSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZPlainSqLiteDriver.ppu"Note: Duplicate unit "ZPlainSqLiteDriver"
in "zplain 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZPlainSqLiteDriver.ppu", sour
ce="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\plain\ZPlainSqLiteDriver.pas"Note: Duplicate unit
"ZDbcDbLibMetadata" in "zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-
7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcDbLibMetadata.ppu",
source="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\dbc\ZDbcDbLibMetadata.pas"Note: Duplicate unit "ZDbcDbLib"
in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcDbLib.ppu"Note: Duplicate
unit "ZDbcDbLib" in "zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcDbLib.ppu", source="C:\ho
lbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcDbLib.pas"Note: Duplicate
unit "ZDbcConnection" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\Z
EOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcConnection.ppu"Note: Duplicate unit "ZDbcConnection" in
"zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcConnection.ppu", source="
C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcConnection.pas"Note:
Duplicate unit "ZDbcCachedResultSet" in "zcore 7.1", orphaned ppu "C:\
holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcCachedResultSet.ppu"Note: Duplicate unit
"ZDbcCachedResultSet" in "zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-
7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcCachedResultSet.ppu", source="C:\holbaek\Extra\ZEOSDBO-
7.1.4-stable\src\dbc\ZDbcCachedResultSet.pas"Note: Duplicate unit
"ZDbcCache" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-
7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcCache.ppu"Note:
Duplicate unit "ZDbcCache" in "zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDB
O-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcCache.ppu", sourc
e="C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcCache.pas"Note:
Duplicate unit "ZDbcASAUtils" in "zcore 7.1", orphaned ppu "C:\holbaek
\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcASAUtils.ppu"Note: Duplicate unit "ZDbcASAUtils" in "zdbc
7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcASAUtils.ppu", source="C:
\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcASAUtils.pas"Note:
Duplicate unit "ZDbcASAStatement" in "zcore 7.1", orphaned ppu "C:\hol
baek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcASAStatement.ppu"Note: Duplicate unit "ZDbcASAStatement" in
"zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcASAStatement.ppu", source
="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\dbc\ZDbcASAStatement.pas"Note: Duplicate unit
"ZDbcASAResultSet" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOS
DBO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcASAResultSet.ppu"Note: Duplicate unit "ZDbcASAResultSet" in
"zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcASAResultSet.ppu", source
="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\dbc\ZDbcASAResultSet.pas"Note: Duplicate unit
"ZDbcASAMetadata" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSD
BO-7.1.4-stable\packages\lazarus\lib\x86_64-
win64\ZDbcASAMetadata.ppu"Note: Duplicate unit "ZDbcASAMetadata" in
"zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcASAMetadata.ppu", source=
"C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\src\dbc\ZDbcASAMetadata.pas"Note: Duplicate unit "ZDbcASA" in
"zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcASA.ppu"Note: Duplicate
unit "ZDbcASA" in "zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-
stable\packages\lazarus\lib\x86_64-win64\ZDbcASA.ppu",
source="C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcASA.pas"
Can I get of those. Seems to me something went wrong?
----------------------------------------------------------------------
marcov · 2016-10-24 19:38
Seems you didn't fully deinstall/remove the old version?
----------------------------------------------------------------------
MoellerCLaus · 2016-10-24 20:33
Ahh this is a first time installation on this PC.
I tried after deinstallation to change the directory name - but still
see this error arises after new install.
As I read it zcore 7.1 and zparsesql 7.1 includes the same units?
----------------------------------------------------------------------
wp · 2016-10-24 21:05
ZEOS library contains several packages. In all released versions,
these packages compile into the same output directory. Therefore, fpc
"thinks" that units are contained in several packages. However, as I
saw in similar situations with tvplanit and fpspreadsheet, this can
result in severe compilation and package installation issues.
Therefore, I consider these messages to be valid hints for the
component developer that there could be an issue.
But since these messages are hints only you can ignore them if you are
able to compile the components and rebuild the IDE with them
successfully. I could imagine that issues COULD occur if you later
install other components that depend on ZEOS.
Only in r3904 (March 2016) the output directories were separated, and
now the messages are gone. So, if you want to be on the safe side and
get rid of the hints you should either switch to svn or try the
snapshot of the current trunk version (https://sourceforge.net/code-
snapshots/svn/z/ze/zeoslib/code-0/zeoslib-code-0-3938-trunk.zip).
See also the thread in the ZEOS forum
http://zeoslib.sourceforge.net/viewtopic.php?f=40&t=33408
----------------------------------------------------------------------
MoellerCLaus · 2016-10-29 13:52
Thanks wp for your very detailed ansver.
I deleted ZEOS and installed Lazarus from scratch. Then installed the
latest release candidate for ZEOS 7.2.1 rc. Same result.
Well I need to find another solution. It seems to me that the
interlinking between ZCore and Zparsql conflits.
----------------------------------------------------------------------
wp · 2016-10-29 17:08
No, 7.2.1rc does not fix it. If you open, for example,
packages/lazarus/zcomponent.lpk you'll see the line
" in the
xml node / / /
This tells you compilation will put files into the folder lib/,,, -
this will be the same with the other packages, i.e. all packages
compile into the same folder. And this is bad.
I see that the zip link of my previous post is not working any more,
no idea why... Either use svn and get yourself the current trunk
version, or go to their forum, board "ZEOS Lib 7.2 BetaTest Forum",
and open the last page of the first thread ("7.2 Beta Testers Thread)
(http://zeoslib.sourceforge.net/viewtopic.php?f=40&t=3795&start=420#p7
6909). Select a download of the last post, it leads you to a
sourceforge site of the testing branch (https://sourceforge.net/p/zeos
lib/code-0/HEAD/tree/branches/testing-7.2/) where you click on
"Download snapshot" to get the current development snapshot.
If I peek into the zcomponent.lpk of this download then the
UnitOutputDirectory points to
"lib\zcomponent\$(TargetCPU)-$(TargetOS)". Similarly, if you check
another package you will always find the package name after the "lib",
i.e. every package will be compiled into its own output folder.
I am pretty sure that you will get rid of the "duplicate unit"
messages if you edit all the lpk files of your current zeos
installation such that the package name is inserted in the
UnitOutputDirectory node between "lib" and "$(TargetCPU)" (but make a
backup copy first).
And delete the old lib/,,, folder before compiling the new version to
make sure that Lazarus does not find anything in here.
----------------------------------------------------------------------
TraumTaenzerDieter · 2016-10-30 07:05
As vvp already wrote just checkout the current 7.2 version from
http://svn.code.sf.net/p/zeoslib/code-0/branches/testing-7.2/
AND KILL your previous ZEOS directory!
I am using this version for one year now (in production) without
problems.
----------------------------------------------------------------------
Thaddy · 2016-10-30 09:46
The order is:
Notes are harmless, but should be looked at
Hints should be solved unless...it is really a warning
warnings should be investigated and solved. ALL of them.
errors stop your program to compile at all