[Lazarus] Lazbuild and RunTime Packages

Leonardo M. Ramé l.rame at griensu.com
Wed Jun 26 00:33:24 CEST 2013


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




More information about the Lazarus mailing list