Im used Zeos Component (lazarus) work OK in Windows OS, But i try run n  
compile in Suse 9 Work Not perfect. at DBGrid , i can not see data (  Blank 
Row). why?
  
  Tx

13stica <[EMAIL PROTECTED]> wrote:  hi!

open terminal or konsole and do this:

- cd ~
- mkdir sources
- cd sources

create directory in your home and do cd sources then this:

- svn checkout -r 5191 http://svn.freepascal.org/svn/fpc/trunk fpc
fpc 2.1.1 without memory leaks - for me it work ok

- svn checkout svn://firmos.at/zeos/branches/testing zeos
latest zeosdbo - it work ok on lazarus and has no memory leaks

-svn checkout http://svn.freepascal.org/svn/lazarus/trunk lazarus
latest lazarus

and now:

cd fpc
make clean all
sudo make install INSTALL_PREFIX=/usr
make install INSTALL_PREFIX=/usr

rm -f /usr/bin/ppc386
ln -s /usr/lib/fpc/2.1.1/ppc386 /usr/bin/ppc386
/usr/lib/fpc/2.1.1/samplecfg /usr/lib/fpc/2.1.1 /etc
exit

run fpc and check if you have fpc 2.1.1 version

cd ..
cd lazarus

make clean all - if you wish gtk version
make clean all LCL_PLATFORM=gtk2 - if you wish gtk2 version

start lazarus from sources/lazarus with ./startlazarus

from menu Components -> Open package file (*.lpk) -> navigate to
sources/zeos/packages/lazarus and select all *.lpk files and open...
(click on first lpk and then press shift and click to last lpk)

Click on lazarus menu Windows and select Package zcomponent. Click on
button More... and select Recompile clean - after recompiling press
install button and let rebuild lazarus...

run lazarus allways from sources/lazarus directory

i hope this will help you to do your programming... it work for me ok

