On Tue, 17 Jul 2007 00:12:35 +0200 Luca Olivetti <[EMAIL PROTECTED]> wrote:
> En/na Mattias Gaertner ha escrit: > > > Please check ~/.lazarus/inputhistory.xml. Search for the missing > > units. For example there should be a line > > eventlog /usr/share/fpcsrc/fcl/inc/eventlog.pp > > Are they there? > > No, I can only see aliases for units in the rtl, anyway I pasted what > I think are the relevant lines (between <FPCConfigCache> and > </FPCConfigCache>) here: http://pastebin.com/m11bae573 Your "SearchPath" only contains the default paths: <SearchPath Value="/home/luca/.lazarus/;/usr/lib/fpc/2.0.4/units/i386-linux/rtl/;/usr/lib/fpc/2.0.4/;"/> That means your fpc config is broken. It should contain lines like: -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl These are created by the fpc RPM, unless you already have a /etc/fpc.cfg. You can generate a fresh fpc.cfg with: sudo /usr/lib/fpc/2.0.4/samplecfg /usr/lib/fpc/\$version > > If not, please compile lazarus clean with -dVerboseFPCSrcScan. Then > > start the new IDE and rescan the FPC sources (again). Can you send > > me the output? > > I pasted it here: > http://pastebin.com/m689efbb9 > > it seems it scans everything but then it only adds aliases for units > under /usr/share/fpcsrc/rtl Yes. Lazarus asks the compiler, where it searches for .ppu files. Then it searches the corresponding pas/pp files in the FPC sources. All other are ignored here. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives