Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-12

CVS Updates - new lcl directories

9 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ken Moffat
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Vincent Snijders wrote 11 lines
I had the same error the first time I tried. After that I removed all existing files in lazarus/lcl/units. After that it compiled fine. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

I fixed this by downloading cvs source to a new directory. :-) Too much christmas stuff still undone to take the time!

Ken

Reply by email

Mattias Gaertner
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Show quoted text 62 lines
Mattias Gaertner wrote: >Hi all, > >Important: >The LCL unit output directories have changed: > > Arghh! help? Error compiling lazarus after cvs update: TOutputFilter: "Free Pascal Compiler version 1.0.11 [2003/10/22] for i386" TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl" TOutputFilter: "Target OS: Linux for i386" TOutputFilter: "Compiling alllclunits.pp" TOutputFilter: "Compiling lclstrconsts.pas" TOutputFilter: "Writing Resource String Table file: units/i386/linux/lclstrconsts.rst" TOutputFilter: "lclstrconsts.pas(185) Error: Writing Resource String Table file: $1" TOutputFilter: "lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping" TExternalToolList.Run /usr/share/lazarus/lcl/lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping TPascalParserTool.BuildTree B OnlyIntf=TRUE /usr/share/lazarus/lcl/lclstrconsts.pas Error after "make": make make -C lcl all make[1]: Entering directory `/usr/share/lazarus/lcl' /bin/rm -f units/i386/linux/alllclunits.ppu /usr/bin/ppc386 -gl -Fu./units/gtk -Fu./units -Fu. -Funonwin32 -Fu/usr/lib/fpc/1 .0.11/units/linux/rtl -Fu/usr/lib/fpc/1.0.11/units/linux/paszlib -Fu/usr/lib/fpc /1.0.11/units/linux/netdb -Fu/usr/lib/fpc/1.0.11/units/linux/libasync -Fu/usr/li b/fpc/1.0.11/units/linux/pthreads -Fu/usr/lib/fpc/1.0.11/units/linux/fcl -Fu/usr /lib/fpc/1.0.11/units/linux/mysql -Fu/usr/lib/fpc/1.0.11/units/linux/ibase -Fu/u sr/lib/fpc/1.0.11/units/linux/sqlite -Fu/usr/lib/fpc/1.0.11/units/linux/x11 -Fu/ usr/lib/fpc/1.0.11/units/linux/opengl -Fu/usr/lib/fpc/1.0.11/units/linux/gtk -Fi include -FUunits/i386/linux -Fl/usr/lib/gcc-lib/i386-linux/3.2.3 -Fl/usr/X11R6/l ib -Fl/home/ken/kylix3/bin -Fl/usr/local/lib -di386 alllclunits.pp Free Pascal Compiler version 1.0.11 [2003/10/22] for i386 Copyright (c) 1993-2003 by Florian Klaempfl Target OS: Linux for i386 Compiling alllclunits.pp Compiling lclstrconsts.pas Writing Resource String Table file: units/i386/linux/lclstrconsts.rst lclstrconsts.pas(185) Error: Writing Resource String Table file: $1 lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `/usr/share/lazarus/lcl' make: *** [lcl] Error 2

Sounds like the directory is not there or is readonly. Did you use the -d option for cvs update?

cvs -z3 update -dP

Mattias

Reply by email

Ken Moffat
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Ken Moffat wrote 13 lines
Mattias Gaertner wrote: > Hi all, > > Important: > The LCL unit output directories have changed: > > Arghh! help? Error compiling lazarus after cvs update:

Error Status update: after cvs checkout instead of update, I get the following error:

Target OS: Linux for i386
Compiling allsyneditunits.pp
Compiling synedit.pp
synedit.pp(69,30) Fatal: Can't find unit MESSAGES
make[2]: *** [allsyneditunits.ppu] Error 1
make[2]: Leaving directory `/usr/share/lazarus/components/synedit' make[1]: *** [synedit_all] Error 2
make[1]: Leaving directory `/usr/share/lazarus/components' make: *** [components] Error 2

Ken

Reply by email

Vincent Snijders
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Show quoted text 28 lines
Ken Moffat wrote: > Mattias Gaertner wrote: > >> Hi all, >> >> Important: >> The LCL unit output directories have changed: >> >> > > Arghh! help? > > Error compiling lazarus after cvs update: > Error Status update: after cvs checkout instead of update, I get the following error: Target OS: Linux for i386 Compiling allsyneditunits.pp Compiling synedit.pp synedit.pp(69,30) Fatal: Can't find unit MESSAGES make[2]: *** [allsyneditunits.ppu] Error 1 make[2]: Leaving directory `/usr/share/lazarus/components/synedit' make[1]: *** [synedit_all] Error 2 make[1]: Leaving directory `/usr/share/lazarus/components' make: *** [components] Error 2

I had the same error the first time I tried. After that I removed all existing files in lazarus/lcl/units. After that it compiled fine.

Reply by email

Mattias Gaertner
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Show quoted text 34 lines
On Fri, 19 Dec 2003 19:39:22 -0800 Ken Moffat wrote: > Ken Moffat wrote: > > > Mattias Gaertner wrote: > > > >> Hi all, > >> > >> Important: > >> The LCL unit output directories have changed: > >> > >> > > > > Arghh! help? > > > > Error compiling lazarus after cvs update: > > > > Error Status update: after cvs checkout instead of update, I get the > following error: > > Target OS: Linux for i386 > Compiling allsyneditunits.pp > Compiling synedit.pp > synedit.pp(69,30) Fatal: Can't find unit MESSAGES > make[2]: *** [allsyneditunits.ppu] Error 1 > make[2]: Leaving directory `/usr/share/lazarus/components/synedit' > make[1]: *** [synedit_all] Error 2 > make[1]: Leaving directory `/usr/share/lazarus/components' > make: *** [components] Error 2 I had the same error the first time I tried. After that I removed all existing files in lazarus/lcl/units. After that it compiled fine.

