繁体   English   中英

如何在Gentoo基本系统1.6.14版上安装nodejs?

[英]How to install nodejs on Gentoo Base System version 1.6.14?

我尝试了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位进行预编译?

问候

如果遇到关于未设置ARCH的错误,那么在尝试安装更多软件包之前,您真的需要首先解决它。

那么,您当前的盒子维护得如何? 至少请查看以下内容是否有帮助:a)e选择配置文件列表,eselect配置文件集b)确保对/etc/make.conf的自定义内容在该文件中,并且内容看起来正确。
c)出现--sync

我猜您的portage树不同步,而通过emerge --sync更新它是真正的问题。 但是,如果您过时了,您将需要解决其他问题才能使包装箱保持最新。 Gentoo系统应该至少每年至少更新一次,最好每月更新一次。

否则,就node.js而言:0.10.21是树中最新的稳定版本,请继续选择该软件包进行安装以重试。

出现-v = net-libs / nodejs-0.10.21

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM