Thanks, that helped.. doing that worked last night with no problems,
but this morning (after there was update in svn) I see several
problems:

Compiling ../gtk/interfaces.pp
interfaces.pp(29,2) Error: User defined: wrong gtk2 interfaces source
interfaces.pp(37,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory `/home/matt/Programs/lazarus/lcl/interfaces/gtk2'
make[2]: *** [gtk2_all] Error 2
make[2]: Leaving directory `/home/matt/Programs/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/home/matt/Programs/lazarus/lcl'
make: *** [lcl] Error 2

Here is my sh file:

[EMAIL PROTECTED]:~/Programs/lazarus$ cat updatelaz
#!/bin/sh

svn update
export LCL_PLATFORM=gtk2; make clean all
./lazbuild -B /home/matt/Programs/lazarus/components/rx/rx.lpk
./lazbuild -B /home/matt/Programs/ZeosLib/packages/lazarus/zcore.lpk
./lazbuild -B /home/matt/Programs/ZeosLib/packages/lazarus/zparsesql.lpk
./lazbuild -B /home/matt/Programs/ZeosLib/packages/lazarus/zplain.lpk
./lazbuild -B /home/matt/Programs/ZeosLib/packages/lazarus/zdbc.lpk
./lazbuild -B /home/matt/Programs/ZeosLib/packages/lazarus/zcomponent.lpk
./lazbuild -B 
/home/matt/Programs/lazarus/components/lazreport/source/lazreport.lpk
./lazbuild -B 
/home/matt/Programs/lazarus/components/printers/printer4lazarus.lpk
./lazbuild -B 
/home/matt/Programs/lazarus/components/tachart/tachartlazaruspkg.lpk
export LCL_PLATFORM=gtk2; make idepkg

 I then get further errors:

[EMAIL PROTECTED]:~/Programs/lazarus$ ./lazbuild -B
/home/matt/Programs/ZeosLib/packages/lazarus/zcomponent.lpk
[TExternalToolList.Run] CmdLine="/usr/bin/ppc386 -B  -S2cdgi -OG1 -gl
-vewnhi -l -Fu../../src/component/ -Fubuild/
-Fu../../../lazarus/ideintf/units/i386-linux/
-Fu../../../lazarus/lcl/units/i386-linux/
-Fu../../../lazarus/lcl/units/i386-linux/gtk/
-Fu../../../lazarus/packager/units/i386-linux/ -Fu. -FUbuild/ -dLCL
-dLCLgtk zcomponent.pas"
WorkDir="/home/matt/Programs/ZeosLib/packages/lazarus/"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Warning: You are using the obsolete switch -OG
Free Pascal Compiler version 2.2.0 [2007/09/20] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling zcomponent.pas
Compiling /home/matt/Programs/ZeosLib/src/component/ZComponentReg.pas
Compiling /home/matt/Programs/ZeosLib/src/component/ZPropertyEditor.pas
ZDbcIntfs.pas(71,15) Fatal: Can't find unit PropEdits used by ZPropertyEditor
TExternalToolList.Run Exception: ZDbcIntfs.pas(71,15) Fatal: Can't
find unit PropEdits used by ZPropertyEditor
ERROR: tool reported error

I found the PropEdits.pp file

/home/matt/Programs/lazarus/ideintf/propedits.pp

I am guessing, I need to add path information for this.. where should
I put this?
Am I missing something?  Should it be this difficult to keep lazarus up to date?

On Nov 10, 2007 11:50 AM, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
>
> On Sat, 10 Nov 2007 10:13:12 -0600
> "Matt Henley" <[EMAIL PROTECTED]> wrote:
>
> > I set up a shell program:
> >
> > [EMAIL PROTECTED]:~/Programs/lazarus$ cat ./updatelaz
> > #!/bin/sh
> >
> > svn update
> > export LCL_PLATFORM=gtk2; make clean all idepkg
> >[...]
>
> After an update you must compile your packages too:
>
> make clean all
> lazbuild package1.lpk package2.lpk ...
> make idepkg
>
>
> Mattias
>
>
>
>
> _________________________________________________________________
>     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

Reply via email to