--> The error: /Users/gustavopichorimboiko/src/kde4/kdelibs/kpty/kpty.cpp: In member function 'bool KPty::open()': /Users/gustavopichorimboiko/src/kde4/kdelibs/kpty/kpty.cpp:222: error: 'PTM_DEVICE' was not declared in this scope make[2]: *** [kpty/CMakeFiles/kpty.dir/kpty.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [kpty/CMakeFiles/kpty.dir/all] Error 2 make: *** [all] Error 2 --> config-pty.h /* Defined to the path of the PTY multiplexer device, if any */ /* #undef PTM_DEVICE "" */ /* #undef HAVE_GETPT 1 */ #define HAVE_GRANTPT 1 /* #undef HAVE_OPENPTY 1 */ #define HAVE_PTSNAME 1 #define HAVE_REVOKE 1 #define HAVE_UNLOCKPT 1 /* #undef HAVE_UTEMPTER 1 */ /* #undef HAVE__GETPTY 1 */ /* #undef HAVE_LIBUTIL_H 1 */ #define HAVE_UTIL_H 1 /* #undef HAVE_PTY_H 1 */ #define HAVE_TERMIOS_H 1 /* #undef HAVE_TERMIO_H 1 */ /* #undef HAVE_SYS_STROPTS_H 1 */ #define HAVE_SYS_FILIO_H 1 /* * Steven Schultz tells us : * BSD/OS 4.2 doesn't have a prototype for openpty in its system header files */ #ifdef __bsdi__ __BEGIN_DECLS int openpty(int *, int *, char *, struct termios *, struct winsize *); __END_DECLS #endif