Page 1 of 1
Patches for Kylix3
Posted: 04.07.2006, 20:34
by aperger
Hi my favourite developers!
I should modify the code when I intalled the SVN revision 76 into my Linux box (FC4 - Kylix3).
Some file were not correct in the kylix packages and I removed "dialogs" unit from a file which is not exists under Kylix3 (CLX, not VCL):
src/dbc/ZDbcMySqlUtils.pas:
-uses ZMessages, Math, dialogs;
+uses ZMessages, Math;
I attached the hole patch. If you can please fix it. Thanx. Attila
Posted: 04.07.2006, 22:36
by mdaems
Hi Attila,
I applied most of the patch to testing branch. Can you explain why you changed some {$IFDEF UNIX} to {$IFDEF LINUX} Is that really necessary? Other places the 'UNIX' switch is used.
Can you try to use this version? If there is still something wrong, just add it to this thread.
Mark
BTW, can I add you to my compiler testers list (see
http://zeos.firmos.at/viewtopic.php?t=592 )? Kylix users are very rare on the forum.
Posted: 05.07.2006, 12:39
by aperger
Hi,
Yes, you can add me into the testers list. THANX
I have a product (
http://www.pergersoft.hu/szoftvertermekek.html) which use ZeOS database engine under linux. Still I can run my product under x86-linux I will devel it...
Why I should modify UNIX to Linux, because the order is wrong:
UNIX definition is in the main INCLUDE file what we want to include...!!! Yes I modify only the *.INC files
Actual solution is working under windows but under linux not.....
Attila
I will test this revision and I will inform you!
Posted: 05.07.2006, 16:25
by mdaems
OK, that's a good reason. Big question : what should happen with FREEBSD? There we have the same problem, or not? How can we solve that? Maybe we should use the switch for windows instead? Or does that also have more flavours?(WIN16/WIN32/...???)
Mark
Kylix3 / D7 / D2005
Posted: 05.07.2006, 18:18
by aperger
Hi,
I install the package under Kylix3, D7 and D2005: I made some modification on the package sorces and on some *.inc file to solve the FreeBSD and Linux problem.
- D2005 package/project group was not exist and I "import" the packages into the new system (win32).
- Under Linux the compilation of package make *.dpu files, but the program compilation try to find *.dcu files: we should use the same directory as the source dir. We can not use only runtime packages if we do not want to modify the PATH env. var -> we should load all of the packages (type is designe and run-time too) with full path ->
example from "~/.borland/delphi69rc" file:
[Known Packages]
/home/aperger/kylix3/bin/dclstd.so.6.9=Borland Standard Components
/home/aperger/kylix3/bin/dcldbdesign.so.6.9=Borland Database Components
/home/aperger/kylix3/bin/dclemacsedit.so.6.9=Borland Editor Emacs Enhancements
/home/aperger/kylix3/bin/dclmlwiz.so.6.9=Borland Markup Language Wizards
/home/aperger/kylix3/bin/bplHelpViewers.so.6.9=Borland Sample Help Viewer Package
/home/aperger/kylix3/bin/dcldbdbx.so.6.9=Borland dbExpress Database Components
/home/aperger/kylix3/bin/dclnet.so.6.9=Borland Internet Components
/home/aperger/kylix3/bin/dclindy.so.6.9=Internet Direct (Indy) for Kylix Property and Component Editors
/home/aperger/kylix3/bin/dclsoap.so.6.9=Borland SOAP Components
/home/aperger/Data/Kylix/Components/PergerSoft CLX/bplPergerSoftCLX_K3_rtl.so=(untitled)
/home/aperger/Data/Kylix/Components/PergerSoft CLX/bplPergerSoftCLX_K3_dtp.so=(untitled)
/home/aperger/Data/Kylix/Components/esbpcs-clx-free-k3/bplqesbpcs_free_rt_k3.so=ESBPCS Free Runtime for Kylix 3
/home/aperger/Data/Kylix/Components/esbpcs-clx-free-k3/bplqesbpcs_free_dt_k3.so=ESBPCS Free Design Time for Kylix 3
/home/aperger/Data/Kylix/Components/ZeosLibs/ZeOS-Test/packages/kylix3/bplZCore.so=Zeos Core Classes and Interfaces
/home/aperger/Data/Kylix/Components/ZeosLibs/ZeOS-Test/packages/kylix3/bplZPlain.so=Zeos Plain Database API
/home/aperger/Data/Kylix/Components/ZeosLibs/ZeOS-Test/packages/kylix3/bplZParseSql.so=Zeos SQL Parsing Classes and Interfaces
/home/aperger/Data/Kylix/Components/ZeosLibs/ZeOS-Test/packages/kylix3/bplZDbc.so=Zeos Low Level Database API
/home/aperger/Data/Kylix/Components/ZeosLibs/ZeOS-Test/packages/kylix3/bplZComponent.so=Zeos Database Components
/home/aperger/Data/Kylix/Components/ReportManager/2.4e/packages/bplrppack.so=Report manager designer (non visual)
/home/aperger/Data/Kylix/Components/ReportManager/2.4e/packages/bplrppackv.so=Report manager visual components
/home/aperger/Data/Kylix/Components/ReportManager/2.4e/packages/bplrppackdesign.so=Report Manager Designer Component Package
I attache my last diff file
Attila