2014-12-07 42 views
0

我试图将我的ChucK Demos应用程序部署到Nodejitsu,但由于节点sass 1.2.3没有在其平台(SunOS)上编译而停滞不前。我能以某种方式解决这个问题吗?如何根据node-sass部署到nodejitsu?

错误看起来是这样的:

./src/libsass/json.cpp:159:18: error: conflicting declaration 'typedef uint32_t uchar_t' 
/usr/include/sys/types.h:98:23: error: 'uchar_t' has a previous declaration as 'typedef unsigned char uchar_t' 
../src/libsass/json.cpp: In function 'int utf8_write_char(uchar_t, char*)': 
../src/libsass/json.cpp:299:3: warning: comparison is always true due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp:299:3: warning: comparison is always false due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp:299:3: warning: comparison is always true due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp:305:25: warning: comparison is always true due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp:310:25: warning: comparison is always true due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp: In function 'void to_surrogate_pair(uchar_t, uint16_t*, uint16_t*)': 
../src/libsass/json.cpp:351:3: warning: comparison is always false due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp:351:3: warning: comparison is always true due to limited range of data type [-Wtype-limits] 
../src/libsass/json.cpp: In function 'void emit_string(SB*, const char*)': 
../src/libsass/json.cpp:1214:42: error: cannot convert 'uint32_t* {aka unsigned int*}' to 'uchar_t* {aka unsigned char*}' for argument '2' to 'int utf8_read_char(const char*, uchar_t*) 

回答

0

显然,节点萨斯不会对Nodejitsu在这个时间点上编译,因为GCC 4.6上安装Nodejitsu,而节点萨斯需要GCC 4.7+。