lfex / dockerfiles

Dockerfiles for LFE based upon the official Erlang Docker images
Other
6 stars 3 forks source link

Tinycore build is failing with latest Erlang (19.1) #16

Closed oubiwann closed 8 years ago

oubiwann commented 8 years ago

Perl is not found, even though it's part of the install ...

Building Erlang/OTP 19.1 (19.1), please wait...
/usr/local/bin/kerl: line 1572: perl: not found
sh: bad number
Configure failed.
configure: running /bin/bash '/root/.kerl/builds/19.1/otp_src_19.1/lib/configure'
   --prefix=/usr/local 
   '--cache-file=/dev/null' 'ERL_TOP=/root/.kerl/builds/19.1/otp_src_19.1' 
  --cache-file=/dev/null --srcdir=/root/.kerl/builds/19.1/otp_src_19.1/lib
configure: creating ./config.status
configure: configuring in snmp/.
configure: running /bin/bash '/root/.kerl/builds/19.1/otp_src_19.1/lib/snmp/./configure' 
  --prefix=/usr/local  
  '--prefix=/usr/local' 'ERL_TOP=/root/.kerl/builds/19.1/otp_src_19.1'
   '--cache-file=/dev/null' '--srcdir=/root/.kerl/builds/19.1/otp_src_19.1/lib' 
  --cache-file=/dev/null --srcdir=/root/.kerl/builds/19.1/otp_src_19.1/lib/snmp/.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for perl... no_perl
configure: error: Perl is required to generate v2 to v1 mib converter script
configure: error: /bin/bash '/root/.kerl/builds/19.1/otp_src_19.1/lib/snmp/./configure' failed for snmp/.
configure: error: /bin/bash '/root/.kerl/builds/19.1/otp_src_19.1/lib/configure' failed for lib

Please see /root/.kerl/builds/19.1/otp_build_19.1.log for full details.
The command '/bin/sh -c kerl build $ERL_VERSION $ERL_VERSION' returned a non-zero code: 1
oubiwann commented 8 years ago

Huh:

$ docker run -i -t tatsushid/tinycore:6.3-x86 
/ $ perl
/bin/sh: perl: not found
/ $ perl5
/bin/sh: perl5: not found
/ $ tce-load -wic perl
Downloading: perl.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: perl.tcz.md5.txt: No such file or directory
Error on perl.tcz
oubiwann commented 8 years ago

Upgrading to the latest Tiny Core fixed this.