<html><head></head><body><div>Hi Steve,</div><div><br></div><div>Thank you reporting this issue.</div><div><br></div><div>On Fri, 2022-05-20 at 01:02 +0000, Steve Greenburg wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>...</div></blockquote><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>(1,1) Fatal: Can't find unit system used by Program                                                  ▲<br></div><div>(0) Fatal: Compilation aborted <br></div></blockquote><div>Yes I can reproduce.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>...</div><div>The config file is /etc/fpc.cfg and it mentions the above path but with symbols. For example it has '$fpcversion' instead of '3.2.2'. Strangely the 'fpc' compiler itself uses this file but has no problems. I have tested this on latest debian testing. I'm not sure how to fix the problem in fp itself however other than through the GUI or why it's not using the fpc.cfg file properly.</div></blockquote><div>Using the following path in the GUI works also:</div><div><div><span style="font-family: monospace; font-size: 14.666667px;">/usr/lib/x86_64-linux-gnu/fpc/$fpcversion/units/x86_64-linux/*</span><br style="font-family: monospace; font-size: 14.666667px;"></div></div><div>So the issue seems more that the IDE does not parse /etc/fpc.cfg rather than not expanding the configuration variables.<span style="font-size: 14.666667px;"></span></div><div>Not sure if this is Debian specific or is also the case of upstream binaries.</div><div>I'll check with upstream.</div><div style="caret-color: rgb(46, 52, 54); color: rgb(46, 52, 54); font-family: Cantarell; font-size: 14.666667px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"><span><pre>-- <br></pre><pre>Cheers,
Abou Al Montacir</pre></span></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote></body></html>