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

Unable to cross-compile perl with perl-cross #16736

Open
p5pRT opened this issue Oct 26, 2018 · 4 comments
Open

Unable to cross-compile perl with perl-cross #16736

p5pRT opened this issue Oct 26, 2018 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 26, 2018

Migrated from rt.perl.org#133621 (status was 'open')

Searchable as RT133621$

@p5pRT
Copy link
Author

p5pRT commented Oct 26, 2018

From prakashnet@outlook.com

Hi ,

Observerd a error in perl module (perl-5.28.0)while cross compiling with perlcross-1.2.Kindly help me on this.

Generating a Unix-style Makefile
Writing Makefile for Errno
gmake -C ext/Errno/ all PERL_CORE=1 LIBPERL=libperl.a
gmake[1]​: Entering directory `/home/praksoma/praksoma/smbuild_ws/finsbury_park_main/888/switch/third-party/src/perl/perl-5.28.0/ext/Errno'
"../../miniperl_top" "-I../../lib" Errno_pm.PL Errno.pm
Cannot exec $cpp at Errno_pm.PL line 250.
gmake[1]​: *** [Errno.pm] Error 2
gmake[1]​: Leaving directory `/home/praksoma/praksoma/smbuild_ws/finsbury_park_main/888/switch/third-party/src/perl/perl-5.28.0/ext/Errno'
gmake​: *** [ext/Errno/pm_to_blib] Error 2
ERROR​: gmake failed

Thanks & Regards

Prakash S

@p5pRT
Copy link
Author

p5pRT commented Oct 26, 2018

From @jkeenan

On Fri, 26 Oct 2018 12​:12​:57 GMT, prakashnet@​outlook.com wrote​:

Hi ,

Observerd a error in perl module (perl-5.28.0)while cross compiling
with perlcross-1.2.Kindly help me on this.

Generating a Unix-style Makefile
Writing Makefile for Errno
gmake -C ext/Errno/ all PERL_CORE=1 LIBPERL=libperl.a
gmake[1]​: Entering directory
`/home/praksoma/praksoma/smbuild_ws/finsbury_park_main/888/switch/third-
party/src/perl/perl-5.28.0/ext/Errno'
"../../miniperl_top" "-I../../lib" Errno_pm.PL Errno.pm
Cannot exec $cpp at Errno_pm.PL line 250.
gmake[1]​: *** [Errno.pm] Error 2
gmake[1]​: Leaving directory
`/home/praksoma/praksoma/smbuild_ws/finsbury_park_main/888/switch/third-
party/src/perl/perl-5.28.0/ext/Errno'
gmake​: *** [ext/Errno/pm_to_blib] Error 2
ERROR​: gmake failed

Thanks & Regards

Prakash S

By 'perlcross', do you mean this?

https://gitlab.com/arsv/perl-cross

If so, creating an issue at that project's Issues page would be a better way to start to address your problem. 'perl-cross' is not a technology for which the Perl 5 Porters provide support. (As a matter of fact, I myself never heard of it before now.)

When you do file that bug report, please be certain to include (a) descriptions of the operating system you are working on and your cross-compilation target; and (b) what you are actually trying to accomplish.

Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

@p5pRT
Copy link
Author

p5pRT commented Oct 26, 2018

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Oct 29, 2018

From prakashnet@outlook.com

Hi James,

--> Compiling perl-5.28.0 with perlcross-1.2

Details regarding my compilation,

Operating system : Linux

Cross-compilation target : i686-wrs501-linux-gnu-gcc

Already 5.26.2 version is there in software stack so now i am updating a newer one that is perl-5.28.0.

For earlier version it seems fine but for perl-5.28.0 error is occurring in the below line.Kindly guide me on this.

perl-5.28.0/ext/Errno/Errno_pm.PL ---> line no 250

Cannot exec $cpp

Thanks & Regards

Prakash S

________________________________
From​: James E Keenan via RT <perlbug-followup@​perl.org>
Sent​: Friday, October 26, 2018 6​:31​:42 AM
To​: prakashnet@​outlook.com
Subject​: [perl #133621] PERL BUG

On Fri, 26 Oct 2018 12​:12​:57 GMT, prakashnet@​outlook.com wrote​:

Hi ,

Observerd a error in perl module (perl-5.28.0)while cross compiling
with perlcross-1.2.Kindly help me on this.

Generating a Unix-style Makefile
Writing Makefile for Errno
gmake -C ext/Errno/ all PERL_CORE=1 LIBPERL=libperl.a
gmake[1]​: Entering directory
`/home/praksoma/praksoma/smbuild_ws/finsbury_park_main/888/switch/third-
party/src/perl/perl-5.28.0/ext/Errno'
"../../miniperl_top" "-I../../lib" Errno_pm.PL Errno.pm
Cannot exec $cpp at Errno_pm.PL line 250.
gmake[1]​: *** [Errno.pm] Error 2
gmake[1]​: Leaving directory
`/home/praksoma/praksoma/smbuild_ws/finsbury_park_main/888/switch/third-
party/src/perl/perl-5.28.0/ext/Errno'
gmake​: *** [ext/Errno/pm_to_blib] Error 2
ERROR​: gmake failed

Thanks & Regards

Prakash S

By 'perlcross', do you mean this?

https://gitlab.com/arsv/perl-cross

If so, creating an issue at that project's Issues page would be a better way to start to address your problem. 'perl-cross' is not a technology for which the Perl 5 Porters provide support. (As a matter of fact, I myself never heard of it before now.)

When you do file that bug report, please be certain to include (a) descriptions of the operating system you are working on and your cross-compilation target; and (b) what you are actually trying to accomplish.

Thank you very much.

--
James E Keenan (jkeenan@​cpan.org)

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