dk / Prima

prima.eu.org
Other
106 stars 27 forks source link

Facing Problem Installing prima in UBUNTU Can't locate Prima/sys/Gencls.pm in @inc (you may need to install the Prima::sys::Gencls module) #83

Closed faraziAnindo closed 1 year ago

faraziAnindo commented 1 year ago

perl Makefile.PL Can't locate Prima/sys/Gencls.pm in @INC (you may need to install the Prima::sys::Gencls module) (@INC contains: . /home/a/anaconda3/lib/perl5/5.32/site_perl /home/a/anaconda3/lib/perl5/site_perl /home/a/anaconda3/lib/perl5/5.32/vendor_perl /home/a/anaconda3/lib/perl5/vendor_perl /home/a/anaconda3/lib/perl5/5.32/core_perl /home/a/anaconda3/lib/perl5/core_perl) at Makefile.PL line 20. BEGIN failed--compilation aborted at Makefile.PL line 20.

faraziAnindo commented 1 year ago

@dk

dk commented 1 year ago

Is the file Prima/sys/Gencls.pm itself there? Are the permissions correct? Could you post ls -l Prima/sys/Gencls.pm? Are you running perl Makefile.PL from the distro directory?

faraziAnindo commented 1 year ago

Screenshot from 2023-02-25 14-41-10

here is the screenshot, where is the distro directory can you please elaborate it.

dk commented 1 year ago

This is not Prima problem. I suggest you follow a tutorial how to install a perl module on linux, f ex this https://www.ibm.com/docs/en/product-master/12.0.0?topic=perl-installing-modules or this https://ostechnix.com/how-to-install-perl-modules-on-linux/ .

faraziAnindo commented 1 year ago

Thanks i installed the perl module using sudo cpan

faraziAnindo commented 1 year ago

i installed the Prima::sys::Gencls module but it still showing the same problem when i run perl Makefile.PL. please help @dk