[lazarus] New problem compiling
Curtis White
cwhite at aracnet.com
Sat Feb 17 13:38:32 EST 2001
I found the problem. The following code is missing from the FPCDIR
Settings section of the lcl makefile. If I add this in, it works just
fine.
ifndef PACKAGESDIR
PACKAGESDIR=$(FPCDIR)/packages
endif
This should be causing problems for everyone who is using the makefiles
from CVS unless they have defined the PACKAGESDIR environment variable
for some reason. Apparenly, I am the only one who has tried so far :-)
Curtis
Marc Weustink wrote:
>
> At 09:30 17-02-01 +0000, you wrote:
> >It appears someone changed the Makefiles in CVS
>
> Yes, that was me.
>
> >and I can no longer compile Lazarus or the lcl. I now get the following
> >error when I try to compile the LCL:
> >
> >Compiling ./interfaces/gtk/gtkint.pp
> >gtkint.pp(32,21) Fatal: Can't find unit GTK
> >make: *** [allunits.ppu] Error 1
>
> Hmm....
>
> is the path to the gtk units still in you ppc386.cfg ?
>
> --------- part from /etc/ppc386.cfg ---------------
>
> # searchpath for units and other system dependent things
> -Fu/usr/lib/fpc/1.0.5/units/$target
> -Fu/usr/lib/fpc/1.0.5/units/$target/*
> -Fu/usr/lib/fpc/1.0.5/units/$target/rtl
>
> ---------------------------------------------------
>
> >For some reason, the makefile cannot find the fpc/packages/gtk directory
> >and files any more.
> >I haven't changed anything with the compiler or any
> >of the other packages. The only thing I have done is do a CVS update of
> >Lazarus.
> >
> >Does anyone know what I need to do to fix this so I can compile Lazarus
> >again?
>
> Check you ppc386
>
> Marc
>
More information about the Lazarus
mailing list