<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">26.12.2023 11:49, Michael Van Canneyt
via fpc-devel пишет:<br>
</div>
<blockquote type="cite"
cite="mid:dd396c3d-63d4-d281-1942-3cea8ff2c45@freepascal.org">On
Mon, 25 Dec 2023, Maxim Ganetsky wrote:
<br>
<blockquote type="cite">Thanks. But still no luck. It seems like
asterisks in config file are not expanded properly. See the
output of compilation run for a trivial "Hello, World!" program:
<br>
</blockquote>
<br>
They are expanded. I've been using it for quite some time now.
<br>
I don't think I've been hallucinating. See below :-)
<br>
<br>
<blockquote type="cite">||
<br>
Info: Macro defined: UNICODE
<br>
||
<br>
Info: Compiler exe: "/usr/local/bin/pas2js"
<br>
||
<br>
Info: Using working directory:
"/builds/freepascal.org/lazarus-sandbox/lazarus-test-4"
<br>
||
<br>
Info: Using unit path: "/usr/local/lib/fpc/3.3.1/pas2js/*/src"
<br>
||
<br>
Note: unit path not found:
"/usr/local/lib/fpc/3.3.1/pas2js/*/src"
<br>
</blockquote>
<br>
Is the path correct to begin with ?
<br>
</blockquote>
<p>Sigh, no it is not:</p>
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap term-fg-l-green term-bold"><font
face="monospace">$ ls -l /usr/local/lib/fpc/3.3.1/pas2js</font></span></div>
<div class="js-log-line job-log-line"></div>
<code data-testid="job-log-content" class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">total 4</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">drwxr-xr-x 2 root root 4096
Dec 25 17:37 rtl</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap term-fg-l-green term-bold">$ ls
-l /usr/local/lib/fpc/3.3.1/pas2js/rtl</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block">
<div class="js-log-line job-log-line"><span
class="gl-white-space-pre-wrap">total 48</span></div>
<div class="js-log-line job-log-line"></div>
</code><code data-testid="job-log-content"
class="job-log gl-display-block"><span
class="gl-white-space-pre-wrap">-rw-rw-r-- 1 root root 45451 Dec
25 15:49 rtl.js</span></code>
<p></p>
<p>So `make install` does not work as expected?<br>
</p>
<blockquote type="cite"
cite="mid:dd396c3d-63d4-d281-1942-3cea8ff2c45@freepascal.org">i.e.
do the directories /usr/local/lib/fpc/3.3.1/pas2js/*/src actually
exist ?
<br>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Best regards,
Maxim Ganetsky <a class="moz-txt-link-freetext" href="mailto:ganmax@narod.ru">mailto:ganmax@narod.ru</a></pre>
</body>
</html>