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

perl Makefile.PL fails with 'String found where operator expected at Makefile.PL line 58' #100

Closed
merkys opened this issue Jan 26, 2018 · 3 comments

Comments

@merkys
Copy link
Contributor

merkys commented Jan 26, 2018

I have downloaded ZIP of the release v0.11024 from GitHub, unpacked and executed the following command:

perl Makefile.PL PREFIX=/usr/local/install/sql-translator/sql-translator-0.11024

Execution resulted in the following output:

include /home/andrius/src/sql-translator-0.11024/inc/Module/Install.pm
String found where operator expected at Makefile.PL line 58, near "readme_from 'lib/SQL/Translator.pm'"
	(Do you need to predeclare readme_from?)
syntax error at Makefile.PL line 58, near "readme_from 'lib/SQL/Translator.pm'"
BEGIN not safe after errors--compilation aborted at Makefile.PL line 61.

After commenting out the line 58 in Makefile.PL (non-crucial, I suppose), I was able to proceed with the installation.

@borisdaeppen
Copy link

I have found the same error message with perl Makefile.PL in current master commit 1f74257

@ilmari
Copy link
Member

ilmari commented Mar 5, 2018

The tarball from GithHub is equivalent to a git checkout, and thus requires author dependencies to be installed, specifically Module::Install::ReadmeFromPod and Module::Install::AuthorTests.

I've made it explicitly list missing plugins in commit b43ba76.

@merkys
Copy link
Contributor Author

merkys commented Mar 15, 2018

Thanks, @ilmari!

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

3 participants