- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an opensource library I use quite often (it++). Up until this point, I have had no problems compiling using the intel compilers. However, I just upgraded to 10.1.006, and now when I try to run the configure script, I get the error
'Catastrophic error: could not set locale "" to allow processing of multibyte characters'. The lines from the configure log of interest are:
If I switch back to 10.0.020, the configure script works fine. I am at a loss here, as I have never seen an error like this. Any ideas on how to fix it?
'Catastrophic error: could not set locale "" to allow processing of multibyte characters'. The lines from the configure log of interest are:
configure:2830: $? = 0
configure:2853: checking for C++ compiler default output file name
configure:2880: icpc conftest.cpp >&5
Catastrophic error: could not set locale "" to allow processing of multibyte characters
compilation aborted for conftest.cpp (code 4)
configure:2883: $? = 4
configure:2921: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "IT++"
| #define PACKAGE_TARNAME "itpp"
| #define PACKAGE_VERSION "4.1-dev"
| #define PACKAGE_STRING "IT++ 4.1-dev"
| #define PACKAGE_BUGREPORT "xxxx@users.sourceforge.net"
| #define PACKAGE "itpp"
| #define VERSION "4.1-dev"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2928: error: C++ compiler cannot create executables
If I switch back to 10.0.020, the configure script works fine. I am at a loss here, as I have never seen an error like this. Any ideas on how to fix it?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it is a bug and is being worked on. If there's a work around, I'll post it to here soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There're two workarounds for this problem.
1. add this option to your compile options "-no-multibyte-chars".
2. build the program as normal user instead of ROOT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
madjljiang-
Thanks for the information. I'll give #1 a try, and report back.
As for option 2, it isn't a fix, as I am trying to build as a normal user in the first place.
-Mark
Thanks for the information. I'll give #1 a try, and report back.
As for option 2, it isn't a fix, as I am trying to build as a normal user in the first place.
-Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm experiencing the same error with GSL, a GNU library. Thank god I found this fix.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page