<html><head></head><body bgcolor="#ffffff" text="#2e3436" link="#2a76c6" vlink="#2e3436"><div>On Sun, 2016-11-06 at 11:10 +0100, Paul Gevers wrote:</div><blockquote type="cite"><pre>Hi all,

On 04-11-16 14:40, Michalis Kamburelis wrote:
<blockquote type="cite">
"2016-11-04 9:47 GMT+01:00 Paul Gevers <<a href="mailto:elbrus@debian.org">elbrus@debian.org</a>>:
All these files (applications and packages, *.lpi and *.lpk) can be
either compiled from GUI, or using the "lazbuild" from command-line.
</blockquote>

It seems that I have to tell lazbuild to "-B" for *.lpk files. But how
do I tell lazbuild to build in my $HOME directory similar as it does
with *.lpk files. Building in the system directory obviously isn't
working for a normal user:

Building /usr/lib/lazarus/1.6/tools/apiwizz/apiwizz.lpi</pre><pre>Hint: (lazarus) [RunTool] /usr/bin/fpc "-iWTOTP"
Hint: (lazarus) [RunTool] /usr/bin/fpc "-va" "compilertest.pas"
TProject.DoLoadStateFile Statefile not found:
/usr/lib/lazarus/1.6/tools/apiwizz/apiwizz.compiled

  $0000000000642BF9
  $000000000047F227
  $000000000040175F
  $00000000005A9164
  $000000000040455A
  $000000000040394A
  $0000000000401C16
  $0000000000406F95
  $000000000040980F
ERROR: Error writing file
Unable to write state file for project Project
Error: Unable to create file
"/usr/lib/lazarus/1.6/tools/apiwizz/apiwizz.compiled"
lazbuild is non interactive, aborting now.<br></pre><pre></pre></blockquote><div><br></div><div>Can you please do the following?</div><pre>$ cp -r /usr/lib/lazarus/1.6/tools/apiwizz/ /tmp</pre><pre>$ cd /tmp/apiwizz</pre><pre>$ lazbuild apiwizz.lpi</pre><div><pre><br class="Apple-interchange-newline">-- <br></pre><span style="font-family: monospace; white-space: pre;">Cheers,
Abou Al Montacir</span></div></body></html>