General TC > General TC Talk
perl script on mc9
Rich:
Hi remus
--- Quote from: remus on October 25, 2018, 04:37:36 PM --- ... Perhaps the perl5 package needs an update ? Or is this particular pathing requirment unique to sendEmail ? ...
--- End quote ---
TC4 had the startup script and TC9 lost it. If you look at the change log in the TC9 version:
--- Quote ---Change-log: 2009/01/11 first version
2009/05/18 re-compiled for tc_2.x, edited Makefile and config.sh for tc cflags/cppflags
2009/10/02 updated 5.10.0 -> 5.10.1, re-compiled with static libperl without threads
2011/09/30 updated 5.10.1 -> 5.14.1
2013/03/23 updated 5.14.1 -> 5.16.3
2014/07/02 addded symlink /usr/bin/perl
2014/09/18 updated 5.16.3 -> 5.20.0
2014/11/27 added /usr/bin/perl symlink
2015/10/02 updated 5.20.0 -> 5.22.0
2016/10/20 updated 5.22.0 -> 5.24.0
Current: 2017/12/09 updated 5.24.0 -> 5.26.1
--- End quote ---
you'll note it was added back in a couple of times.
remus:
Are you saying this is a patch normally done at the OS level ?
Rich:
Hi remus
--- Quote from: remus on October 25, 2018, 04:37:36 PM --- ... Or is this particular pathing requirment unique to sendEmail ? ...
--- End quote ---
My guess is that sendEmail has /usr/bin/perl hardcoded somewhere in it.
--- Quote from: remus on October 25, 2018, 05:07:38 PM ---Are you saying this is a patch normally done at the OS level ?
--- End quote ---
Not necessarily. I will say that either
A. Extensions should not hardcode paths to system executables (preferable).
or
B. The perl extension should create the symlink to accommodate those hardcoded paths.
remus:
Thanks for clarifying that.
Seems like sendMail needs an alternation.
Rich:
Hi remus
--- Quote from: remus on October 25, 2018, 06:42:26 PM --- ... Seems like sendMail needs an alternation. ...
--- End quote ---
Then you're in luck. The info file lists you as the maintainer. ;D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version