Linking to Extensions
[email protected] (welle ozean via tcltk) Sat, 1 Jun 2019 10:23:44 +0200
| Newsgroups | perl.tcltk |
|---|---|
| Message-ID | <CAL0NCLset_afeG_aEEKUzfzY1O=-jSOgkgFN4dcARKEs_jS-sw@mail.gmail.com> |
--0000000000001b8af5058a3eda3a
Content-Type: text/plain; charset="UTF-8"
Hello,
my application is deployed as macOS .app This has some stringent criteria
on data structure. I use Tcl/Tk as Frameworks.
To link Tcl.pm to my frameworks I set the following two variables:
$ENV{'PERL_TCL_DL_PATH'}
$ENV{'TCLLIBPATH} -> directory containing the frameworks (needed to find Tk)
This works fine. If I install my extensions in the directory containing the
frameworks, the extensions are also correctly loaded. However, this is not
allowed by the .app folder structure. So I need to move the extensions to
another location of the .app folder.
Does Tcl.pm has the possibility to set a second $ENV to look - in my case -
for extensions? (It gowns without saying that I can not move my Frameworks
from the directory they are...)
In TCL it seems it is possible to set a list (see:
https://wiki.tcl-lang.org/page/TCLLIBPATH).
Welle
--0000000000001b8af5058a3eda3a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Hello,<=
div><br></div><div>my application is deployed as macOS .app This has some s=
tringent criteria on data structure. I use Tcl/Tk as Frameworks.</div><div>=
<br></div><div>To link Tcl.pm to my frameworks I set the following two vari=
ables:</div><div><br></div><div><div>$ENV{'PERL_TCL_DL_PATH'}</div>=
<div>$ENV{'TCLLIBPATH} -> directory containing the frameworks (neede=
d to find Tk)</div></div><div><br></div><div>This works fine. If I install =
my extensions=C2=A0in the directory containing the frameworks, the extensio=
ns are also correctly loaded. However, this is not allowed by the .app fold=
er structure. So I need to move the extensions to another location of the .=
app folder.</div><div><br></div><div>Does Tcl.pm has the possibility to set=
a second $ENV to look - in my case - for extensions? (It gowns without say=
ing that I can not move my Frameworks from the directory they are...)</div>=
<div><br></div><div>In TCL it seems it is possible to set a list (see:=C2=
=A0<a href=3D"https://wiki.tcl-lang.org/page/TCLLIBPATH">https://wiki.tcl-l=
ang.org/page/TCLLIBPATH</a>).</div><div><br></div><div>Welle</div></div></d=
iv></div></div>
--0000000000001b8af5058a3eda3a--