[SOLVED] lazarus svn compile error with fpc-2.6.0 on ubuntu 12.04 lazarus / 1-Linux ---------------------------------------------------------------------- falu · 2012-07-20 17:47 Hi, I was tried to install lazarus svn with fpc.2.6 on ubuntu 12.04: 1. download fpc deb packages to fpc-deb dir: Code: [Select]$ mkdir fpc-deb $ cd fpc-deb $ wget ftp://ftp.hu.freepascal.org/pub/fpc/dist/2.6.0/i386-linux/deb/*.deb 2. installing: Code: [Select]$ sudo dpgk -i *.debhere comes some error... a few packages missing 3. solve it: Code: [Select]$ sudo apt-get install -f 4. install again: Code: [Select]$ sudo dpkg -i *.debfine! 5. download lazarus from svn: Code: [Select]$ cd .. $ sudo apt-get install subversion $ svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus 6. compile: Code: [Select]$ cd lazarus $ make all 7. oops, i get this error message: Code: [Select]... Compiling lazaruspackageintf.pas Fatal: Can't find unit process used by RegisterFCL Fatal: Compilation aborted make[1]: *** [fcllaz.ppu] Error 1 make[1]: Leaving directory `/home/user/lazarus/packager/registration' make: *** [registration] Error 2 What am i doing wrong? With fpc-2.4 works well... ---------------------------------------------------------------------- Leledumbo · 2012-07-20 22:07 paste the output of this: Code: [Select]make clean all OPT=-vt | grep -m 50 -i "using unit path" ---------------------------------------------------------------------- falu · 2012-07-21 13:35 Code: [Select]Makefile:2332: warning: overriding commands for target `.' Makefile:2330: warning: ignoring old commands for target `.' Using unit path: ./ Using unit path: /usr/lib/fpc/2.6.0/units/i386-linux/rtl/ Using unit path: /usr/lib/fpc/2.6.0/ make[1]: *** [fcllaz.ppu] Error 1 make: *** [registration] Error 2 ---------------------------------------------------------------------- Leledumbo · 2012-07-21 14:14 Now it's clear your fpc.cfg doesn't contain -Fu line pointing to other units directory. Please edit it, actually a single -Fu line containing: Code: [Select]/usr/lib/fpc/$fpcversion/units/i386-linux/*Should be enough, no need for other -Fu (except for your own custom ones). ---------------------------------------------------------------------- falu · 2012-07-21 14:46 Thank You! It's working!