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 5.12.2 cross-compile fail @ "xconfig.h : error: invalid preprocessing directive ..." #10651
Comments
From pgngw+dev001+perl5-porters@f-m.fmhi, i'm working on a port & cross-compiled build (for openwrt backfire i've started with the existing package for perl 5.10.x from the repo. i'm stuck at a fail of "build target miniperl binary" in some, not all, of the generated #defines seem wrong; not yet clear why. all i can say, atm, is that the following just gets me as far as I get svn co svn://svn.openwrt.org/openwrt/branches/backfire openwrt_backfire Target System (Atheros AR71xx/AR7240/AR913x) ---> ./scripts/feeds update ### MAKE PATCH FAILURE: " ... read-only; refusing to patch" vi scripts/patch-kernel.sh make menuconfig # [FIXED] BUG: https://bugzilla.novell.com/show_bug.cgi?id=640700 rm package/perl512/patches/* ## FAIL ... ... Doing variable substitutions on .SH files... ===> Stage 4: Build target miniperl binary install -m 0644 i've posted the generated 'xconfig.h' @ http://pastebin.com/8iv6Sbtz note that @ each of the id'd error line_nos, the #define looks wrong. ... # # looking at other instances in the file, I suspect (?) it should be 774 #define I_SYS_POLL /**/ or 774 /*#define I_SYS_POLL / **/ not 774 # I_SYS_POLL /**/ fwiw, the install of exiting 5.10.x packages from the repo ends up with otoh, a cross-compile build of perl 5.10.x from the repos works well. 5.12.2 clearly has some differences ... any help is appreciated. |
From @obraOn Tue 21.Sep'10 at 12:27:00 -0700, pgngw+dev001+perl5-porters@f-m.fm wrote:
Thanks very much for the writeup so far. To the best of my knowledge, I would love to be proven wrong / have my statements become outdated. -jesse |
The RT System itself - Status changed from 'new' to 'open' |
From dev001p5p@f-m.fmhi, ( this reply _may_ come out of order; as perl.org's ezmlm is,
just a little context -- for the vast majority of native-environment cases, this is, of course, for perl-on-embedded devices, e.g. all the off-the-shelf the problem manifests itself, e.g.: on openwrt, it currently ships with the ideal solution is to get newer perl , e.g. 5.12.2, built in the i hear your "currently unworkably bitrotten", though, & hope there's |
Any progress since year 2010? I am asking because I am trying to crosscompile it in gentoo, and receive the error:
|
It's likely that the overwhelming majority of readers of this list, myself included, have never cross-compiled perl. I read in
Which of these two approaches have you been attempting? Thank you very much. |
Hi, I came across this issue too:
This # GENTOO_LIBDIRS "" /**/ should actually be # define GENTOO_LIBDIRS "" /**/ so it seems that there is an issue in the rendering of the |
Migrated from rt.perl.org#77972 (status was 'open')
Searchable as RT77972$
The text was updated successfully, but these errors were encountered: