[Lazarus] Lazbuild and RunTime Packages

silvioprog silvioprog at gmail.com
Wed Jun 26 00:43:33 CEST 2013


2013/6/25 Leonardo M. Ramé <l.rame at griensu.com>

> On 2013-06-25 18:57:39 -0300, Leonardo M. Ramé wrote:
> > Hi, I'm trying to compile Xidel
> > (http://videlibri.sourceforge.net/xidel.html) on a headless FreeBsd
> > machine, but, as this app requires the run-time package utf8tools I've
> > tried compiling using lazbuild:
> >
> > lazbuild --add-package utf8tools.lpk
> >
> > But I got this:
> > "ERROR: Package utf8tools.lpk is only for runtime."
> >
> > Is there a way to build runtime packages using Lazbuild?.
> >
>
> BTW, I compiled xidel using only fpc following these steps:
>
> 1) Remove the {$R *.res} line in xidel.pas
> 2) Run this:
>
> fpc -Fu../../../components/pascal/import/utf8tools \
> -Fu../../../components/pascal/internet/ \
> -Fu../../../components/pascal/data/ \
> -Fu../../../components/pascal/import/regexpr/source/ \
> -Fu../../../../synapse/ -Fu../../../components/pascal/system/ \
> -Fu../../../../lazarus/lcl/ -Fi../../../../lazarus/lcl/include \
> -Fu../../../../lazarus/components/lazutils/ \
> -Fu../../../../lazarus/lcl/widgetset/ xidel.pas
>
> --
> Leonardo M. Ramé
> http://leonardorame.blogspot.com


It would be nice if lazbuild also do:

lazbuild --remove-package utf8tools.lpk
lazbuild --add-rt-package utf8tools.lpk
lazbuild --remove-rt-package utf8tools.lpk

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130625/da8aa32b/attachment-0003.html>


More information about the Lazarus mailing list