On 06/25/2013 05:43 PM, silvioprog wrote:
2013/6/25 Leonardo M. Ramé <[email protected]>

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

I didn't get your second message Leonardo (yet - maybe I will later), but I see that it answers my question of how to compile Xidel with just FPC. Thanks!


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to