Error: "Can't find unit gtk" on recompile from svn lazarus / 1-Linux ---------------------------------------------------------------------- hy · 2007-12-09 20:15 I get the following Error:  "Can't find unit gtk" when recompiling from svn (13253) I've not been working with lazarus for a couple of months now due to an accident I had. So today I updated the source and couldn't recompile Lazarus :-) I am on a Debian Linux and yes, I have freshly installed fpc from debs 2.2 ---------------------------------------------------------------------- felipemdc · 2007-12-13 19:45 FPC debs come in many pieces. Maybe you didn't install all of them and the one with gtk bindings is missing. Install all fpc debs. If that isn't the problem you can try using: make clean all OPT="-va" and try to see why it can't find the unit. ---------------------------------------------------------------------- hy · 2007-12-13 21:25 Quote from: "sekel"FPC debs come in many pieces. Maybe you didn't install all of them and the one with gtk bindings is missing. Install all fpc debs. I am quite sure to have all fpc-packages installed that I could find. I've just reinstalled fp-units-gtk_2.2.0-1_i386.deb and fp-units-gtk2_2.2.0-1_i386.deb Quote from: "sekel"If that isn't the problem you can try using: make clean all OPT="-va" and try to see why it can't find the unit. Well the errors start at: [3.093] ENDIF READ_INTERFACE found [3.093] IFDEF READ_IMPLEMENTATION found, accepted [3.093] ENDIF READ_IMPLEMENTATION found [3.093] Searching file gdk.pp... found [3.093] Back in gdk.pp [3.114] Writing gdk [3.123] Finished compiling unit GDK [3.125] Searching file gtk1int.pp... found [3.125] Add dependency of GTK1INT to GDK [3.125] Load from GTK1INT (interface) unit GTK [3.125] Loading unit GTK [3.125] Unitsearch: gtk.ppu [3.125] Searching file gtk.ppu... not found [3.125] Searching file GTK.PPU... not found [3.125] Unitsearch: ../../units/i386-linux/gtk/gtk.ppu [3.125] Searching file ../../units/i386-linux/gtk/gtk.ppu... not found [3.125] Searching file ../../units/i386-linux/gtk/GTK.PPU... not found And then it starts failing... for some hundred lines... Well, I don't know where it actually looks for "../../units/i386-linux/gtk/GTK.PPU" But there's a svn-version of fpc installes that doesn't compile anymore: (Just updated) When trying to recompile fpc it complains an invalid version of process.ppu. make[4]: Entering directory `.../fpc/packages/fpmkunit' ppc386 -Ur -Xs -O2 -n -Fu/.... -Fisrc -FE. -FUunits/i386-linux -di386 -dRELEASE src/fpmkunit.pp PPU Loading  .../fpc/packages/fcl-process/units/i386-linux/process.ppu PPU Invalid Version 78 [Actually I cut off some of the -FU t make it clear. Sorry if that is getting slightly off-topic, but I'd like to get it running again :-) Thanks in Advance ---------------------------------------------------------------------- hy · 2007-12-15 09:20 re-checked out everything from start and now it seems to work - thanks