New Versions of Lazarus breaking old code TSQLQuery lazarus / 16-Databases ---------------------------------------------------------------------- lefti2003 · 2012-03-19 22:17 Hi All,  I had a version of lazarus 0.9.24 where my code was working on Redhat 4. We updated lazarus then began having issues. Now we have a clean install of RedHat 5 with lazarus 0.9.26 and fpc version 2.2.2. I keep getting these error messages attached and do not know how to resolve. Your help is much appreciated. Thanks, Lefti ---------------------------------------------------------------------- JuhaManninen · 2012-03-19 23:22 Lazarus 0.9.26 is not really a "New Version". I joined the development ~ 3 years ago and then 0.9.28 was already published. You should try a more recent version. The development happens with good speed although there are releases only seldom. You would be positively surprised... Juha ---------------------------------------------------------------------- lefti2003 · 2012-03-19 23:38 Hi,  Yes I understand. The sysadmin mentioned that was the latest release he could install without forcing an install and it was the cleanest. Anyways I was able to get around the errors by removing the SQLQuery from the .lfm file and putting it back in. Now I get an error /usr/lib64/lazarus/components/sqldb/sqldblaz.pas(1,1) Fatal:Can't find unit system used by SQLDBLaz Any ideas? Thanks Lefti ---------------------------------------------------------------------- BigChimp · 2012-03-20 06:42 One suggestion would be to get a virtual machine with a recent version of RHEL/CentOS/whatever, and install a recent Lazarus version in it (e.g. the just released 0.9.30.4 IIRC). You can write your application in this and test it on the old Red Hat machine. This way, you get access to newer components, bug fixes, performance improvements etc... There have been quite a few, so a bit of pain in the development process might save you a lot of pain in dealing with possible bugs in your compiled executables... ---------------------------------------------------------------------- Vincent Snijders · 2012-03-20 06:51 You always could install Lazarus (and fpc) in your user directory. Then you can upgrade to the latest release without help from an administrator. ---------------------------------------------------------------------- BigChimp · 2012-03-20 07:20 Quote from: Vincent Snijders on March 20, 2012, 07:51:09 amYou always could install Lazarus (and fpc) in your user directory. Then you can upgrade to the latest release without help from an administrator. Shameless plug: fpcup: https://bitbucket.org/reiniero/fpcup/downloads Details: http://lazarus.freepascal.org/index.php/topic,15919.0.html ... could do that for you.... ... or manually with svn checkout/svn update/make etc as per http://wiki.lazarus.freepascal.org/Installing_Lazarus#Up_to_date_sourc e_repository_using_SVN and http://wiki.lazarus.freepascal.org/Installing_Lazarus#Downloading_Laza rus_Source_Code