To enable serial port tests, use: perl Makefile.PL TESTPORT= where is a specific port or 'auto' to autodetect. Running ./configure ... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for library containing strerror... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/termiox.h usability... yes checking sys/termiox.h presence... yes checking for sys/termiox.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking sys/ttycom.h usability... no checking sys/ttycom.h presence... no checking for sys/ttycom.h... no checking sys/modem.h usability... yes checking sys/modem.h presence... yes checking for sys/modem.h... yes checking IOKit/serial/ioss.h usability... no checking IOKit/serial/ioss.h presence... no checking for IOKit/serial/ioss.h... no checking definition of _SC_CLK_TCK... found checking definition of TIOCMBIS... found checking definition of TIOCMBIC... found checking definition of TIOCMGET... found checking definition of CRTSCTS... missing checking definition of OCRNL... found checking definition of ONLCR... found checking definition of ECHOKE... found checking definition of ECHOCTL... found checking definition of TIOCM_CAR... found checking definition of TIOCM_CD... found checking definition of TIOCM_RNG... found checking definition of TIOCM_RI... found checking definition of TIOCM_CTS... found checking definition of TIOCM_DSR... found checking definition of TIOCMIWAIT... missing checking definition of TIOCGICOUNT... missing checking definition of TIOCINQ... missing checking definition of FIONREAD... found checking definition of TIOCOUTQ... missing checking definition of TIOCSER_TEMT... missing checking definition of TIOCM_LE... missing checking definition of TIOCSERGETLSR... missing checking definition of TIOCSDTR... missing checking definition of TIOCCDTR... missing checking definition of TIOCM_RTS... found checking definition of TIOCM_DTR... found checking definition of CTSXON... found checking definition of RTSXOFF... found checking definition of TCGETX... found checking definition of TCSETX... found checking definition of IOSSIOSPEED... missing checking definition of B0... found checking definition of B50... found checking definition of B75... found checking definition of B110... found checking definition of B134... found checking definition of B150... found checking definition of B200... found checking definition of B300... found checking definition of B600... found checking definition of B1200... found checking definition of B1800... found checking definition of B2400... found checking definition of B4800... found checking definition of B9600... found checking definition of B19200... found checking definition of B38400...