[Lazarus] Lazarus on Ubuntu: Pixbuf again

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue Jan 17 10:56:18 CET 2012


Sven Barth wrote:

>> yeah, that's the funny thing about *nix stuff... if you need to use
>> something in a program you are writing, having the package installed
>> only allows you to use it in the programs that are /already/ compiled
>> and "installed"... you always need the -dev package if you want to
>> compile something that uses that package... this so all the headers,
>> defines and whatnot can be handled ;)
> 
> You are not entirely right: this isn't the funny thing about *nix stuff, 
> but about systems like Ubuntu and Debian. Distributions like ArchLinux 
> don't have this distinction and if you install the package for a library 
> you're ready to go developing with it as well. :)

Slackware also puts on all the headers etc., but if something isn't 
available as a standard part of the distro things can get tricky. At 
least, to Debian's credit, the naming convention is fairly 
straightforward: sorting out e.g. Solaris is far more taxing.

My own practice is to install build-essential and gdb on any new system 
(except for outward-facing systems where those are a security risk), 
followed by the half-dozen -dev packages required for FP and Lazarus.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list