Problem with installing MyDAC into Lazarus 0.9.28.2

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
BeHappy
Posts: 4
Joined: Sun 03 Apr 2011 22:16
Location: Russia

Problem with installing MyDAC into Lazarus 0.9.28.2

Post by BeHappy » Mon 04 Apr 2011 09:58

Hello!
I've got error when i try to install MyDAC into Lazarus (OS Ubuntu 10.04, x32)
First I start lazarus and open dclmydac10.lpk by it.
Then i press install button and see message:
/usr/lib/fpc/2.4.0/units/i386-linux/mydac/CRDataBuffer.pas(123,91) Error: Can't assign values to const variable
It opened CRDataBuffer.pas and mark line 123 (and "data" in it).
How can i fix it?
Thank you.

AndreyZ

Post by AndreyZ » Tue 05 Apr 2011 15:04

Hello,

We have checked MyDAC installation in Lazarus 0.9.28.2 under Linux OpenSUSE 11.1. There were no problems. We will check it under Ubuntu. But if the Lazarus behaviour under Ubuntu differs from the one under OpenSUSE, you should write about this problem to Lazarus support.

BeHappy
Posts: 4
Joined: Sun 03 Apr 2011 22:16
Location: Russia

Post by BeHappy » Tue 05 Apr 2011 15:52

AndreyZ wrote:We have checked MyDAC installation in Lazarus 0.9.28.2 under Linux OpenSUSE 11.1. There were no problems.
Ok, big thanks :)
We will check it under Ubuntu.
I'm waiting for that very much
But if the Lazarus behaviour under Ubuntu differs from the one under OpenSUSE, you should write about this problem to Lazarus support.
Ok. But maybe I have destroyed version of MyDAC?
If it needs, i can upload sources that I have to some file sharing (with passwd)

P.S. Sorry for my English :oops:

BeHappy
Posts: 4
Joined: Sun 03 Apr 2011 22:16
Location: Russia

Post by BeHappy » Tue 05 Apr 2011 19:56

Thank you for help!
It's solved by purge lazarus with depends

Code: Select all

apt-get purge lazarus
apt-get autoremove
remove lazarus folder from $HOME

Code: Select all

rm -r ~/.lazarus
remove mydac sources from fpc unit path

Code: Select all

rm -r /usr/lib/fpc/2.4.0/units/i386-linux/mydac
and install lazarus again

Code: Select all

apt-get install lazarus
It works now.
Last edited by BeHappy on Wed 06 Apr 2011 14:06, edited 1 time in total.

AndreyZ

Post by AndreyZ » Wed 06 Apr 2011 06:45

It is good to see that this problem was solved. If any other questions come up, please contact us.

BeHappy
Posts: 4
Joined: Sun 03 Apr 2011 22:16
Location: Russia

Post by BeHappy » Tue 12 Apr 2011 21:02

Hello!

Tell me please, does MyDAC works in Lazarus 0.9.30?

AndreyZ

Post by AndreyZ » Wed 13 Apr 2011 07:03

Support for Lazarus 0.9.30 will be included in the next MyDAC build. We are planning to release the new version of MyDAC next week.

Post Reply