OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: telemetric_au on May 25, 2007, 11:18:53 pm

Title: Perl And Perl.h ?
Post by: telemetric_au on May 25, 2007, 11:18:53 pm
im trying to compile imagemagick and it fails requiring perl.h , now it doesnt seem to come with the perl 5.8.5 ipk in the beta1 feed, why would this be ??

so ive been trying to compile a fresh downlaod source of perl natively without much luck, failing about 50% of the make test step...

is there any easier way? do you think this is the only file missing ? can i copy it from my host computers perl ?

maybe my next step would be to try to cross compile perl...
Title: Perl And Perl.h ?
Post by: pelrun on May 26, 2007, 06:38:07 am
I hit this last year at some point on my 860, and I have a folder full of perl header files to show for it.

No guarantees whether they work or not - I can't remember how I built them, what they were for, or where they actually go. My 860 is now with a friend, so I can't even go back to check that.

I guess they go in /usr/include/perl or something...
Title: Perl And Perl.h ?
Post by: Capn_Fish on May 26, 2007, 12:34:35 pm
For future reference, i you just need the headers and no the compiled "development" libs (.a and .la?), you can just DL the source for the lib and put the headers in /usr/include. Perl installs in an odd place, though, so it won't be that simple in this case.
Title: Perl And Perl.h ?
Post by: pelrun on May 26, 2007, 06:38:53 pm
IIRC Perl generates it's header files during the compilation; they aren't just easily extractable from the source tarball.
Title: Perl And Perl.h ?
Post by: Capn_Fish on May 26, 2007, 07:51:25 pm
Not having compiled Perl before, I wouldn't know that, so thanks for pointing that out.
Title: Perl And Perl.h ?
Post by: telemetric_au on May 27, 2007, 03:36:20 am
Quote
IIRC Perl generates it's header files during the compilation; they aren't just easily extractable from the source tarball.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162102\"][{POST_SNAPBACK}][/a][/div]


does this mean the .tar.gz offered above of perl headers would by system or architecture specific ?? im going to try it any way, but would be good to know for thoroughness
Title: Perl And Perl.h ?
Post by: pelrun on May 27, 2007, 09:05:53 am
They're worth a shot; the worst they can do is not work.
Title: Perl And Perl.h ?
Post by: telemetric_au on May 28, 2007, 01:59:18 am
Quote
I hit this last year at some point on my 860, and I have a folder full of perl header files to show for it.

No guarantees whether they work or not - I can't remember how I built them, what they were for, or where they actually go. My 860 is now with a friend, so I can't even go back to check that.

I guess they go in /usr/include/perl or something...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162074\"][{POST_SNAPBACK}][/a][/div]


the headers worked, and imagemagick / perlmagick compiled well !!

though i side note, your tar.gz is mildy fissured, as gives error apon extraction, though im not sure it it affects any of the files...:
Code: [Select]
sh-3.00# tar xf perlheader.tar.gz

gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
sh-3.00#