【发布时间】:2011-08-27 11:21:36
【问题描述】:
我正在尝试在 debootstrap 环境中构建 node.js(可以认为是非常基本的 Debian 安装)。
当我打电话时:
make -f Makefile.cmake
这会导致以下错误:
Linking CXX executable default/node
CMakeFiles/node.dir/src/node_stdio.cc.o: In function `OpenPTY':
/home/node-v0.4.11/src/node_stdio.cc:261: undefined reference to `openpty'
collect2: ld returned 1 exit status
make[3]: *** [default/node] Error 1
make[3]: Leaving directory `/home/node-v0.4.11/build'
make[2]: *** [CMakeFiles/node.dir/all] Error 2
make[2]: Leaving directory `/home/node-v0.4.11/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/node-v0.4.11/build'
make: *** [package] Error 2
我找不到用于 openpty 的 Debian 软件包。如何构建它?
【问题讨论】: