| 54 | | Can't proceed without libiconv. |
| 55 | | You will have to install libiconv by yourself. |
| 56 | | |
| 57 | | EOM |
| 58 | | |
| 59 | | # XXX - in the future, after we create Alien::Iconv, I want to say |
| 60 | | # the following instead: |
| 61 | | # You can either |
| 62 | | # (1) install Alien::Iconv (which will build iconv from source), or |
| 63 | | # (2) install libiconv by yourself by other means. |
| 64 | | #before proceeding. |
| 65 | | exit 0; |
| | 56 | MeCab requires libiconv to work properly. You can either |
| | 57 | (1) install it yourself by hand, or |
| | 58 | (2) install it via Alien::Iconv |
| | 59 | EOM |
| | 60 | |
| | 61 | my $yn = prompt("Would you like to add Alien::Iconv to prerequisite modules?", "y"); |
| | 62 | if ($yn !~ /^y(?:es)?$/) { |
| | 63 | print <<EOM; |
| | 64 | |
| | 65 | You chose not to install libiconv. Please install it manually and |
| | 66 | re-run perl Makefile.PL for Alien::MeCab. |
| | 67 | |
| | 68 | EOM |
| | 69 | exit 0; |
| | 70 | } |
| | 71 | |
| | 72 | $REQUIRES{ 'Alien::MeCab' } = '1.12001'; |