Skip to content

Instantly share code, notes, and snippets.

@jacoby
Created July 3, 2017 18:52
Show Gist options
  • Save jacoby/1e7d01a9edd681ef46e58eb88e050d71 to your computer and use it in GitHub Desktop.
Save jacoby/1e7d01a9edd681ef46e58eb88e050d71 to your computer and use it in GitHub Desktop.
errors trying to get workable IO::Pty installed in WSL
cpan[1]> upgrade IO::Pty
Reading '/home/jacoby/.local/share/.cpan/Metadata'
Database was generated on Mon, 03 Jul 2017 16:41:02 GMT
Package namespace installed latest in CPAN file
IO::Pty 1.08 1.12 TODDR/IO-Tty-1.12.tar.gz
Running install for module 'IO::Pty'
Checksum for /home/jacoby/.local/share/.cpan/sources/authors/id/T/TO/TODDR/IO-Tty-1.12.tar.gz ok
Scanning cache /home/jacoby/.local/share/.cpan/build for sizes
............................................................................DONE
Configuring T/TO/TODDR/IO-Tty-1.12.tar.gz with Makefile.PL
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
ERROR: cannot run the configured compiler 'x86_64-linux-gnu-gcc'
(see conf/compilerok.log). Suggestions:
1) The compiler 'x86_64-linux-gnu-gcc' is not in your PATH. Add it
to the PATH and try again. OR
2) The compiler isn't installed on your system. Install it. OR
3) You only have a different compiler installed (e.g. 'gcc').
Either fix the compiler config in the perl Config.pm
or install a perl that was built with the right compiler
(you could build perl yourself with the available compiler).
Note: this is a system-administration issue, please ask your local
admin for help. Thank you.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
TODDR/IO-Tty-1.12.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Failed during this command:
TODDR/IO-Tty-1.12.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 6400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment