While trying to emerge motor-3.4.0 I ran into the following problem c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kkstrtext -I../../kkconsui/include -I../../kksystr/include -I../../intl -I../../src/ui/ncurses -I../../src/debugger -I../../src/executor -I../../src/project - I../../src -I../../parser/include -I../../src/ui -I../../src/configuration -I../../src/tagbrowser -O2 - pipe -c motordebugger.cc In file included from /usr/include/gcc/darwin/4.0/c++/backward/strstream:51, from motordebugger.cc:10: /usr/include/gcc/darwin/4.0/c++/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. motordebugger.cc:22:20: error: sys/vt.h: No such file or directory c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kkstrtext -I../../kkconsui/include -I../../kksystr/include -I../../intl -I../../src/ui/ncurses -I../../src/debugger -I../../src/executor -I../../src/project - I../../src -I../../parser/include -I../../src/ui -I../../src/configuration -I../../src/tagbrowser -O2 - pipe -c stackitem.cc motordebugger.cc: In member function 'bool motor::motordebugger::getfreeterm()': motordebugger.cc:67: error: 'VT_OPENQRY' was not declared in this scope motordebugger.cc: In member function 'void motor::motordebugger::switchterm (motor::motordebugger::termswitchdirection)': motordebugger.cc:661: error: 'VT_ACTIVATE' was not declared in this scope motordebugger.cc:662: error: 'VT_WAITACTIVE' was not declared in this scope motordebugger.cc:668: error: 'VT_ACTIVATE' was not declared in this scope motordebugger.cc:669: error: 'VT_WAITACTIVE' was not declared in this scope make[3]: *** [motordebugger.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.3.0 Power Macintosh) =============================================================== == System uname: 8.3.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin8" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin8" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/ share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc aalib audiofile emboss exif expat gdbm gif gmp imagemagick jpeg lcms libwww lua mhash mng nls ogg opengl pcre png ppc-macos qt recode sdl slang svg tetex tiff truetype vorbis userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
mac os x has no console, and hence no VT_