我试过了 1)emerge nodejs
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?
2)从Linux Binaries nodejs下载(尝试32位和64位)
bin # ./node
Exception en point flottant
3)来自代码来源:
Waf: Leaving directory `/node-v0.4.10/build'
Build failed: -> task failed (err #1):
{task: cxx_link node_main_4.o,node_4.o,node_buffer_4.o,node_javascript_4.o,node_extensions_4.o,node_http_parser_4.o,node_net_4.o,node_io_watcher_4.o,node_constants_4.o,node_cares_4.o,node_events_4.o,node_file_4.o,node_signal_watcher_4.o,node_stat_watcher_4.o,node_timer_4.o,node_script_4.o,node_os_4.o,node_dtrace_4.o,node_string_4.o,node_stdio_4.o,node_child_process_4.o,platform_linux_4.o,node_crypto_4.o,eio_1.o,http_parser_2.o,ev_1.o,ares_strcasecmp_1.o,ares_free_string_1.o,ares_options_1.o,ares_send_1.o,ares_parse_txt_reply_1.o,ares_parse_ptr_reply_1.o,ares_nowarn_1.o,ares_search_1.o,ares_gethostbyname_1.o,ares_getsock_1.o,ares__timeval_1.o,inet_ntop_1.o,ares_parse_a_reply_1.o,ares_getopt_1.o,ares__close_sockets_1.o,ares_expand_string_1.o,ares_destroy_1.o,ares_cancel_1.o,ares_parse_aaaa_reply_1.o,ares_parse_ns_reply_1.o,ares_version_1.o,ares__get_hostent_1.o,ares_writev_1.o,ares_expand_name_1.o,ares_free_hostent_1.o,ares_parse_mx_reply_1.o,ares_gethostbyaddr_1.o,ares_llist_1.o,ares_data_1.o,ares_init_1.o,ares_fds_1.o,inet_net_pton_1.o,ares_strerror_1.o,bitncmp_1.o,ares_getnameinfo_1.o,ares_library_init_1.o,ares_mkquery_1.o,ares_process_1.o,windows_port_1.o,ares_parse_srv_reply_1.o,ares_query_1.o,ares_timeout_1.o,ares__read_line_1.o,ares_strdup_1.o -> node}
make: *** [program] Erreur 1
我还能尝试什么? 有没有准备好为gentoo 64位预编译?
问候
答案 0 :(得分:0)
如果您收到有关未设置ARCH的错误,则在尝试安装更多软件包之前,确实需要先解决它。
那么,你当前的盒子维护得有多好? 至少,看看以下是否有帮助: a)选择配置文件列表,eselect配置文件集 b)确保您对/etc/make.conf的自定义设置在该文件中,并且内容看起来正确 c)emerge --sync
我猜你的portage树不同步,并且通过emerge --sync更新它是真正的问题。但是,如果您已经过时了,那么您将需要解决其他问题以使该框最新。 Gentoo系统应该至少每年更新一次,最好每月更新一次。
否则,就node.js而言: 0.10.21是树中的最新稳定版,继续并通过选择要安装的软件包重试。
emerge -v = net-libs / nodejs-0.10.21