Author Topic: Perl And Perl.h ?  (Read 2906 times)

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Perl And Perl.h ?
« 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...
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Perl And Perl.h ?
« Reply #1 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...
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Perl And Perl.h ?
« Reply #2 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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Perl And Perl.h ?
« Reply #3 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.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Perl And Perl.h ?
« Reply #4 on: May 26, 2007, 07:51:25 pm »
Not having compiled Perl before, I wouldn't know that, so thanks for pointing that out.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Perl And Perl.h ?
« Reply #5 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
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Perl And Perl.h ?
« Reply #6 on: May 27, 2007, 09:05:53 am »
They're worth a shot; the worst they can do is not work.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Perl And Perl.h ?
« Reply #7 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#


 
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site