Page 1 of 1

[bug_fixed] Packages for delphi 6

Posted: 31.05.2006, 08:33
by tomazzupan
I had to make two little corrections to packages for delphi 6 for successfull instalation of testing branch.

Code: Select all

[tomaz@pc-tomaz-n delphi6]$ svn diff
Index: ZDbc.dpk
===================================================================
--- ZDbc.dpk    (revision 52)
+++ ZDbc.dpk    (working copy)
@@ -78,7 +78,7 @@
   ZDbcSqLiteUtils in '..\..\src\dbc\ZDbcSqLiteUtils.pas',
   ZDbcSqLiteStatement in '..\..\src\dbc\ZDbcSqLiteStatement.pas',
   ZDbcSqLiteResultSet in '..\..\src\dbc\ZDbcSqLiteResultSet.pas',
-  ZDbcSqLiteMetadata in '..\..\src\dbc\ZDbcSqLiteMetadata.pas';
+  ZDbcSqLiteMetadata in '..\..\src\dbc\ZDbcSqLiteMetadata.pas',
   ZDbcASAUtils in '..\..\src\dbc\ZDbcASAUtils.pas',
   ZDbcASAMetadata in '..\..\src\dbc\ZDbcASAMetadata.pas',
   ZDbcASAResultSet in '..\..\src\dbc\ZDbcASAResultSet.pas',
Index: ZPlain.dpk
===================================================================
--- ZPlain.dpk  (revision 52)
+++ ZPlain.dpk  (working copy)
@@ -43,10 +43,6 @@
   ZPlainMySql323 in '..\..\src\plain\ZPlainMySql323.pas',
   ZPlainMySql40 in '..\..\src\plain\ZPlainMySql40.pas',
   ZPlainMySqlDriver in '..\..\src\plain\ZPlainMySqlDriver.pas',
-  ZPlainPostgreSql73 in '..\..\src\plain\ZPlainPostgreSql73.pas',
-  ZPlainPostgreSql74 in '..\..\src\plain\ZPlainPostgreSql74.pas',
-  ZPlainPostgreSql8x in '..\..\src\plain\ZPlainPostgreSql80.pas',
-  ZPlainPostgreSql8x in '..\..\src\plain\ZPlainPostgreSql81.pas',
   ZPlainDb2 in '..\..\src\plain\ZPlainDb2.pas',
   ZPlainDb2Driver in '..\..\src\plain\ZPlainDb2Driver.pas',
   ZPlainFirebird10 in '..\..\src\plain\ZPlainFirebird10.pas',
LP, Tomaž

Posted: 31.05.2006, 12:37
by mdaems
Hi Tomaz,

Can you next time attach itas a small patch file. For one reason or another I didn't manage to copy-paste one myself...
Anyway, I have now tried to set the delphi6 package files equal to the delphi7 packages (dpk). Can you please check if it works?
What can go wrong?
- not all requires files are added as I don't know if they are necessary in D6. (check in D7 dpk if this is a problem)
- added libsuffix directive. I don't know if it exists already in D6. It did not in D5 and works excellent in D7. If it compiles well, you remove all z*.bpl files without '60' suffix from your computer. If it does not work just remove.
- maybe there are some new sources added that do not compile in D6. In that case we should see how we can fix this with $ifdefs. I had to do this for D5. To go on,you can just remove those units from the packages. They are just extra database drivers...

Can you provide feedback? You're the first one using D6 I know for the moment.

Mark

Posted: 01.06.2006, 09:38
by tomazzupan
mdaems wrote: Can you provide feedback? You're the first one using D6 I know for the moment.
Revision 54 installs OK. Thank you!

Lp, Tomaž