简体   繁体   English

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

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

I tried 1) emerge nodejs 我尝试了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) downloading from Linux Binaries nodejs (tried both 32 and 64bits) 2)从Linux Binaries nodejs下载(尝试32位和64位)

bin # ./node
Exception en point flottant

3) from code source: 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

What else could I try ? 我还能尝试什么? Is there a ready to go precompiled for gentoo 64 bits ? 是否准备好针对gentoo 64位进行预编译?

regards 问候

If you are getting the error about ARCH not being set, than you really need to resolve it first before attempting to install more packages. 如果遇到关于未设置ARCH的错误,那么在尝试安装更多软件包之前,您真的需要首先解决它。

So, how well maintained is your current box? 那么,您当前的盒子维护得如何? At a minimum, see if the following helps: a) eselect profile list, eselect profile set b) Make sure that your customizations to /etc/make.conf are in that file and the contents look correct. 至少请查看以下内容是否有帮助:a)e选择配置文件列表,eselect配置文件集b)确保对/etc/make.conf的自定义内容在该文件中,并且内容看起来正确。
c) emerge --sync c)出现--sync

I'm guessing your portage tree is out of sync and that updating it via emerge --sync is the real issue. 我猜您的portage树不同步,而通过emerge --sync更新它是真正的问题。 However, if you are so far out of date, you'll have other issues you'll need to address to bring the box current. 但是,如果您过时了,您将需要解决其他问题才能使包装箱保持最新。 Gentoo systems are supposed to be updated at least once/year at a minimum, preferably once/month. Gentoo系统应该至少每年至少更新一次,最好每月更新一次。

Otherwise, as far as node.js goes: 0.10.21 is the latest stable in the tree, go ahead and retry by selecting that package for install. 否则,就node.js而言:0.10.21是树中最新的稳定版本,请继续选择该软件包进行安装以重试。

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

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

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