簡體   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