|
Re: Re: compiling perl: msg#00162lib.uclibc.general
Hi, first sorry for late response (i was out of the office) and many thanks for your patch. i can compile now but got on error while running make test. do you have an idea about this failure ? Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- op/groups.t 2 1 50.00% 1 51 tests and 426 subtests skipped. Failed 1/712 test scripts, 99.86% okay. 1/67912 subtests failed, 100.00% okay. regards claus > Claus Rosenberger wrote: >> There is a error while compiling perl in a buildroot sandbox. > > I don't have a fix for that, but this appears to work for me: > > Download the latest spin of root_fs with uClibc 0.9.19. > (Eric, do you mind adding a revision number of some sorts to these > images?) > > Then do something like this: > > mount -o loop root_fs-i386 /mnt/soekrisdev/ > mount --bind /dev /mnt/soekrisdev/dev > mount --bind /proc /mnt/soekrisdev/proc > mount --bind /usr/src/scratch /mnt/soekrisdev/usr/src/scratch/ > mount --bind /usr/src/linux-2.4.21-pre5-ac1-soekris/ > /mnt/soekrisdev/usr/src/linux > > 1. chroot /mnt/soekrisdev > 2. cd /usr/src/scratch > 3. build perl > unpack source > patch source (attached, I haven't tried w/o patch on latest > uClibc. > nor do I know if the patch breaks anything.... :-) > rm -f config.sh Policy.sh > ./Configure -Doptimize='-Os -march=i486' -Dcc=gcc -Dprefix=/opt/perl > -Darchlib='/opt/perl/lib/5.8.0/i386-linux' -Darchname='i386-linux' > -Dmyarchname='i386-linux' -de > > Perhaps add -Uusemymalloc as well. I haven't tried. > > make > make test > make install > > Then copy whatever you need from /opt/perl to your target fs. > Enjoy. > > Dag B |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cross compile gcc for mipsel: 00162, Bruno Randolf |
|---|---|
| Next by Date: | uclibc Debian: 00162, Justin Cormack |
| Previous by Thread: | Re: compiling perli: 00162, Dag Bakke |
| Next by Thread: | Re: compiling perl: 00162, Dag Bakke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |