~alpine/devel

Re: The make command encountered no permission error in version 3.14

jiaquanye@geiri.sgcc.com.cn <jiaquanye@geiri.sgcc.com.cn>
Details
Message ID
<202107131525348005181@geiri.sgcc.com.cn>
DKIM signature
missing
Download raw message
Sorry, I forgot to give you the details

The input command is:

sudo docker run -it alpine:3.14 sh
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
apk add --no-cache expat-dev make gcc g++ perl-dev 
echo -e "yes" | perl -MCPAN -e 'notest install XML::Parser'

Output results is:

  TODDR/XML-Parser-2.46.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/XML-Parser-2.46-0
  TODDR/XML-Parser-2.46.tar.gz
  Has already been prepared
Running make for T/TO/TODDR/XML-Parser-2.46.tar.gz
Warning: Prerequisite 'LWP::UserAgent => 0' for 'TODDR/XML-Parser-2.46.tar.gz' failed when processing 'OALDERS/libwww-perl-6.55.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
make: /bin/sh: Operation not permitted
make: *** [Makefile:428: blib/lib/XML/.exists] Error 127
  TODDR/XML-Parser-2.46.tar.gz


Output results in alpine:3.13 is:

Appending installation info to /usr/lib/perl5/core_perl/perllocal.pod
  TODDR/XML-Parser-2.46.tar.gz
  /usr/bin/make install  -- OK

Thank you



jiaquanye@geiri.sgcc.com.cn
Reply to thread Export thread (mbox)