Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't locate SgmlSupport.pm #36

Closed
honza opened this issue Oct 14, 2020 · 1 comment
Closed

Can't locate SgmlSupport.pm #36

honza opened this issue Oct 14, 2020 · 1 comment

Comments

@honza
Copy link

honza commented Oct 14, 2020

$ git clone https://github.com/jhellingman/tei2html
$ cd tei2html/tools
$ perl tei2html.pl
Can't locate SgmlSupport.pm in @INC (you may need to install the SgmlSupport module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at tei2html.pl line 14.
BEGIN failed--compilation aborted at tei2html.pl line 14.

Why isn't Perl loading the file from the current directory?

@jhellingman
Copy link
Owner

For the perl question: https://stackoverflow.com/questions/46549671/doesnt-perl-include-current-directory-in-inc-by-default

To get it to work, you can copy the files in /tools ending in .pm to your local perl installation, \perl\site\lib

Jeroen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants