проблема сборки 1.1.6 с --enable-unicode

Started by user318, December 03, 2011, 11:25:18 PM

Previous topic - Next topic

user318

Делаю:
./configure --prefix=/opt/netxms --with-agent --enable-unicode
make

Получаю:
...
make[3]: Entering directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src/libnetxms'
  CXX    agent.lo
  CXX    array.lo
  CXX    base64.lo
  CXX    crypto.lo
  CC     gen_uuid.lo
  CXX    config.lo
  CXX    geolocation.lo
crypto.cpp: In function 'RSA* LoadRSAKeys(const wchar_t*)':
crypto.cpp:476: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
  CXX    dload.lo
config.cpp: In member function 'bool Config::loadConfigDirectory(const wchar_t*, const wchar_t*)':
config.cpp:1086: error: 'DIRW' was not declared in this scope
config.cpp:1086: error: 'dir' was not declared in this scope
config.cpp:1091: error: 'wopendir' was not declared in this scope
config.cpp:1097: error: 'wreaddir' was not declared in this scope
config.cpp:1101: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1101: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1104: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1110: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1114: error: 'wclosedir' was not declared in this scope
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
make[3]: *** [config.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
geolocation.cpp:239:1: error: converting to execution character set: Invalid or incomplete multibyte or wide character
geolocation.cpp: In member function 'void GeoLocation::posToString(bool, double)':
geolocation.cpp:189: error: converting to execution character set: Invalid or incomplete multibyte or wide character
geolocation.cpp: In static member function 'static double GeoLocation::parse(const wchar_t*, bool, bool*)':
geolocation.cpp:215: error: converting to execution character set: Invalid or incomplete multibyte or wide character
geolocation.cpp:215: error: converting to execution character set: Invalid or incomplete multibyte or wide character
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
make[3]: *** [geolocation.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src'
...

Система gentoo.

Так же заметил, что если в параметрах указать --disable-unicode, то это воспринимается как --enable-unicode.

Victor Kirhenshtein

Unicode build dlja Linux esche ne dodelan. Ja planiruju k 1.2.0 ego dodelat'.