[uClibc] uclibc and perl
Bennett Todd
bet at rahul.net
Thu Apr 22 15:02:30 UTC 2004
I dunno about that build env, I haven't used it.
I started with the chroot build env and bootstrapped myself a
standalone, software-packaging-based uClibc distro. I've got a perl
5.8.1 build in it, based on the attached spec file and config.sh.
Perhaps this may be helpful, I dunno.
It's been a while since I did this, memory is weak, but I'd be
guessing that the reason I have a separate config.sh is I must have
had to hand-edit it to get the build I wanted, or something.
-Bennett
-------------- next part --------------
pkg perl-5.8.1
url http://www.cpan.org/src/perl-5.8.1.tar.gz
config.sh
build \
tar xzf perl-5.8.1.tar.gz
cd perl-5.8.1
cp ../config.sh .
sh ./Configure -der -Dprefix=/usr -Dinstallprefix=$BPM_ROOT/usr
make
./perl installperl --destdir=$BPM_ROOT
cd $BPM_ROOT
(
find . -name Config.pm -o -name .packlist
find usr/bin|xargs file|./usr/bin/perl -lne 'print $1 if m#^([^:]+): .*'$BPM_ROOT'##'
) | xargs ./usr/bin/perl -pi -le 's#'$BPM_ROOT'##'
find $BPM_ROOT -type f|xargs file|grep 'ELF.*executable'|sed 's/:.*$//'|xargs strip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.sh
Type: application/x-sh
Size: 23570 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20040422/79e448e4/attachment.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20040422/79e448e4/attachment-0002.pgp
More information about the uClibc
mailing list