On Android, set TMPDIR before calling configure
authorBrian Fraser <fraserbn@gmail.com>
Fri, 1 Aug 2014 19:48:30 +0000 (21:48 +0200)
committerKaren Etheridge <ether@cpan.org>
Tue, 5 Aug 2014 01:22:36 +0000 (18:22 -0700)
commita4c097db91f7152e3b8b9499c410bc183a254bde
tree449d322906cb0fa6c8de8965a77e1c2ab8fa1a9f
parent3764fc15d19e30f90504e1efee541619fbd6c2ef
On Android, set TMPDIR before calling configure

The full explanation for this is here:
http://stackoverflow.com/questions/15283220/android-shell-eof

In short, Android's sh has a bug in that writing

cat <<EOF
...
EOF

will try creating a temporary file in /sqlite_stmt_journals,
which may or may not exist, and may or may not be writeable
by the current user.
So instead do the right thing and set TMPDIR to whatever the
current File::Spec->tmpdir returns.
perl/Makefile.PL