2022-12-26 06:45 AM
Hi all ~
I'm using ProFTP and try to use ftpasswd perl script to manage AuthUserFiles.
But when I run ftpasswd command on my system I get the following error
Can't locate Fcntl.pm in @INC (you may need to install the Fcntl module)
(@INC contains:
/usr/lib/perl5/site_perl/5.34.1/arm-linux
/usr/lib/perl5/site_perl/5.34.1
/usr/lib/perl5/vendor_perl/5.34.1/arm-linux
/usr/lib/perl5/vendor_perl/5.34.1
/usr/lib/perl5/5.34.1/arm-linux
/usr/lib/perl5/5.34.1)
at ./ftpasswd line 29.
BEGIN failed--compilation aborted at ./ftpasswd line 29.
2022-12-23 00:31:06,788 stm32mp1-prox-mx670 proftpd[3800]: fatal: unknown configuration directive 'AuthUserFile' on line 13 of '/home/hantas/remoteprox_ftpconf'
How can I add perl module on distribution package?
Thanks in advanced.
Solved! Go to Solution.
2023-01-02 05:24 AM
Hi @hochul yoo
The perl module Fnctl is available from your board through the package repository service:
root@stm32mp1:~# apt-get update
root@stm32mp1:~# apt-cache policy perl-module-fcntl
perl-module-fcntl:
Installed: (none)
Candidate: 5.34.1-r0
Version table:
5.34.1-r0 500
500 http://packages.openstlinux.st.com/4.1 kirkstone/main armhf Packages
You can install it with the command:
root@stm32mp1:~# apt-get install perl-module-fcntl
Best regards,
--JM
2023-01-02 05:24 AM
Hi @hochul yoo
The perl module Fnctl is available from your board through the package repository service:
root@stm32mp1:~# apt-get update
root@stm32mp1:~# apt-cache policy perl-module-fcntl
perl-module-fcntl:
Installed: (none)
Candidate: 5.34.1-r0
Version table:
5.34.1-r0 500
500 http://packages.openstlinux.st.com/4.1 kirkstone/main armhf Packages
You can install it with the command:
root@stm32mp1:~# apt-get install perl-module-fcntl
Best regards,
--JM
2023-01-05 06:40 PM
Thank you for your help ~
2023-01-05 06:40 PM
Thank you for your help ~