-
Notifications
You must be signed in to change notification settings - Fork 19
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
inline::c 0.75 fails to write Makefile.PL #46
Comments
Suggestions given on perlmonks yesterday included upgrading File::ShareDir::Install to the latest version and upgrading ExtUtils::MakeMaker to 7.04. Cheers, |
Hello Rob, [root@sma Inline-C-0.75]# wget http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Inline-C-0.75.tar.gz So tried to install from cpan - same result: CPAN.pm: Going to build I/IN/INGY/Inline-C-0.75.tar.gz syntax error at Makefile.PL line 13, near "install_share dist" On Jun 26, 2015, at 6:41 PM, sisyphus <notifications@github.commailto:notifications@github.com> wrote: Suggestions given on perlmonks yesterday included upgrading File::ShareDir::Install to the latest version and upgrading ExtUtils::MakeMaker to 7.04. Cheers, — |
From: dankowitz
The only way I can generate the error you're seeing is to comment out line use File::ShareDir::Install; I then get: syntax error at Makefile.PL line 13, near "install_share dist" I don't suppose you've somehow managed to get a broken Makefile.PL that Cheers, |
It's going to be difficult for me to work out what has gone awry here - since I don't have a perl that replicates the behaviour. I've just downloaded 5.12.4 source so I can build that version of perl, and perhaps replicate the problem. But if I can't reproduce the behaviour then I've got bugger-all chance of being able to provide a solution. Cheers, |
No problems for me installing Inline-C-0.75 on perl-5.12.4 on Windows 8 && Ubuntu-14.04. The OP might also like to give us the output of "perl -V" in case there's something telling in that. Cheers, |
Is this still failing or can it be closed? |
I’m trying to install modules Inline::C and Pegex into a Perl 5 version 12 installation.
And the same error occurs:
syntax error at Makefile.PL line 13, near "install_share dist"
BEGIN not safe after errors--compilation aborted at Makefile.PL line 86.
Warning: No success on command[/usr/local/bin/perl Makefile.PL PREFIX=/usr/local/lib/perl5/5.12.4]
INGY/Inline-C-0.75.tar.gz
/usr/local/bin/perl Makefile.PL PREFIX=/usr/local/lib/perl5/5.12.4 -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
INGY/Inline-C-0.75.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL PREFIX=/usr/local/lib/perl5/5.12.4' returned status 65280
Here’s what the Makefile.PL looks like at point of failure:
use File::ShareDir::Install;
$File::ShareDir::Install::INCLUDE_DOTFILES = 1;
$File::ShareDir::Install::INCLUDE_DOTDIRS = 1;
install_share dist => "share"; <<<<< line 13
The other pre-reqs are installed, along with File::ShareDir::Install (version 0.10)
What can I do to solve or get around this???
Thanks for ANY suggestions!
The text was updated successfully, but these errors were encountered: