Page 1 of 1
HowTo Installation ZEOSDBO 6.6.0 beta
Posted: 04.02.2007, 11:55
by d_marco
Hi @all,
I'm looking for help of my ZEOS Installation.
I don't understand how to install ZEOS correctly with my Borland C++ 5.0 Professional Version.
There is no Readme or Installfile where I can look up what I have to do.
Many other Programmer Boards told me that I have to execute *.bpk files, compile them and install them.
But everytime I've tried I get the error message "File is missing *.bpi".
For example I execute ZEOSDBO-6.6.0-beta\packages\cbuilder5\ZComponent.bpk, push the button compile, the following error message appears: "Package-Import can't be found: Zplain.bpi".
There are other missing files, too: vclado50.bpi ; rcl.bpi etc.
Please help me ... I'm really desperate
What can I do to install my ZEOS library ???
Thanks,
d_marco
Posted: 05.02.2007, 10:15
by mdaems
Hi Marco,
Never used C++ but one thing I can help you with is the compilation sequence.
First : Use most recent version on
http://zeosdownloads.firmos.at/downloads/snapshots/ (we did some delphi/c5 bugfixes since beta release)
Now : Compile in this sequence : ZCore, ZParseSql, ZPlain, ZDbc, ZComponent.
I think you only have to install ZComponent, but make sure your compiler finds all build package files!
Please, search the forum, as I have seen some 'manuals' for C++5.0 before.
Mark
Posted: 05.02.2007, 10:36
by btrewern
In Delphi I do the following:
1. Add the src\core, src\component, src\dbc, src\parsesql and src\plain folders to Library path.
2. Open the ZeosDbo.bpg file in packages\delphiX folder.
3. Right click on ComponentDesignXX.bpl and then click Build.
4. Right click on ComponentDesignXX.bpl and then click Install.
Regards,
Ben
Posted: 05.02.2007, 13:24
by d_marco
Tanks very much for your answers!
I've downloaded the file ZEOSLIB_TRUNK_REV210, then I've tried to compile the .bpk files following the sequence of mdaems.
ZCore and ZParseSql worked smoothly, but ZPlain I got the message rtl.bpi is missing.
Where do I get this file?
Do I have to copy some files from the ZEOSLIB_TRUNK_REV210 to the Borland path?
Regards,
Marco
Borland c++ Builder 5 Pro patches for Zeoslib 6.6.0
Posted: 12.02.2007, 16:32
by ilgujo
Borland c++ Builder 5 Pro patches for Zeoslib 6.6.0 trunk ver 208
this is a reference guide to compile zeoslib in bcb5, sorry for the layout I just paste a text file with some notes.
--------------------------------------------------------------------------------
Of course ADO is not included in BCB5 Pro!
But if you don't need it, just remove the ZDbcAdo*.pas from the ZDbc.dpk
and comment out the
lines 110 and 266-269 in ZPropertyEditor.pas
and the
line 48 in ZConnection.pas.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
file ZPlain.cpp
--------------------------------------------------------------------------------
row 6
USEPACKAGE("rtl.bpi");
replace with
USEPACKAGE("vcl50.bpi");
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
file Zdbc.cpp
--------------------------------------------------------------------------------
rows from 13 to 17
USEUNIT("..\..\src\dbc\ZDbcAdo.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoMetadata.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoResultSet.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoStatement.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoUtils.pas");
replace with
//USEUNIT("..\..\src\dbc\ZDbcAdo.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoMetadata.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoResultSet.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoStatement.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoUtils.pas");
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ZComponent.cpp
--------------------------------------------------------------------------------
row 29
USEPACKAGE("vclado50.bpi");
replace with
//USEPACKAGE("vclado50.bpi");
--------------------------------------------------------------------------------
ZPropertyEditor.pas (ZComponents.dbk)
--------------------------------------------------------------------------------
rows 110 and 266-269 in
row 175
, ZDbcAdoUtils
replace with
//, ZDbcAdoUtils
row from 599 to 602
else
if ((GetComponent(0) as TZConnection).Protocol = 'ado') then
(GetComponent(0) as TZConnection).Database := PromptDataSource(Application.Handle,
(GetComponent(0) as TZConnection).Database)
replace with
//else
//if ((GetComponent(0) as TZConnection).Protocol = 'ado') then
// (GetComponent(0) as TZConnection).Database := PromptDataSource(Application.Handle,
// (GetComponent(0) as TZConnection).Database)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ZConnection.pas (ZComponents.dbk)
--------------------------------------------------------------------------------
row 50
ZDbcAdo,
replace with
//ZDbcAdo,
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Changed following property names from previous versions:
* TZQuery.RequestLive --> TZQuery.ReadOnly
--------------------------------------------------------------------------------
hope this will help you...
Posted: 13.02.2007, 13:03
by mdaems
Hi Ilgujo,
Can't you do this editing src/zeos.inc changing these lines
Code: Select all
// Enables ADO support in TZConnection/TZDataset
{$IFNDEF FPC}
{$IFNDEF UNIX}
{$IFNDEF VER130BELOW} <<---
{$DEFINE ENABLE_ADO}
{$ENDIF} <<---
{$ENDIF}
{$ENDIF}
If not, can you please write an '$IFDEFed' version that does not impact other compilers? That way I can add it to the official zeos version.
Mark
Posted: 13.02.2007, 18:06
by d_marco
Hi @all,
now I've got the ZEOS Components installed.
Thanks very much for your help.
The advices of ilgujo made the ZEOS Components run.
I have only one additional note to the notes of ilgujo.
In this part
--------------------------------------------------------------------------------
file Zdbc.cpp
--------------------------------------------------------------------------------
rows from 13 to 17
USEUNIT("..\..\src\dbc\ZDbcAdo.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoMetadata.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoResultSet.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoStatement.pas");
USEUNIT("..\..\src\dbc\ZDbcAdoUtils.pas");
replace with
//USEUNIT("..\..\src\dbc\ZDbcAdo.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoMetadata.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoResultSet.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoStatement.pas");
//USEUNIT("..\..\src\dbc\ZDbcAdoUtils.pas");
--------------------------------------------------------------------------------
you have to modify line 8:
USEPACKAGE("vclado50.bpi");
replace with
//USEPACKAGE("vclado50.bpi");
Now it should everywhere work with C++ Builder 5.0 !!!
Thanks very much again.
I'm so happy now
Regards,
Marco
Posted: 13.02.2007, 19:55
by altin
Hi Mark!
Can you help me. on the MySQL-Server is a Database Mysql wit a table user. I´ve created a new Database called Metall on the Server. Iv you connect to the server the useres are saved in the mysql.users Table if i´m right. OK, if i connect to my database how is it possible to get the username who logged actually in? can you help me? :-) Bad English...
Posted: 15.02.2007, 12:48
by d_marco
Hello,
after I've installed the Zeos components, I wanted to use them in my Borland C++ Builder. I.E. I put a ZConnection Icon on my Form and want to compile only the Form with the component (No additional code) but it doesn't work. I get the error "Header-File not found for component: ZConnection". What shall I do? Where do I find the Headerfiles? In which folder do I have to copy them? Must I create a library or something else???
I don't have any clue how to get further... Please help me again
Thanks and regards,
Marco
Posted: 21.12.2007, 22:10
by nikki_w
ok I am new to zeos and to delphi, so this may sound stupid but here it goes... I am not having any luck installing zeos into delphi 6. I am getting an error msg when I try to complie the first file. The error reads 'Required package rtl not found' If someone could help me with this I would appreciate it.
Thx
Posted: 31.12.2007, 18:06
by pele
btrewern wrote:In Delphi I do the following:
1. Add the src\core, src\component, src\dbc, src\parsesql and src\plain folders to Library path. OK
2. Open the ZeosDbo.bpg file in packages\delphiX folder. OK, but nothing happened
3. Right click on ComponentDesignXX.bpl and then click Build. WHAT ?
4. Right click on ComponentDesignXX.bpl and then click Install. WHAT ?
I don't know how to install. I don't have any *.bpl files !!!
Posted: 01.01.2008, 16:54
by mdaems
Nothing happened?
Is the 'Project Manager' window opened? There you should see a list of the project group content. This content is where you should right click and choose build/install.
Mark