M1Mac(Big Sur11.2)에서 노드를 선택합니다.개발 환경 준비
説明
[email protected] コメントHi,
What about OpenBSD support, is there any? I guess there's no issues about dependencies or anything - it should compile quite smooth, should it not?
I tried compiling by doing the following: - Cloning the repo - Editing build.sh row 26 from CPU_CORES=
grep -c ^processor /proc/cpuinfo
to CPU_CORES=4 . - Doing:export C_INCLUDE_PATH=/usr/X11R6/include/ export CPLUS_INCLUDE_PATH=/usr/X11R6/include/
sh build.sh
It gave the output below after ~30min of compilation. How fix?
Thanks!
g++ -c -pipe -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-sw│ itch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type│ -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -│ Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -ffunction-sect│ ions -fdata-sections -O3 -Wall -W -pthread -fPIC -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOT│ IF -DQT_NO_STYLE_PLASTIQUE -DBUILDING_WEBKIT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_Jav│ aScriptCore -DBUILDING_WTF -DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DEN│ ABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0 -DENABLE_FILE│ SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_ZLIB=1 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DEN│ ABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1 -DENABLE_INPUT_SPEECH=0 -DENABLE│ INSPECTOR=1 -DENABLE_3D_RENDERING=1 -DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0 -DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_ANIMATIO│ N_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_T│ ILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=0 -DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DENABLE_VIDEO=0 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_E│ XTENSION -DSQLITE_OMIT_COMPLETE -DBUILDING_JavaScriptCore -DBUILDING_WTF -DBUILDING_WEBKIT -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0 -DENABLE_NETSCAPE_PLUGIN_API=0 -DQT_NO_CAST│ TO_ASCII -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQ│ T_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../../../mkspecs/openbsd-g++ -I. -I../../../../../../include/QtCore -I../../../../../../incl│ ude/QtNetwork -I../../../../../../include/QtGui -I../../../../../../include -I../../JavaScriptCore -I../../../Source -I../../ThirdParty -I../../JavaScriptCore/assembler -I.│ ./../JavaScriptCore/bytecode -I../../JavaScriptCore/bytecompiler -I../../JavaScriptCore/heap -I../../JavaScriptCore/dfg -I../../JavaScriptCore/debugger -I../../JavaScriptCo│ re/interpreter -I../../JavaScriptCore/jit -I../../JavaScriptCore/parser -I../../JavaScriptCore/profiler -I../../JavaScriptCore/runtime -I../../JavaScriptCore/wtf -I../../Ja│ vaScriptCore/wtf/gobject -I/home/mb1/pdfprod/phantomjs/src/qt/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -I../../JavaScriptCore/wtf/unicode -I../../JavaScriptCor│ e/yarr -I../../JavaScriptCore/API -I../../JavaScriptCore/ForwardingHeaders -I../../JavaScriptCore/generated -I../../WebCore/bridge/qt -I../../WebCore/page/qt -I../../WebCor│ e/platform/graphics/qt -I../../WebCore/platform/network/qt -I../../WebCore/platform/qt -IApi -IWebCoreSupport -I../../WebCore -I../../WebCore/accessibility -I../../WebCore/│ bindings -I../../WebCore/bindings/generic -I../../WebCore/bridge -I../../WebCore/css -I../../WebCore/dom -I../../WebCore/dom/default -I../../WebCore/editing -I../../WebCore│ /fileapi -I../../WebCore/history -I../../WebCore/html -I../../WebCore/html/canvas -I../../WebCore/html/parser -I../../WebCore/html/shadow -I../../WebCore/inspector -I../../│ WebCore/loader -I../../WebCore/loader/appcache -I../../WebCore/loader/archive -I../../WebCore/loader/cache -I../../WebCore/loader/icon -I../../WebCore/mathml -I../../WebCor│ e/notifications -I../../WebCore/page -I../../WebCore/page/animation -I../../WebCore/platform -I../../WebCore/platform/animation -I../../WebCore/platform/audio -I../../WebCo│ re/platform/graphics -I../../WebCore/platform/graphics/filters -I../../WebCore/platform/graphics/filters/arm -I../../WebCore/platform/graphics/texmap -I../../WebCore/platfo│ rm/graphics/transforms -I../../WebCore/platform/image-decoders -I../../WebCore/platform/leveldb -I../../WebCore/platform/mock -I../../WebCore/platform/network -I../../WebCo│ re/platform/sql -I../../WebCore/platform/text -I../../WebCore/platform/text/transcoder -I../../WebCore/plugins -I../../WebCore/rendering -I../../WebCore/rendering/mathml -I│ ../../WebCore/rendering/style -I../../WebCore/rendering/svg -I../../WebCore/storage -I../../WebCore/svg -I../../WebCore/svg/animation -I../../WebCore/svg/graphics -I../../W│ ebCore/svg/graphics/filters -I../../WebCore/svg/properties -I../../WebCore/testing -I../../WebCore/webaudio -I../../WebCore/websockets -I/home/mb1/pdfprod/phantomjs/src/qt/│ src/3rdparty/webkit/Source/WebCore/wml -I../../WebCore/workers -I../../WebCore/xml -I../../WebCore/bridge/jsc -I../../WebCore/bindings/js -I/home/mb1/pdfprod/phantomjs/src/│ qt/src/3rdparty/webkit/Source/WebCore/bindings/js/specialization -I../../WebCore/bridge/c -I../../WebCore/testing/js -I../../WebCore/generated -I../../JavaScriptCore -I../.│ ./../Source -I../../ThirdParty -I../../JavaScriptCore/assembler -I../../JavaScriptCore/bytecode -I../../JavaScriptCore/bytecompiler -I../../JavaScriptCore/heap -I../../Java│ ScriptCore/dfg -I../../JavaScriptCore/debugger -I../../JavaScriptCore/interpreter -I../../JavaScriptCore/jit -I../../JavaScriptCore/parser -I../../JavaScriptCore/profiler -│ I../../JavaScriptCore/runtime -I../../JavaScriptCore/wtf -I../../JavaScriptCore/wtf/gobject -I/home/mb1/pdfprod/phantomjs/src/qt/src/3rdparty/webkit/Source/JavaScriptCore/w│ tf/symbian -I../../JavaScriptCore/wtf/unicode -I../../JavaScriptCore/yarr -I../../JavaScriptCore/API -I../../JavaScriptCore/ForwardingHeaders -I../../JavaScriptCore/generat│ ed -I../../../Source -I../../../include -I/include/QtWebKit -I/include -I../../../Source -I../../../include -I/include/QtWebKit -I/include -I../../../Source -I../../../incl│ ude -I../include/QtWebKit -I../include -I../../../../zlib -I../../../../sqlite -I../../../../../../include/QtWebKit -I.rcc/release-static -I.moc/release-static -I/usr/local│ /include -o .obj/release-static/HandleHeap.o ../../JavaScriptCore/heap/HandleHeap.cpp │ In file included from ../../JavaScriptCore/wtf/OwnPtr.h:25:0, │ from ../../JavaScriptCore/wtf/VectorTraits.h:24, │ from ../../JavaScriptCore/wtf/Vector.h:29, │ from ../../JavaScriptCore/wtf/BlockStack.h:30, │ from ../../JavaScriptCore/heap/HandleHeap.h:29, │ from ../../JavaScriptCore/heap/HandleHeap.cpp:27: │ ../../JavaScriptCore/wtf/NullPtr.h:48:1: warning: identifier 'nullptr' will become a keyword in C++0x [-Wc++0x-compat] │ ../../JavaScriptCore/heap/MachineStackMarker.cpp: In function 'size_t JSC::getPlatformThreadRegisters(pthread* const&, pthread_attr&)': │ ../../JavaScriptCore/heap/MachineStackMarker.cpp:384:46: error: 'pthread_attr_get_np' was not declared in this scope │ _* Error code 1 │ Stop in /home/mb1/pdfprod/phantomjs/src/qt/src/3rdparty/webkit/Source/WebKit/qt: │ Exit status 1 (.obj/release-static/MachineStackMarker.o, line 19627 of Makefile.WebKit.QtWebKit) │ * Error code 2 │ Stop in /home/mb1/pdfprod/phantomjs/src/qt/src/3rdparty/webkit/Source: │ Exit status 2 (sub-WebKit-qt-QtWebKit-pro-make_default-ordered, line 39 of Makefile.WebKit) │ ** Error code 2 │ Stop in /home/mb1/pdfprod/phantomjs/src/qt: │ Exit status 2 (sub-webkit-make_default-ordered, line 335 of Makefile) │ build.sh[94]: src/qt/bin/qmake: not found
免責事項
この問題は、2013 - 03 - 15でGoogle Codeのプロジェクトの元課題追跡から移行しました.Issue #996 .
Star 2 : 2人が移住時にこの問題を主演させました.
ディスカッション #1
[email protected] コメントI haven't tried it, but you may be able to port the FreeBSD package[1] into an OpenBSD package without too much effort. At a quick glance OpenBSD already has ports for the required packages (webkit,qt4,..)
[1] http://portsmon.freebsd.org/portoverview.py?category=lang&portname=phantomjs
ディスカッション #2
@mprinsは、FreeBSDポートをインポートするのはかなり難しいでしょう.OpenBSDのportsシステムは全く異なります.デフォルトのビルド(少なくとも1.9)では、簡単ではないようですQTTからPhantomjsビルドを切り離す方法.これは常にPHOTOTOJS/src/Qt/libのものが含まれます.
何か行方不明ですか.
ディスカッション #3
私はopenBSDでphonetomjsをビルドできました.https://github.com/ariya/phantomjs/pull/11787そして、ポートコレクションに追加するポートに取り組んでいます.一方、AMD 64 OpenBSDで働くバイナリが必要なら、ここで見てください.
- 5.4http://codigo23.net/openbsd/5.4/binaries/amd64/
-最新のスナップショットです.http://codigo23.net/openbsd/snapshots/binaries/amd64/
そして、誰かがI 386のためにそれを必要とするならば、私に尋ねてください、そして、私も彼らを造ることができました.
ディスカッション #4
Phantomjs公式ポートのための上流のOpenBSDバグがありますか?ディスカッション #5
以下はOpenBSDのportsメーリングリストのスレッドです.http://marc.info/?t=138556572400001&r=1&w=2そこにポートの更新されたバージョンが表示されます(まだポートツリーに追加されていません).
ディスカッション #6
そして、ここにあります.http://www.openbsd.org/cgi-bin/cvsweb/ports/www/phantomjs/次のスナップショットには、いくつかのビルド済みパッケージもあります( i 386およびamd 64 archs用)
ディスカッション #7
ナイスジョブ:)ディスカッション #8
最新のOpenBSDスナップショットのバイナリパッケージは、正規のOpenBSD FTPとHTTPサーバでAMD 64とI 386用に今すぐ入手できます.ディスカッション #9
我々の非常に限られたメンテナンス容量(詳細については、14541を参照)のために、我々は他のタスクに我々の開発フォーカスを優先する必要があります.したがって、この問題は自動的に閉じられます.将来的には、私たちが再びこの問題に出席する必要性を見るならば、それは再開されるでしょう.ありがとうございました!
Reference
이 문제에 관하여(M1Mac(Big Sur11.2)에서 노드를 선택합니다.개발 환경 준비), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://zenn.dev/minamik/articles/ffa509540ac632텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)