{"action":"closed","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/12955","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/12955/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/12955/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/12955/events","html_url":"https://github.com/ariya/phantomjs/issues/12955","id":56619409,"number":12955,"title":"phantomjs-2.0.0 build failed ","user":{"login":"tigerfz","id":10827318,"avatar_url":"https://avatars.githubusercontent.com/u/10827318?v=3","gravatar_id":"","url":"https://api.github.com/users/tigerfz","html_url":"https://github.com/tigerfz","followers_url":"https://api.github.com/users/tigerfz/followers","following_url":"https://api.github.com/users/tigerfz/following{/other_user}","gists_url":"https://api.github.com/users/tigerfz/gists{/gist_id}","starred_url":"https://api.github.com/users/tigerfz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tigerfz/subscriptions","organizations_url":"https://api.github.com/users/tigerfz/orgs","repos_url":"https://api.github.com/users/tigerfz/repos","events_url":"https://api.github.com/users/tigerfz/events{/privacy}","received_events_url":"https://api.github.com/users/tigerfz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-05T02:36:25Z","updated_at":"2016-01-26T06:11:52Z","closed_at":"2016-01-26T06:11:51Z","body":"I build the phantomjs-2.0.0 on linux and falied. The OS information is 'Linux version 2.6.32-220.7.1.el6.x86_64,gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) '\r\n\r\nThe error information is as follows:\r\nnux-g++ -I. -o avx2.o avx2.cpp\r\ncc1plus: 错误：无法识别的命令行选项“-mavx2”\r\ngmake: *** [avx2.o] 错误 1\r\navx2 disabled.\r\nPOSIX iconv auto-detection... ()\r\ng++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o iconv.o iconv.cpp\r\ng++ -Wl,-O1 -o iconv iconv.o    \r\niconv.o: In function `main':\r\niconv.cpp:(.text+0x10): undefined reference to `libiconv_open'\r\niconv.cpp:(.text+0x2d): undefined reference to `libiconv'\r\niconv.cpp:(.text+0x35): undefined reference to `libiconv_close'\r\ncollect2: ld 返回 1\r\ngmake: *** [iconv] 错误 1\r\nPOSIX iconv disabled.\r\nSUN libiconv auto-detection... ()\r\ng++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o gnu-libiconv.o ../gnu-libiconv/gnu-libiconv.cpp\r\n../gnu-libiconv/gnu-libiconv.cpp: In function ‘int main(int, char**)’:\r\n../gnu-libiconv/gnu-libiconv.cpp:54: 错误：从类型‘const char**’到类型‘char**’的转换无效\r\n../gnu-libiconv/gnu-libiconv.cpp:54: 错误：  初始化‘size_t libiconv(void*, char**, size_t*, char**, size_t*)’的实参 2\r\ngmake: *** [gnu-libiconv.o] 错误 1\r\nSUN libiconv disabled.\r\nGNU libiconv auto-detection... ()\r\ng++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o gnu-libiconv.o gnu-libiconv.cpp\r\ngnu-libiconv.cpp: In function ‘int main(int, char**)’:\r\ngnu-libiconv.cpp:54: Error：从类型‘const char**’到类型‘char**’的转换无效\r\ngnu-libiconv.cpp:54: Error：  初始化‘size_t libiconv(void*, char**, size_t*, char**, size_t*)’的实参 2\r\ngmake: *** [gnu-libiconv.o] 错误 1\r\nGNU libiconv disabled.\r\nICU auto-detection... ()\r\ng++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o icu.o icu.cpp\r\nicu.cpp:42:28: Error：unicode/utypes.h：No such file or directory\r\nicu.cpp:43:26: Error：unicode/ucol.h：No such file or directory\r\nicu.cpp:44:29: Error：unicode/ustring.h：No such file or directory\r\nicu.cpp: In function ‘int main(int, char**)’:\r\nicu.cpp:48: Error：‘UErrorCode’No such file or directory\r\n\r\nICU disabled.\r\nThe ICU library support cannot be enabled.\r\n Turn on verbose messaging (-v) to /home/zhangfeihu/experiment/phantomjs-2.0.0/src/qt/qtbase/configure to see the final report.\r\n If you believe this message is in error you may use the continue\r\n switch (-continue) to /home/zhangfeihu/experiment/phantomjs-2.0.0/src/qt/qtbase/configure to continue."}}