Bookstore

Recent

Author Topic: After installing Zeos I get 154 notes!  (Read 5495 times)

MoellerCLaus

  • Jr. Member
  • **
  • Posts: 75
    • Vig Foreningsprogram
After installing Zeos I get 154 notes!
« on: October 24, 2016, 09:37:12 pm »
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]
  1. Messages, Hints: 154
  2. Note: 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"
  3. Note: Duplicate unit "ZSybaseToken" in "zparsesql 7.1", ppu="C:\holbaek\Extra\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"
  4. Note: Duplicate unit "ZSybaseAnalyser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZSybaseAnalyser.ppu"
  5. 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"
  6. 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"
  7. Note: Duplicate unit "ZSqLiteToken" in "zparsesql 7.1", ppu="C:\holbaek\Extra\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"
  8. Note: Duplicate unit "ZSqLiteAnalyser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZSqLiteAnalyser.ppu"
  9. 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"
  10. 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"
  11. 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"
  12. 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"
  13. 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"
  14. Note: Duplicate unit "ZPostgreSqlToken" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZPostgreSqlToken.ppu"
  15. 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"
  16. Note: Duplicate unit "ZPostgreSqlAnalyser" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZPostgreSqlAnalyser.ppu"
  17. Note: Duplicate unit "ZPostgreSqlAnalyser" in "zparsesql 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-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"
  18. Note: Duplicate unit "ZPlainSqLiteDriver" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZPlainSqLiteDriver.ppu"
  19. 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", source="C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\plain\ZPlainSqLiteDriver.pas"
  20. 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"
  21. 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"
  22. 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:\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcDbLib.pas"
  23. Note: Duplicate unit "ZDbcConnection" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcConnection.ppu"
  24. 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"
  25. 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"
  26. 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"
  27. 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"
  28. Note: Duplicate unit "ZDbcCache" in "zdbc 7.1", ppu="C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcCache.ppu", source="C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\src\dbc\ZDbcCache.pas"
  29. 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"
  30. 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"
  31. Note: Duplicate unit "ZDbcASAStatement" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcASAStatement.ppu"
  32. 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"
  33. Note: Duplicate unit "ZDbcASAResultSet" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcASAResultSet.ppu"
  34. 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"
  35. Note: Duplicate unit "ZDbcASAMetadata" in "zcore 7.1", orphaned ppu "C:\holbaek\Extra\ZEOSDBO-7.1.4-stable\packages\lazarus\lib\x86_64-win64\ZDbcASAMetadata.ppu"
  36. 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"
  37. 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"
  38. 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"
  39.  

Can I get of those. Seems to me something went wrong? ;D

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8072
Re: After installing Zeos I get 154 notes!
« Reply #1 on: October 24, 2016, 09:38:14 pm »
Seems you didn't fully deinstall/remove the old version?

MoellerCLaus

  • Jr. Member
  • **
  • Posts: 75
    • Vig Foreningsprogram
Re: After installing Zeos I get 154 notes!
« Reply #2 on: October 24, 2016, 10:33:24 pm »
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

  • Hero Member
  • *****
  • Posts: 6833
Re: After installing Zeos I get 154 notes!
« Reply #3 on: October 24, 2016, 11:05:08 pm »
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
« Last Edit: October 25, 2016, 12:15:03 am by wp »
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

MoellerCLaus

  • Jr. Member
  • **
  • Posts: 75
    • Vig Foreningsprogram
Re: After installing Zeos I get 154 notes!
« Reply #4 on: October 29, 2016, 03:52:10 pm »
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

  • Hero Member
  • *****
  • Posts: 6833
Re: After installing Zeos I get 154 notes!
« Reply #5 on: October 29, 2016, 07:08:12 pm »
No, 7.2.1rc does not fix it. If you open, for example, packages/lazarus/zcomponent.lpk you'll see the line "<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> in the xml node <CONFIG>/<Package> / <CompilerOptions> / <SearchPaths>

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#p76909). Select a download of the last post, it leads you to a sourceforge site of the testing branch (https://sourceforge.net/p/zeoslib/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.
« Last Edit: October 29, 2016, 07:12:28 pm by wp »
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

TraumTaenzerDieter

  • New Member
  • *
  • Posts: 25
Re: After installing Zeos I get 154 notes!
« Reply #6 on: October 30, 2016, 08:05:33 am »
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

  • Hero Member
  • *****
  • Posts: 9791
Re: After installing Zeos I get 154 notes!
« Reply #7 on: October 30, 2016, 10:46:39 am »
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
I am more like donkey than shrek