Strange. The synedit does not get the lcl/units/ path any longer. Where does it come from?

Mattias

Reply by email

Ken Moffat
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Mattias Gaertner wrote 6 lines
Hi all, Important: The LCL unit output directories have changed:

Arghh! help?

Error compiling lazarus after cvs update:

TOutputFilter: "Free Pascal Compiler version 1.0.11 [2003/10/22] for i386" TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl" TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling alllclunits.pp"
TOutputFilter: "Compiling lclstrconsts.pas"
TOutputFilter: "Writing Resource String Table file: units/i386/linux/lclstrconsts.rst"
TOutputFilter: "lclstrconsts.pas(185) Error: Writing Resource String Table file: $1"
TOutputFilter: "lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping"
TExternalToolList.Run /usr/share/lazarus/lcl/lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping TPascalParserTool.BuildTree B OnlyIntf=TRUE
/usr/share/lazarus/lcl/lclstrconsts.pas

Error after "make":
make
make -C lcl all
make[1]: Entering directory `/usr/share/lazarus/lcl' /bin/rm -f units/i386/linux/alllclunits.ppu
/usr/bin/ppc386 -gl -Fu./units/gtk -Fu./units -Fu. -Funonwin32 -Fu/usr/lib/fpc/1
.0.11/units/linux/rtl -Fu/usr/lib/fpc/1.0.11/units/linux/paszlib -Fu/usr/lib/fpc
/1.0.11/units/linux/netdb -Fu/usr/lib/fpc/1.0.11/units/linux/libasync -Fu/usr/li
b/fpc/1.0.11/units/linux/pthreads -Fu/usr/lib/fpc/1.0.11/units/linux/fcl -Fu/usr
/lib/fpc/1.0.11/units/linux/mysql
-Fu/usr/lib/fpc/1.0.11/units/linux/ibase -Fu/u
sr/lib/fpc/1.0.11/units/linux/sqlite
-Fu/usr/lib/fpc/1.0.11/units/linux/x11 -Fu/
usr/lib/fpc/1.0.11/units/linux/opengl
-Fu/usr/lib/fpc/1.0.11/units/linux/gtk -Fi
include -FUunits/i386/linux -Fl/usr/lib/gcc-lib/i386-linux/3.2.3 -Fl/usr/X11R6/l
ib -Fl/home/ken/kylix3/bin -Fl/usr/local/lib -di386 alllclunits.pp Free Pascal Compiler version 1.0.11 [2003/10/22] for i386 Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Linux for i386
Compiling alllclunits.pp
Compiling lclstrconsts.pas
Writing Resource String Table file: units/i386/linux/lclstrconsts.rst lclstrconsts.pas(185) Error: Writing Resource String Table file: $1 lclstrconsts.pas(185) Fatal: There were 1 errors compiling module, stopping make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/usr/share/lazarus/lcl' make: *** [lcl] Error 2

Ken

Reply by email

Mattias Gaertner
to Mattias Gaertner: Important: The LCL unit output directories have changed: The LCL ppu files are now in…
Show quoted text 28 lines
Ken Moffat wrote: > Mattias Gaertner wrote: > >> Hi all, >> >> Important: >> The LCL unit output directories have changed: >> >> > > Arghh! help? > > Error compiling lazarus after cvs update: > Error Status update: after cvs checkout instead of update, I get the following error: Target OS: Linux for i386 Compiling allsyneditunits.pp Compiling synedit.pp synedit.pp(69,30) Fatal: Can't find unit MESSAGES make[2]: *** [allsyneditunits.ppu] Error 1 make[2]: Leaving directory `/usr/share/lazarus/components/synedit' make[1]: *** [synedit_all] Error 2 make[1]: Leaving directory `/usr/share/lazarus/components' make: *** [components] Error 2

Please send more output. Especially the unit paths for synedit and the compilation of the LCL can help.

Mattias

Reply by email

Mattias Gaertner

Hi all,

Important:
The LCL unit output directories have changed:

The LCL ppu files are now in
lazarusdir/lcl/units/i386/linux/
and
lazarusdir/lcl/units/i386/linux/gtk

If you use the LCL package for your projects, you don't need to bother.

Several output directories are now splitted into sub directories for target processsor, target operating system and LCL widget set. Now you can use one lazarus directory for cross compilation.

I also improved the package system, so cross compilation will now automatically cross compile required packages.

The IDE itself still needs one directory per target. (not a big problem).

There were quite a lot of combinations without all the cross compilation stuff, and the new possibilities are far beyond what I can test. There are some tricks to optimize projects and packages for cross compilation and easy switching between targets. Or saying it negative: There are some newbie traps, which can result in some unpleasant results. I will add some hints/details to the wiki in the next days.

Mattias

Reply by email