Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

config_h.SHが無く、perlのbuild失敗

More than 5 years have passed since last update.

エラーメッセージ

./UU/extract: line 42: ./12:config_h.SH: No such file or directory

適用バージョン

  • 5.16.2
  • 5.21.2

では、事象を確認。
恐らく、バージョン関係なく発生するかと。

対策

原因は、よくわからないんだけれど…GREP_OPTIONSが影響しているよう。

エラーが出る
export GREP_OPTIONS="--color=auto -n"
エラーが出ない
export GREP_OPTIONS="--binary-files=without-match --color=auto"

エラーが出ないとしているけれども、これでもダメな環境があるかもしれない。
buildする時は、いっそGREP_OPTIONS=""的に空にしちゃうといいかもしれない。

おまけ:エラー周りひと通り

What extensions do you wish to load dynamically?
[B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd DB_File Data/Dumper Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File Opcode POSIX PerlIO/encoding PerlIO/mmap PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Tie/Hash/NamedCapture Time/HiRes Time/Piece Unicode/Collate Unicode/Normalize XS/APItest XS/Typemap arybase attributes mro re threads threads/shared]  
What extensions do you wish to load statically? [none]  


End of configuration questions.


Stripping down executable paths...

Creating config.sh...
Hmm...You had some extra variables I don't know about...I'll try to keep 'em...
    Propagating recommended variable $LANG...
    Propagating recommended variable $LC_ALL...
    Propagating recommended variable $malloc_cflags...
    Propagating recommended variable $perl_revision...
    Propagating recommended variable $perl_subversion...
    Propagating recommended variable $perl_version...

Doing variable substitutions on .SH files...
./UU/extract: line 42: ./12:config_h.SH: No such file or directory
Installation failure: sh Configure -Dprefix=/Users/rozary/.plenv/versions/5.16.2 -de -Dusedevel -A'eval:scriptdir=/Users/rozary/.plenv/versions/5.16.2/bin' at /Users/rozary/.plenv/plugins/perl-build/bin/../lib//Perl/Build.pm line 350.
ABORT
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away