[Lazarus] [FPC] Install from sources

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Dec 10 07:32:51 CET 2009


Kjow wrote:
> 2009/12/9 Kjow <antispammoni at gmail.com>:
>> /usr/local/bin/ld: cannot find -lX11
> 
> Sorry for flooding...
> 
> I tried (and it worked) with installation of two dependencies:
> libXp-dev libgtk2.0-dev

Yeah, the dependency rule is tricky in the beginning, until know what the
error means.
Under Linux with linking errors.
 required packages =  'lib' + <whatever package it error mentioned> +
                           '-dev'


 $ sudo apt-get install <required package>

Luckily apt pulls in all other requirements. Thank goodness the days of
manually figuring out .rpm or Slackware's .tar.gz package dependencies are
long gone. Long live APT!  :-)



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list