Thanks, that fixed it...


On 10/28/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> On Sun, 28 Oct 2007 18:05:03 -0500
> "Matt Henley" <[EMAIL PROTECTED]> wrote:
>
> > I am using fpc 2.2 installed from gentoo with the sources installed
> > and lazarus from svn (rev 12621).  I have set the lazarus directory
> > and can compile and run a simple single form project.. however, when I
> > try to install a pkg file (in this case tagraph), I get an error of
> >
> > Compiling lazarus.pp
> > lazarus.pp(74,11) Fatal: Can't find unit Interfaces used by Lazarus
> >
> > any ideas?
>
> Normally this means some ppu files are outdated and you just need to
> recompile them or you misconfigured something and now some ppu files
> exist twice and the compiler finds the old ones.
>
> First you can try
> $ export LCL_PLATFORM=gtk2; make clean all idepkg
>
> This will rebuild the whole gtk2 IDE with packages.
> If this gives the same error, then you have some old ppu files. You can
> see all files found by the compiler with:
>
> $ export LCL_PLATFORM=gtk2; make idepkg OPT=-vut
>
> Beware: This will show you *a lot* of information.
>
>
> Mattias
>
>
> >
> >
> > Here is the output:
> >
> > [EMAIL PROTECTED]:~/Programs/lazarus$ ./startlazarus
> >
> > Gtk-WARNING **: Failed to load module "libgnomebreakpad.so":
> > libgnomebreakpad.so: cannot open shared object file: No such file or
> > directory
> >
> > Gtk-WARNING **: Failed to load module "libgnomebreakpad.so":
> > libgnomebreakpad.so: cannot open shared object file: No such file or
> > directory
> > TApplication.IconChanged - TODO: convert this message...no
> > implementation in gtk or win32
> > NOTE: codetools config file not found - using defaults
> > NOTE: help options config file not found - using defaults
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 908
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 978
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/test/FlashTest/actualflash.pas 208
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/engine/thermo/FlashRachRice.pas 121
> > TMainIDE.DoLoadLFM A /home/matt/unit1.pas IsPartOfProject=True
> > SUCCESS: streaming lfm="/home/matt/unit1.lfm"
> > TPkgManager.DoCompilePackage A TAChartLazarusPkg 0.0 Flags=[]
> > TMainIDE.DoSaveAll
> > TMainIDE.DoSaveProject End
> > [TExternalToolList.Run] CmdLine="/usr/bin/ppc386  -S2cgi -OG1 -gl
> > -vewnhi -l -Fu../../lcl/units/i386-linux/
> > -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/
> > -Fu. -FUlib/i386-linux/ -dLCL -dLCLgtk tachartlazaruspkg.pas"
> > WorkDir="/home/matt/Programs/lazarus/components/tachart/"
> > 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 tachartlazaruspkg.pas
> > Compiling taseries.pas
> > Compiling tagraph.pas
> > Compiling taengine.pas
> > Compiling taseries.pas
> > taseries.pas(377,23) Warning: Function result does not seem to be set
> > taseries.pas(121,35) Hint: Parameter "SeriesColor" not used
> > taseries.pas(250,28) Hint: Parameter "Sender" not used
> > taseries.pas(635,51) Hint: Local variable "yi1" does not seem to be
> > initialized taseries.pas(635,51) Hint: Local variable "xi1" does not
> > seem to be initialized taseries.pas(639,51) Hint: Local variable
> > "yi2" does not seem to be initialized taseries.pas(639,51) Hint:
> > Local variable "xi2" does not seem to be initialized
> > taseries.pas(582,6) Note: Local variable "j" not used
> > taseries.pas(586,4) Note: Local variable "Min" is assigned but never
> > used taseries.pas(586,8) Note: Local variable "Max" is assigned but
> > never used taseries.pas(586,12) Note: Local variable "a" not used
> > taseries.pas(586,14) Note: Local variable "b" not used
> > taseries.pas(587,4) Note: Local variable "Inside1" not used
> > taseries.pas(587,12) Note: Local variable "Inside2" not used
> > taseries.pas(588,4) Note: Local variable "Chart1" not used
> > taseries.pas(589,4) Note: Local variable "YLeft" not used
> > taseries.pas(589,10) Note: Local variable "YRight" not used
> > taseries.pas(589,17) Note: Local variable "XBottom" not used
> > taseries.pas(589,25) Note: Local variable "XTop" not used
> > taseries.pas(590,4) Note: Local variable "XLine" not used
> > taseries.pas(590,10) Note: Local variable "YLine" not used
> > taseries.pas(591,4) Note: Local variable "BLeft" not used
> > taseries.pas(591,10) Note: Local variable "BRight" not used
> > taseries.pas(591,17) Note: Local variable "BBottom" not used
> > taseries.pas(591,25) Note: Local variable "BTop" not used
> > taseries.pas(592,4) Note: Local variable "XLeftI" not used
> > taseries.pas(592,11) Note: Local variable "YLeftI" not used
> > taseries.pas(592,18) Note: Local variable "XRightI" not used
> > taseries.pas(592,26) Note: Local variable "YRightI" not used
> > taseries.pas(592,34) Note: Local variable "XBottomI" not used
> > taseries.pas(592,43) Note: Local variable "YBottomI" not used
> > taseries.pas(592,52) Note: Local variable "XTopI" not used
> > taseries.pas(592,58) Note: Local variable "YTopI" not used
> > taseries.pas(786,17) Warning: Function result does not seem to be set
> > taseries.pas(894,82) Hint: Function result variable does not seem to
> > be initialized taseries.pas(899,82) Hint: Function result variable
> > does not seem to be initialized
> > taseries.pas(304,28) Hint: Parameter "Sender" not used
> > taseries.pas(1106,4) Warning: Label not defined "Points"
> > taseries.pas(1064,10) Hint: Local label "Points" is not used
> > taseries.pas(1142,5) Note: Local variable "i" not used
> > taseries.pas(152,28) Hint: Parameter "Sender" not used
> > taseries.pas(1258,81) Hint: Local variable "topY" does not seem to be
> > initialized
> > taseries.pas(1258,81) Hint: Local variable "topX" does not seem to be
> > initialized
> > taseries.pas(1259,65) Hint: Local variable "bottomY" does not seem to
> > be initialized
> > taseries.pas(177,28) Hint: Parameter "Sender" not used
> > taseries.pas(1399,36) Hint: use DIV instead to get an integer result
> > taseries.pas(1412,7) Hint: Local variable "AY" does not seem to be
> > initialized taseries.pas(1412,7) Hint: Local variable "AX" does not
> > seem to be initialized taseries.pas(1415,7) Hint: Local variable "BY"
> > does not seem to be initialized taseries.pas(1415,7) Hint: Local
> > variable "BX" does not seem to be initialized taseries.pas(1482,22)
> > Warning: Function result does not seem to be set taseries.pas(209,28)
> > Hint: Parameter "Sender" not used taseries.pas(1574,51) Hint: Local
> > variable "yi1" does not seem to be initialized taseries.pas(1574,51)
> > Hint: Local variable "xi1" does not seem to be initialized
> > taseries.pas(1578,51) Hint: Local variable "yi2" does not seem to be
> > initialized taseries.pas(1578,51) Hint: Local variable "xi2" does not
> > seem to be initialized taseries.pas(1580,63) Hint: Local variable
> > "iy_min" does not seem to be initialized taseries.pas(1523,9) Hint:
> > Local const "Larg" is not used taseries.pas(1525,6) Note: Local
> > variable "j" not used taseries.pas(1529,4) Note: Local variable
> > "Inside1" not used taseries.pas(1529,12) Note: Local variable
> > "Inside2" not used taseries.pas(1530,4) Note: Local variable "Chart1"
> > not used taseries.pas(1531,4) Note: Local variable "YLeft" not used
> > taseries.pas(1531,10) Note: Local variable "YRight" not used
> > taseries.pas(1531,17) Note: Local variable "XBottom" not used
> > taseries.pas(1531,25) Note: Local variable "XTop" not used
> > taseries.pas(1532,4) Note: Local variable "XLine" not used
> > taseries.pas(1532,10) Note: Local variable "YLine" not used
> > taseries.pas(1533,4) Note: Local variable "BLeft" not used
> > taseries.pas(1533,10) Note: Local variable "BRight" not used
> > taseries.pas(1533,17) Note: Local variable "BBottom" not used
> > taseries.pas(1533,25) Note: Local variable "BTop" not used
> > taseries.pas(1534,4) Note: Local variable "XLeftI" not used
> > taseries.pas(1534,11) Note: Local variable "YLeftI" not used
> > taseries.pas(1534,18) Note: Local variable "XRightI" not used
> > taseries.pas(1534,26) Note: Local variable "YRightI" not used
> > taseries.pas(1534,34) Note: Local variable "XBottomI" not used
> > taseries.pas(1534,43) Note: Local variable "YBottomI" not used
> > taseries.pas(1534,52) Note: Local variable "XTopI" not used
> > taseries.pas(1534,58) Note: Local variable "YTopI" not used
> > tagraph.pas(176,28) Hint: Parameter "Sender" not used
> > tagraph.pas(151,28) Hint: Parameter "Sender" not used
> > tagraph.pas(96,28) Hint: Parameter "Sender" not used
> > tagraph.pas(125,28) Hint: Parameter "Sender" not used
> > tagraph.pas(950,4) Note: Local variable "MySerie" not used
> > tagraph.pas(335,28) Hint: Parameter "Sender" not used
> > tagraph.pas(1107,55) Hint: Local variable "YTemp" does not seem to be
> > initialized
> > tagraph.pas(1231,52) Hint: Local variable "XTemp" does not seem to be
> > initialized
> > tagraph.pas(1834,4) Note: Local variable "Rgn" not used
> > tagraph.pas(1835,4) Note: Local variable "p" not used
> > tagraph.pas(1872,4) Note: Local variable "j" not used
> > tagraph.pas(1872,6) Note: Local variable "k" not used
> > tagraph.pas(1873,14) Note: Local variable "Xg" not used
> > tagraph.pas(1873,17) Note: Local variable "Yg" not used
> > tagraph.pas(1910,4) Note: Local variable "j" not used
> > tagraph.pas(1910,6) Note: Local variable "k" not used
> > tagraph.pas(1910,15) Note: Local variable "YPoint" not used
> > tagraph.pas(255,33) Hint: Parameter "Y" not used
> > tagraph.pas(1966,25) Warning: Local variable "XPoint" does not seem to
> > be initialized
> > tagraph.pas(1945,4) Note: Local variable "j" not used
> > tagraph.pas(1945,6) Note: Local variable "k" not used
> > tagraph.pas(1946,14) Note: Local variable "Xg" not used
> > tagraph.pas(1946,17) Note: Local variable "Yg" not used
> > tagraph.pas(256,31) Hint: Parameter "X" not used
> > tagraph.pas(281,25) Hint: Parameter "Button" not used
> > tagraph.pas(281,47) Hint: Parameter "Shift" not used
> > tagraph.pas(2056,74) Hint: Local variable "PointNumber" does not seem
> > to be initialized
> > tagraph.pas(2056,74) Hint: Local variable "SerieNumber" does not seem
> > to be initialized
> > tagraph.pas(2015,4) Note: Local variable "MySerie" is assigned but
> > never used tagraph.pas(282,25) Hint: Parameter "Shift" not used
> > tagraph.pas(283,23) Hint: Parameter "Button" not used
> > tagraph.pas(283,45) Hint: Parameter "Shift" not used
> > tagraph.pas(2224,5) Note: Local variable "i" not used
> > tagraph.pas(142,5) Note: Private field "TChartAxisTitle.FVisible" is
> > never used tachartlazaruspkg.pas(10,11) Hint: Unit "TASeries" not
> > used in TAChartLazarusPkg tachartlazaruspkg.pas(10,21) Hint: Unit
> > "TAEngine" not used in TAChartLazarusPkg 4121 lines compiled, 0.8 sec
> > 6 warning(s) issued
> > 47 hint(s) issued
> > 66 note(s) issued
> > "Compiling package TAChartLazarusPkg 0.0" completed
> > TPkgManager.SaveAutoInstallDependencies A TAChartLazarusPkg
> > TPkgManager.SaveAutoInstallDependencies A rx
> > CreateBuildLazarusOptions NewTargetOS=linux NewTargetCPU=i386
> > TMainIDE.DoSaveAll
> > TMainIDE.DoSaveProject End
> > CreateBuildLazarusOptions NewTargetOS=linux NewTargetCPU=i386
> > [TExternalToolList.Run] CmdLine="/usr/bin/make ide -w"
> > WorkDir="/home/matt/Programs/lazarus/"
> > make: Entering directory `/home/matt/Programs/lazarus'
> > Makefile:3403: warning: overriding commands for target `examples'
> > Makefile:3363: warning: ignoring old commands for target `examples'
> > /usr/bin/make -C ide ide
> > make[1]: Entering directory `/home/matt/Programs/lazarus/ide'
> > /usr/bin/make --assume-new=lazarus.pp lazarus
> > make[2]: Entering directory `/home/matt/Programs/lazarus/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.2.0/units/i386-linux/rtl
> > -Fu/usr/lib/fpc/2.2.0/units/i386-linux/regexpr -Fiinclude
> > -Fiinclude/linux -Fi../images -FE.. -FU../units/i386-linux
> > -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -Fl/usr/local/lib
> > -Fl//usr//lib/opengl/nvidia/lib -Fl/usr/i686-pc-linux-gnu/lib
> > -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.2
> > -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.2.1
> > -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 -Fl/usr/lib/nspr
> > -Fl/usr/lib/nss -Fl/usr/lib/qt4 -Fl/usr/kde/3.5/lib -Fl/usr/qt/3/lib
> > -Fl/usr/games/lib -Fl/usr/lib/bibblelabs/bibblepro/libs
> > -Fl/usr/lib/fltk-1.1 -Cn -di386 lazarus.pp
> > 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 lazarus.pp
> > lazarus.pp(74,11) Fatal: Can't find unit Interfaces used by Lazarus
> > GetMsgLineFilename Filename "lazarus.pp" not found.
> > TExternalToolList.Run Exception:
> > /home/matt/Programs/lazarus/ide/lazarus.pp(74,11) Fatal: Can't find
> > unit Interfaces used by Lazarus
> > TMainIDE.DoLoadLFM there is no LFM file for
> > "/home/matt/Programs/lazarus/ide/lazarus.pp"
> > TMainIDE.DoBuildLazarus: Build Lazarus without linking failed.
> >
> > [EMAIL PROTECTED]:~/Programs/lazarus$ ./startlazarus
> >
> > Gtk-WARNING **: Failed to load module "libgnomebreakpad.so":
> > libgnomebreakpad.so: cannot open shared object file: No such file or
> > directory
> >
> > Gtk-WARNING **: Failed to load module "libgnomebreakpad.so":
> > libgnomebreakpad.so: cannot open shared object file: No such file or
> > directory
> > TApplication.IconChanged - TODO: convert this message...no
> > implementation in gtk or win32
> > NOTE: codetools config file not found - using defaults
> > NOTE: help options config file not found - using defaults
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 908
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 978
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/test/FlashTest/actualflash.pas 208
> > TManagedBreakPoints.NotifyAdd A
> > /home/matt/OpSim/trunk/src/engine/thermo/FlashRachRice.pas 121
> > TMainIDE.DoLoadLFM A /home/matt/unit1.pas IsPartOfProject=True
> > SUCCESS: streaming lfm="/home/matt/unit1.lfm"
> > TPkgManager.DoCompilePackage A TAChartLazarusPkg 0.0 Flags=[]
> > TMainIDE.DoSaveAll
> > TMainIDE.DoSaveProject End
> > [TExternalToolList.Run] CmdLine="/usr/bin/ppc386  -S2cgi -OG1 -gl
> > -vewnhi -l -Fu../../lcl/units/i386-linux/
> > -Fu../../lcl/units/i386-linux/gtk/ -Fu../../packager/units/i386-linux/
> > -Fu. -FUlib/i386-linux/ -dLCL -dLCLgtk tachartlazaruspkg.pas"
> > WorkDir="/home/matt/Programs/lazarus/components/tachart/"
> > 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 tachartlazaruspkg.pas
> > tachartlazaruspkg.pas(10,11) Hint: Unit "TASeries" not used in
> > TAChartLazarusPkg tachartlazaruspkg.pas(10,21) Hint: Unit "TAEngine"
> > not used in TAChartLazarusPkg 21 lines compiled, 1.2 sec
> > 1 warning(s) issued
> > 4 hint(s) issued
> > "Compiling package TAChartLazarusPkg 0.0" completed
> > TGtkWSCustomMemo.CreateHandle
> > TGtkWSCustomMemo.CreateHandle
> > CreateBuildLazarusOptions NewTargetOS=linux NewTargetCPU=i386
> > TMainIDE.DoSaveAll
> > TMainIDE.DoSaveProject End
> > CreateBuildLazarusOptions NewTargetOS=linux NewTargetCPU=i386
> > [TExternalToolList.Run] CmdLine="/usr/bin/make ide -w"
> > WorkDir="/home/matt/Programs/lazarus/"
> > make: Entering directory `/home/matt/Programs/lazarus'
> > Makefile:3403: warning: overriding commands for target `examples'
> > Makefile:3363: warning: ignoring old commands for target `examples'
> > /usr/bin/make -C ide ide
> > make[1]: Entering directory `/home/matt/Programs/lazarus/ide'
> > /usr/bin/make --assume-new=lazarus.pp lazarus
> > make[2]: Entering directory `/home/matt/Programs/lazarus/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.2.0/units/i386-linux/rtl
> > -Fu/usr/lib/fpc/2.2.0/units/i386-linux/regexpr -Fiinclude
> > -Fiinclude/linux -Fi../images -FE.. -FU../units/i386-linux
> > -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 -Fl/usr/local/lib
> > -Fl//usr//lib/opengl/nvidia/lib -Fl/usr/i686-pc-linux-gnu/lib
> > -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.1.2
> > -Fl/usr/lib/gcc/i686-pc-linux-gnu/4.2.1
> > -Fl/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 -Fl/usr/lib/nspr
> > -Fl/usr/lib/nss -Fl/usr/lib/qt4 -Fl/usr/kde/3.5/lib -Fl/usr/qt/3/lib
> > -Fl/usr/games/lib -Fl/usr/lib/bibblelabs/bibblepro/libs
> > -Fl/usr/lib/fltk-1.1 -Cn -di386 lazarus.pp
> > 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 lazarus.pp
> > lazarus.pp(74,11) Fatal: Can't find unit Interfaces used by Lazarus
> > GetMsgLineFilename Filename "lazarus.pp" not found.
> > TExternalToolList.Run Exception:
> > /home/matt/Programs/lazarus/ide/lazarus.pp(74,11) Fatal: Can't find
> > unit Interfaces used by Lazarus
> > TMainIDE.DoLoadLFM there is no LFM file for
> > "/home/matt/Programs/lazarus/ide/lazarus.pp"
> > TMainIDE.DoBuildLazarus: Build Lazarus without linking failed.
> > TMainIDE.DoCloseEditorFile A PageIndex=1
> > TMainIDE.DoCloseEditorFile end
> > TMainIDE.DoCloseEditorFile A PageIndex=0
> > TCustomFormEditor.DeleteComponent Form1:TForm1 IsJITComponent=True
> > FreeComponent=True
> > TCustomFormEditor.DeleteComponent Button1:TButton IsJITComponent=False
> > FreeComponent=True
> > TMainIDE.DoCloseEditorFile end
> > LAZARUS END - cleaning up ...
> > [TMainIDE.Destroy] A
> > TManagedBreakPoints.NotifyRemove A
> > /home/matt/OpSim/trunk/src/engine/thermo/FlashRachRice.pas 121 0
> > TManagedBreakPoints.NotifyRemove A
> > /home/matt/OpSim/trunk/src/test/FlashTest/actualflash.pas 208 0
> > TManagedBreakPoints.NotifyRemove A
> > /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 978 0
> > TManagedBreakPoints.NotifyRemove A
> > /home/matt/OpSim/trunk/src/engine/thermo/Equilibrium.pas 908 0
> > [TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
> > [TMainIDE.Destroy] END
> >
> > _________________________________________________________________
> >      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
>

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

Reply via email to