[Lazarus] Cannot find unit lNet when building project

Bo Berglund bo.berglund at gmail.com
Fri Jan 15 14:50:35 CET 2016


On Fri, 15 Jan 2016 14:38:52 +0100, Sven Barth
<pascaldragon at googlemail.com> wrote:

>> > And the IDE picks up the source unit from:
>> > /usr/fpc/3.0.0/utils/fppkg/lnet/lnet.pp
>>
>> Good. That's the usual place on Linux.
>
>That's the place where fppkg needs it during compilation, yes, but not
>where the compiler would and should find it. The user should use fppkg
>(just a coincidence that both times fppkg is involved here) to install the
>package (AFAIK "fppkg install lnet").
>
Is that a command in terminal inside the fpc source dir:
/usr/fpc/3.0.0/
or somewhere else Like:
/usr/fpc/3.0.0/utils/fppkg/lnet/

Or is it inside Lazarus somewhere?

A search for fppkg gives this:

pi at rpi2-jessie2:~/Projects/fpc $ sudo find / -iname fppkg
/usr/lib/fpc/3.0.0/units/arm-linux/fppkg
/usr/lib/fpc/2.6.4/units/arm-linux/fppkg
/usr/share/src/fpc-2.6.4/fpc/packages/fppkg
/usr/share/src/fpc-2.6.4/fpc/utils/fppkg
/usr/fpc/3.0.0/packages/fppkg
/usr/fpc/3.0.0/utils/fppkg
/usr/bin/fppkg
/etc/fppkg
/home/pi/dev/lazarus/1.6RC2/components/fppkg
/home/pi/dev/lazarus/1.6RC1/components/fppkg

And this is on path:
pi at rpi2-jessie2:~/Projects/fpc $ which fppkg
/usr/bin/fppkg


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list