Error installing zeos svn on lazarus 1.x [subject changed] lazarus / 1-Linux ---------------------------------------------------------------------- calebs · 2012-08-27 20:36 Hello all i've downloaded from the snapshots page this file lazarus-1.1-38395-20120827-src.zip extracted to a path and tried to make clean bigide. Gives me an error fist time, tried with sudo, same error. BTW i have working lazarus 9.31 on other directory. Tried adding -Fu on FPC.cfg and also dont worked The last lines of the compiler was Code: [Select]idecommands.pas(1570,3) Note: Local variable "IDECommand" not used idecommands.pas(1577,3) Note: Local variable "IDECommand" not used Compiling ideexterntoolintf.pas Compiling idehelpintf.pas Compiling idemsgintf.pas Compiling idetextconverter.pas Compiling srceditorintf.pas Fatal: Can't find unit SynEdit used by SrcEditorIntf Fatal: Compilation aborted make[1]: *** [ideintf.ppu] Error 1 make[1]: se sale del directorio `/home/multisistema/Escritorio/lazarus1/ideintf' make: *** [lazbuild] Error 2 Could be the daily build wrong? ---------------------------------------------------------------------- BigChimp · 2012-08-28 08:25 Could be. There was work on synedit/makefile recently in Lazarus trunk. You might want to try downloading using svn/subversion either manually or with fpcup, which can download and compile the svn version for you without messing with your existing installation. If there are problems with latest trunk, you can pin the download to a certain known working revision. Disclaimer: ludob and I wrote fpcup. ---------------------------------------------------------------------- calebs · 2012-08-28 20:15 Thanks bigchimp downloaded and installed and compiled with fpcup and builded OK lazarus 1.1. Now, i have the zeos components downloaded from svn (last time compiled ok with 9.31) and now it gives me an error in ZAbstractdataset in line 483 Code: [Select]      BookMark:=BM;  the error is /home/multisistema/sistemanuevo/zeos_SVN/src/component/ZAbstractDatase t.pas(483,19) Error: Incompatible type for arg no. 1: Got "Pointer", expected "AnsiString" could it be from some changes in lazarus code this component doesn't work anymore? ---------------------------------------------------------------------- BigChimp · 2012-08-29 07:35 The bookmark stuff is AFAIK probably caused by changes in FPC trunk. See http://wiki.lazarus.freepascal.org/User_Changes_Trunk#TBookmark_TBookm arkstr_and_TDataset.Bookmark_change_to_Delphi2009.2B_compatible_defini tions ---------------------------------------------------------------------- ludob · 2012-08-29 08:41 QuoteNow, i have the zeos components downloaded from svnWhat repository are you using? Back in March Zeos changed back to sourceforge. Current trunk is now on svn://svn.code.sf.net/p/zeoslib/code-0/trunk ---------------------------------------------------------------------- calebs · 2012-08-29 15:36 Im downloading the svn that you gave me ludob and will try again... thanks ---------------------------------------------------------------------- calebs · 2012-08-29 21:32 Sorry, lazarus builded from fpcup + zeos svn downloaded from where you (ludob) told me, doesn't compile neither install. The errors are in zdatasetutils.pas Code: [Select]/home/multisistema/sistemanuevo/Zeos_SVN_2/src/component /ZDatasetUtils.pas(1085,22) Error: identifier idents no member "GetClientCodePage" line 1085 /home/multisistema/sistemanuevo/Zeos_SVN_2/src/component/ZDatasetUtils .pas(1085,59) Error: Identifier not found "ceAnsi" line 1085 /home/multisistema/sistemanuevo/Zeos_SVN_2/src/component/ZDatasetUtils .pas(1114,85) Error: Identifier not found "FLOAT_COMPARE_PRECISION_SINGLE" line 1114 Worse than last time ---------------------------------------------------------------------- calebs · 2012-09-03 15:33 Well downloaded 1.0 for windows from homepage, and updated to the last SVN of zeos and compiled, installed and builded all the projects i was working on. Now downloading to test the same on linux... << crossing fingers >> ---------------------------------------------------------------------- calebs · 2012-09-03 21:21 Downloaded lazarus 1.0 src and compiled with bigide parameter and compiled ok, then compiled lazreport and ok too. When i try to install the latest zeos from svn (the same that worked on windows) gives me this error in ZDATESETUTILS.PAS on line 1085 Code: [Select]     begin         AValue1 := AnsiString(KeyValues[I].VString);         if ResultSet.GetClientCodePage^.Encoding = ceAnsi then            ---- HERE           AValue2 := AnsiString(ResultSet.GetString(ColumnIndex))         else           AValue2 := AnsiString({$IFNDEF DELPHI12_UP}UTF8ToAnsi{$ENDIF}(ResultSet.GetString(ColumnIndex)));         if CaseInsensitive then           AValue2 := {$IFDEF DELPHI12_UP}AnsiStrings.{$ENDIF}AnsiUpperCase(AValue2);         Result := AnsiStrLComp(PAnsiChar(AValue2), PAnsiChar(AValue1), Length(AValue1)) = 0;                        the error log is Code: [Select]/home/multisistema/sistemanuevo/Zeos_SVN_2/src/component /ZDatasetUtils.pas(1085,22) Error: identifier idents no member "GetClientCodePage" /home/multisistema/sistemanuevo/Zeos_SVN_2/src/component/ZDatasetUtils .pas(1085,59) Error: Identifier not found "ceAnsi" and this in line 1114 Code: [Select]ResultSet.GetBigDecimal(ColumnIndex)) < FLOAT_COMPARE_PRECISION_SINGLE;      and the error is Code: [Select]/home/multisistema/sistemanuevo/Zeos_SVN_2/src/component /ZDatasetUtils.pas(1114,85) Error: Identifier not found "FLOAT_COMPARE_PRECISION_SINGLE"any hint for this? ---------------------------------------------------------------------- calebs · 2012-09-04 15:50 Solved by erasing lazarus folder on linux, recompiled again and downloaded zeos from this repository http://svn.code.sf.net/p/zeoslib/code-0/branches/testing It's working now on windows and linux, will test more in a while...