Page 1 of 1

Problem Installing MyDAC fpc2 to Lazarus 0.9.26

Posted: Thu 24 Dec 2009 04:07
by Justmade
I had license to MyDAC 5 Professional w/o sources code and currently I want to see if I can use Lazarus to build window/linux cross platform DB application. If MyDAC fpc2 is workable, and the test is satisfactory, I would upgrade to sources code license.

I had download the latest trial 5.90 and had tried to install to both 0.9.26 and 0.9.26.2 and both has the same problem.

I just
1. clean all Lazarus entries in registry and delete all Lazarus related files in Document and setting
2. reinstall 0.9.26 fresh,
3. install mydacfpc2.exe,
4. In Lazarus -> Package->Open Package File->Select "dclmydac10.lpk"
5. In the Package Form, Press Install and accept rebuild
6. It show : Installation Failed DAC10 1.1.1.1 fail to compile and the message show
"D:\lazarus\components\MyDAC\Packages\dac10.pas(10,3) Fatal: Can't find unit CRAccess used by dac10"

I am new to Lazarus so maybe I just miss some steps. Please point me out so I can starting testing Lazarus with MyDAC.

Thanks and Merry Christmas.

Justmade

Posted: Thu 24 Dec 2009 11:18
by Dimon
The point is that MyDAC for FreePascal version 5.90.0.54 is compatible only with Lazarus 0.9.28.2.

Posted: Thu 24 Dec 2009 16:48
by Justmade
Dimon wrote:The point is that MyDAC for FreePascal version 5.90.0.54 is compatible only with Lazarus 0.9.28.2.
Then I think you must ask someone to update this page to prevent other wasting hours just because of wrong information given.

http://www.devart.com/mydac/download.html

:P

Merry Christmas anyway :)

Posted: Fri 25 Dec 2009 07:40
by Dimon
Thank you for your inquiry. We will change this information in the nearest future.

Posted: Fri 25 Dec 2009 09:28
by Justmade
Thanks.

May I know how can I test the linux part, which is my main point of trying out Lazarus with MySQL? Is linux part 100% compatible with the Win32 part?

Thanks in advance.

And for those who looking for this information, I had installed the trial in Lazarus 0.9.28.2 successfully. Haven't time to try it yet though.

Posted: Fri 25 Dec 2009 10:27
by Dimon
To test MyDAC for Linux you should download MyDAC 5.90 for FreePascal, Linux version.
If you use Edition with Source code then the Linux part is compatible with the Win32 part.

Posted: Sun 03 Jan 2010 19:58
by Hans Luijten
I've just renewed my subscription to MyDAC (with source) in the hope that I can start experimenting with Lazarus.

Unfortunately I was not able to find a "MyDAC 5.90 for FreePascal" (as mentioned in previous post - so I assume that would only be the trial version?) in the download section to which I have been provided access.

In the sources directory I did find the Lazarus1 folder, but I'm at a loss on how to install it - I did search the forum and did read the included files - no info there.
How do I install MyDAC for Lazarus?

I understand there is support for Windows (primary purpose for me), and Linux. Would Mac OSX work as well?

Posted: Mon 04 Jan 2010 10:01
by Dimon
To install MyDAC for Lazarus open MyDAC design-time package (dclmydac10.lpk), compile and install it.