Mercurial > hg > control-images
comparison images/lfs-bootstrap/mnt/build/perl.sh @ 6:dc3d5c66e336
The perl build is crazy, and if you have a /bin/mips it tries to run it to see if it's building on an obsolete OS called "mips" rather than Linux. Except that util-linux-ng does a mips alias for setarch, which runs /bin/sh by default if given no arguments, which sits there awaiting input, and the build hangs. Fix: feed it /dev/null.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 17 Sep 2011 00:53:33 -0500 |
parents | bcd2e358d57f |
children |
comparison
equal
deleted
inserted
replaced
5:73ab228e8da3 | 6:dc3d5c66e336 |
---|---|
16 -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ | 16 -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ |
17 -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ | 17 -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ |
18 cpan/Compress-Raw-Zlib/config.in && | 18 cpan/Compress-Raw-Zlib/config.in && |
19 ./Configure -des -Dprefix=/usr -Dvendorprefix=/usr \ | 19 ./Configure -des -Dprefix=/usr -Dvendorprefix=/usr \ |
20 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \ | 20 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \ |
21 -Dpager="/usr/bin/less -is" -Duseshrplib -Dusenm=n && | 21 -Dpager="/usr/bin/less -is" -Duseshrplib -Dusenm=n < /dev/null && |
22 make -j $CPUS || exit 1 | 22 make -j $CPUS || exit 1 |
23 | 23 |
24 if [ ! -z "$CHECK" ] | 24 if [ ! -z "$CHECK" ] |
25 then | 25 then |
26 make test || exit 1 | 26 make test || exit 1 |