Entwickler-Ecke

Datenbanken - Problem bei Installation von Zeos-Komponenten


jjturbo - Di 13.04.10 14:09
Titel: Problem bei Installation von Zeos-Komponenten
Moin Forum,

ich versuche grad mir mal die Zeos-Kompos zu installieren.

beim Compilieren von ZComponent110.bpl bekomme ich die Fehlermeldung:
"[DCC Fehler] ZComponent.dpk(53): E1030 Ungültige Compileranweisung: '$ENDIF'"

Die Unit sieht so aus, original aus dem Zip-Archiv ZEOSDBO-6.6.6-stable.zip:



Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
package ZComponent;
{$R *.res}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS ON}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'Zeos Database Components'}
{$LIBSUFFIX '110'}
{$RUNONLY}
{$IMPLICITBUILD OFF}

requires
  rtl,
  dbrtl,
  ZPlain,
  ZDbc,
  ZCore,
  ZParseSql,
  vclactnband,
  vcl;

contains
  ZSqlUpdate in '..\..\src\component\ZSqlUpdate.pas',
  ZAbstractDataset in '..\..\src\component\ZAbstractDataset.pas',
  ZAbstractRODataset in '..\..\src\component\ZAbstractRODataset.pas',
  ZStreamBlob in '..\..\src\component\ZStreamBlob.pas',
  ZConnection in '..\..\src\component\ZConnection.pas',
  ZDataset in '..\..\src\component\ZDataset.pas',
  ZDatasetUtils in '..\..\src\component\ZDatasetUtils.pas',
  ZSqlStrings in '..\..\src\component\ZSqlStrings.pas',
  ZSqlProcessor in '..\..\src\component\ZSqlProcessor.pas',
  ZSqlMonitor in '..\..\src\component\ZSqlMonitor.pas',
  ZStoredProcedure in '..\..\src\component\ZStoredProcedure.pas',
  ZAbstractTable in '..\..\src\component\ZAbstractTable.pas',
  ZSqlMetadata in '..\..\src\component\ZSqlMetadata.pas',
  ZSequence in '..\..\src\component\ZSequence.pas' {$ENDIF};

end.


Ich verwende D2007.
Ich hoffe, Ihr könnt mir weiterhelfen?

Gruß Oliver


ALF - Di 13.04.10 14:14

Mach das mal so, zum Test.

Delphi-Quelltext
1:
2:
3:
4:
5:
......
......
ZSequence in '..\..\src\component\ZSequence.pas';// {$ENDIF};

end.


jjturbo - Di 13.04.10 14:35

Ja, so geht es! Danke!

Ich wüßte dennoch gerne, ob da im Quellcode etwas fehlt?


ALF - Di 13.04.10 14:48

Kann durch aus sein, das es irgendwo ein {IFDEF} gibt!?.
Wenn ja, dann währe die richtige Zeile so:

Delphi-Quelltext
1:
2:
3:
ZSequence in '..\..\src\component\ZSequence.pas';
{$ENDIF}
end.

Glaub ich mal :gruebel:

Gruss Alf