pineal pravi:
> On Sunday 03 June 2007 13:56, Mario R. Carro wrote:
>> On Sunday 03 June 2007, pineal wrote:
>>> Anyone else use the zeos components with Lazarus and the components now
>>> fail to compile with latest svn Lazarus sources today?
>>>
>>> I have also updated to latest svn zeos sources too, but the compile still
>>> fails on the ZPropertyEditor unit.
>>>
>>> neal.
>> Hi, Neal. I've been playing the ZeosLib and FPC from SVN a few days ago
>> (since then I had to start to use for more serious purposes so I gone back
>> to FPC stable). At some point I had ZeosLib compile cleanly (without any
>> touching) with FPC from SVN. But it was a highly unstable target! The main
>> problems I found were name conflicts between properties and function
>> parameters (even in Delphi mode, not reported), problems with writable
>> properties (commented on the fpc-devel list and solved) and other minimum
>> compatibility issues (already solved too).
>>
>> On the other hand compiling against the stable (2.0.4) version goes
>> smoothly if you fix the paths in the zcomponents package (the path for
>> includes is wrong: it says ../../src/component but it must be ../../src).
>>
>> Mario
>>
> Hi Mario,
> 
> Sorry I forgot to mention I am using fp 2.0.4. 
> 
> I tried your suggestion.
> 
> I altered the include path as suggested, and then re-built, but the same 
> error 
> has occurred, "failed to complile zcomponent6.6.1". The only clue is that the 
> cursor is adjacent to zPropertyEditor on the error line.
> 
> so I ran it from the console and get this lot;
> ==========================================================
> 
> bash: ./startlazarus: No such file or directory
> [EMAIL PROTECTED] ~]$ cd software/lazarus/trunk
> [EMAIL PROTECTED] trunk]$ ./startlazarus
> TApplication.IconChanged - TODO: convert this message...no implementation in 
> gtk or win32
> TMainIDE.DoLoadLFM A /home/pineal/software/temp/unitp1.pas 
> IsPartOfProject=True
> SUCCESS: streaming lfm="/home/pineal/software/temp/unitp1.lfm"
> TMainIDE.DoLoadLFM there is no LFM file for 
> "/home/pineal/software/lazarus/trunk/components/custom/zeosdbo/zeos/trunk/packages/lazarus/zcomponent.pas"
> TMainIDE.DoCloseEditorFile A PageIndex=1
> TMainIDE.DoCloseEditorFile end
> TPkgManager.SaveAutoInstallDependencies A zcore
> TPkgManager.SaveAutoInstallDependencies A SDFLaz
> TPkgManager.SaveAutoInstallDependencies A JPEGForLazarus
> TPkgManager.SaveAutoInstallDependencies A SQLDBLaz
> TPkgManager.SaveAutoInstallDependencies A TurboPowerIPro
> TPkgManager.SaveAutoInstallDependencies A zplain
> TPkgManager.SaveAutoInstallDependencies A zparsesql
> TPkgManager.SaveAutoInstallDependencies A ProjTemplates
> TPkgManager.SaveAutoInstallDependencies A DBFLaz
> TPkgManager.SaveAutoInstallDependencies A LazCustForms
> TPkgManager.SaveAutoInstallDependencies A lazparadox
> TPkgManager.SaveAutoInstallDependencies A zdbc
> TPkgManager.SaveAutoInstallDependencies A zcomponent
> TMainIDE.DoSaveAll
> TMainIDE.DoSaveProject End
> [TExternalToolList.Run] CmdLine="/usr/bin/make ide -w" 
> WorkDir="/home/pineal/software/lazarus/trunk/"
> make: Entering directory `/home/pineal/software/lazarus/trunk'
> Makefile:4185: warning: overriding commands for target `examples'
> Makefile:4145: warning: ignoring old commands for target `examples'
> /usr/bin/make -C ide ide
> make[1]: Entering directory `/home/pineal/software/lazarus/trunk/ide'
> /usr/bin/make --assume-new=lazarus.pp lazarus
> make[2]: Entering directory `/home/pineal/software/lazarus/trunk/ide'
> /usr/bin/ppc386 -gl -Fu../lcl/units/i386-linux 
> -Fu../lcl/units/i386-linux/gtk2 
> -Fu../components/codetools/units/i386-linux 
> -Fu../components/synedit/units/i386-linux -Fu../components/custom 
> -Fu../components/mpaslex -Fu../ideintf/units/i386-linux -Fu../designer 
> -Fu../designer/jitform/units/i386-linux -Fu../debugger -Fu../converter 
> -Fu../packager -Fu../packager/units/i386-linux -Fu../units/i386-linux -Fu. 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/rtl 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/hash 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/paszlib 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/netdb 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/libasync 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/pthreads 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/fcl 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/regexpr 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/pasjpeg 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/ibase 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/postgres 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/mysql 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/odbc 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/oracle 
> -Fu/usr/lib/fpc/2.0.4/units/i386-linux/sqlite -Fiinclude -Fiinclude/linux 
> -Fi../images -FE.. -FU../units/i386-linux 
> -Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1 -Fl/usr/lib/nvidia 
> -Flinclude -Fl/etc/ld.so.conf.d/*.conf -Fl/usr/X11R6/lib -Fl/usr/lib/qt3/lib 
> -Cn -di386 lazarus.pp
> Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
> Copyright (c) 1993-2006 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling lazarus.pp
> Closing script ../ppas.sh
> 147 Lines compiled, 2.2 sec
> make[2]: Leaving directory `/home/pineal/software/lazarus/trunk/ide'
> make[1]: Leaving directory `/home/pineal/software/lazarus/trunk/ide'
> make: Leaving directory `/home/pineal/software/lazarus/trunk'
> "Compile IDE (without linking)" completed
> TMainIDE.DoSaveAll
> TMainIDE.DoSaveProject End
> TLazPackageGraph.CheckIfPackageNeedsCompilation  No state file for zcomponent 
> 6.6.1
> [TExternalToolList.Run] CmdLine="/usr/bin/ppc386  -S2cdgi -OG1 -gl -vewnhi -l 
> -Fi../../src/ -Fu../../src/ -Fu../../../../../../../ideintf/units/i386-linux/ 
> -Fubuild/ -Fu../../../../../../../lcl/units/i386-linux/ 
> -Fu../../../../../../../lcl/units/i386-linux/gtk2/ 
> -Fu../../../../../../../packager/units/i386-linux/ -Fu. -FUbuild/ -dLCL 
> -dLCLgtk2 zcomponent.pas" 
> WorkDir="/home/pineal/software/lazarus/trunk/components/custom/zeosdbo/zeos/trunk/packages/lazarus/"
> Hint: Start of reading config file /etc/fpc.cfg
> Hint: End of reading config file /etc/fpc.cfg
> Free Pascal Compiler version 2.0.4 [2006/08/20] for i386
> Copyright (c) 1993-2006 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling zcomponent.pas
> Fatal: Can't find unit ZPropertyEditor
> TExternalToolList.Run 
> Exception: 
> /home/pineal/software/lazarus/trunk/components/custom/zeosdbo/zeos/trunk/packages/lazarus/zcomponent.pas(1,1)
>  
> Fatal: Can't find unit ZPropertyEditor
> TMainIDE.DoLoadLFM there is no LFM file for 
> "/home/pineal/software/lazarus/trunk/components/custom/zeosdbo/zeos/trunk/packages/lazarus/zcomponent.pas"
> 
> ====================================================
> 
> All I did was update to latest lazarus souces and rebuild. Then I updated to 
> latest zeos sources, but still same problem.
> 
> There is an obvious problem with ZPropertyEditor but I have no idea in terms 
> of what to do about it.
> 
> why oh why don't I listen to my own best advice? I had a working environment, 
> and said "don't change it or it will break, get the coding done" and then 
> went ahead and updated and it broke. LOL
> neal.
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
> 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


       
---------------------------------
Luggage? GPS? Comic books? 
Check out fitting  gifts for grads at Yahoo! Search.

Reply via email to