Re: [gtk-list] Re: errors building 0.99.0 on Solaris 2.5.1



[Owen Taylor]

| Question: do you get a message like:
| 
|   Checking for <wchar.h> or <wcstr.h> ... no

Nope, it says

  checking for <wchar.h> or <wcstr.h>... yes

|  when you run configure, or did you run configure with the
|  --with-locale=LANG option set to something that your OS doesn't
|  support. (like no_NO ????)

I ran configure just the way I said in my previous mail -- that is,
one time with no arguments at all, and one time with "--x-includes"
and "--x-libraries".

|  Is mbtowc (for example) defined in any header files?

Yes, I believe <stdlib.h> is the one:

  octarine$ find /usr/include -type f -print | xargs grep mbtowc
  /usr/include/sys/lc_core.h:     int     (*mbtowc) __((_LC_charmap_t *, wchar_t *
  , const char *,
  /usr/include/stdlib.h:extern int mbtowc(wchar_t *, const char *, size_t);
  /usr/include/stdlib.h:extern int mbtowc();

Additionally, I believe that this indicates that there _is_ a mbtowc
funtion in libc :

  octarine$ nm /usr/lib/libc.so | grep mbtowc
  [2580]  |    441564|    1460|FUNC |GLOB |0    |12     |__mbtowc_dense
  [2186]  |         0|       0|FILE |LOCL |0    |ABS    |__mbtowc_dense.c
  [3776]  |    447220|     592|FUNC |GLOB |0    |12     |__mbtowc_euc
  [2196]  |         0|       0|FILE |LOCL |0    |ABS    |__mbtowc_euc.c
  [2517]  |    440180|      92|FUNC |GLOB |0    |12     |__mbtowc_sb
  [2171]  |         0|       0|FILE |LOCL |0    |ABS    |__mbtowc_sb.c
  [460]   |    441252|      60|FUNC |LOCL |0    |12     |_mbtowc
  [3619]  |    441252|      60|FUNC |WEAK |0    |12     |mbtowc
  [2181]  |         0|       0|FILE |LOCL |0    |ABS    |mbtowc.c

| I'll try to figure out some way to support such situations, though
| it might take a while.

OK, if I get the time I'll try to make it work properly and submit a
patch.  Currently I'm quite baffled, and rather busy doing other stuff
as well.
-- 
Harald



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]