Page 1 of 1
Problem with installing MyDAC into Lazarus 0.9.28.2
Posted: Mon 04 Apr 2011 09:58
by BeHappy
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.
Posted: Tue 05 Apr 2011 15:04
by AndreyZ
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.
Posted: Tue 05 Apr 2011 15:52
by BeHappy
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

Posted: Tue 05 Apr 2011 19:56
by BeHappy
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
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
It works now.
Posted: Wed 06 Apr 2011 06:45
by AndreyZ
It is good to see that this problem was solved. If any other questions come up, please contact us.
Posted: Tue 12 Apr 2011 21:02
by BeHappy
Hello!
Tell me please, does MyDAC works in Lazarus 0.9.30?
Posted: Wed 13 Apr 2011 07:03
by AndreyZ
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.