LoginSignup
1
1

More than 5 years have passed since last update.

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

Posted at

エラーメッセージ

./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
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1