私はMacOSX10.7.4を使用しています。robotskirt
またはをインストールしようとするとnode-discount
、間違ったアーキテクチャエラーが発生します。例:
[1/2] cxx: src/markdown.cc -> build/Release/src/markdown_1.o
[2/2] cxx_link: build/Release/src/markdown_1.o -> build/Release/markdown.node
ld: warning: ignoring file ./libmarkdown.a, file was built for archive which is not the architecture being linked (i386)
Waf: Leaving directory `/Users/jong/node_modules/discount/build'
'build' finished successfully (2.639s)
discount@0.2.3 node_modules/discount
そしてrobotskirt:
[1/7] cc: src/markdown.c -> build/Release/src/markdown_1.o
[2/7] cc: src/array.c -> build/Release/src/array_1.o
[3/7] cc: src/buffer.c -> build/Release/src/buffer_1.o
[4/7] cc: src/html.c -> build/Release/src/html_1.o
[5/7] cxx: src/robotskirt.cc -> build/Release/src/robotskirt_2.o
[6/7] cxx_link: build/Release/src/robotskirt_2.o build/Release/src/markdown_1.o build/Release/src/array_1.o build/Release/src/buffer_1.o build/Release/src/html_1.o -> build/Release/robotskirt.node
[7/7] cc_link: build/Release/src/markdown_1.o build/Release/src/array_1.o build/Release/src/buffer_1.o build/Release/src/html_1.o -> build/Release/libsundown.dylib
ld: warning: ignoring file Release/src/markdown_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/array_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/buffer_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/html_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/markdown_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/array_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/buffer_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file Release/src/html_1.o, file was built for unsupported file format which is not the architecture being linked (i386)
Waf: Leaving directory `/Users/jong/node_modules/robotskirt/build'
'build' finished successfully (0.406s)
robotskirt@0.2.5 node_modules/robotskirt
私にはCコンパイラの問題のように見えますが、それについては何も知りません。私が開いたチケット:https ://github.com/benmills/robotskirt/issues/20#issuecomment-6794474、https : //github.com/visionmedia/node-discount/issues/20。
誰かが私がこれを修正する方法、または私がこの問題を解決する方法を知っていますか?