[Lazarus] Compiling lazarus in a headless server

Michael Van Canneyt michael at freepascal.org
Sun Oct 31 00:24:36 CEST 2010



On Sat, 30 Oct 2010, Leonardo M. Ramé wrote:

> On 2010-10-30 23:48:04 +0200, Michael Van Canneyt wrote:
>>
>>
>> On Sat, 30 Oct 2010, Leonardo M. Ramé wrote:
>>
>>> Hi, I would like to know if anyone has compiled Lazarus in a headless
>>> machine.
>>>
>>> I ask this because I want to compile it on a FreeBsd server without X, and it is
>>> stopping with the "/usr/bin/ld: cannot find -lgdk_pixbuf-2.0".
>>
>> You could try with the nogui widgetset.
>>
>> But I'm not sure that this is very useful :-)
>>
>> Michael.
>
> It compiled with gmake LCL_PLATFORM=nogui
>
> And it is useful to me, I just want to compile web apps in this server.

In that case, you can just build 'lazbuild' and compile them on the command-line.

make lazbuild

should do it.

Michael.


More information about the Lazarus mailing list