Re: 2.0 and solaris 7 anyone gotten it to compile?
- From: Dave Reed <dreed capital edu>
- To: otaylor redhat com
- Cc: watson ultra demon co uk, gtk-list gnome org
- Subject: Re: 2.0 and solaris 7 anyone gotten it to compile?
- Date: Wed, 20 Mar 2002 17:16:44 -0500
> Cc: gtk-list gnome org
> From: Owen Taylor <otaylor redhat com>
> User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.1
> Content-Type: text/plain; charset=us-ascii
> Sender: gtk-list-admin gnome org
> X-BeenThere: gtk-list gnome org
> X-Loop: gtk-list gnome org
> X-Mailman-Version: 2.0.8
> Precedence: bulk
> List-Help: <mailto:gtk-list-request gnome org?subject=help>
> List-Post: <mailto:gtk-list gnome org>
> List-Subscribe: <http://mail.gnome.org/mailman/listinfo/gtk-list>,
> <mailto:gtk-list-request gnome org?subject=subscribe>
> List-Id: General discussion of GTK+ <gtk-list.gnome.org>
> List-Unsubscribe: <http://mail.gnome.org/mailman/listinfo/gtk-list>,
> <mailto:gtk-list-request gnome org?subject=unsubscribe>
> List-Archive: <http://mail.gnome.org/archives/gtk-list/>
> Date: Wed, 20 Mar 2002 10:28:34 -0500 (EST)
>
>
> Stephen Watson <watson ultra demon co uk> writes:
>
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0xfec508c4 in __icv_iconv () from /usr/lib/iconv/646%UTF-8.so
> > > (gdb) where
> > > #0 0xfec508c4 in __icv_iconv () from /usr/lib/iconv/646%UTF-8.so
> > > #1 0xfebc467c in iconv () from /usr/lib/libc.so.1
> > > #2 0xfec93994 in open_converter (to_codeset=0xfecd3618 "UTF-8",
> > > from_codeset=0x2738c "ASCII", error=0x0) at gconvert.c:361
> > > #3 0xfec93cec in g_convert (str=0xfec1ee36 "No such file or directory",
> > > len=-1, to_codeset=0x21b10 "", from_codeset=0x2738c "ASCII",
> > > bytes_read=0x0, bytes_written=0x0, error=0x0) at gconvert.c:491
> > > #4 0xfec947b8 in g_locale_to_utf8 (
> > > opsysstring=0xfec1ee36 "No such file or directory", len=-1,
> > > bytes_read=0x0, bytes_written=0x0, error=0x0) at gconvert.c:1040
> > > #5 0xfecc0cdc in g_strerror (errnum=2) at gstrfuncs.c:596
> > > #6 0xfec9c600 in g_dir_open (path=0x238e8 "//.gtk-2.0/2.0.0/immodules",
> > > flags=0, error=0x0) at gdir.c:76
> > > #7 0x111e8 in main (argc=0, argv=0x22290) at queryimmodules.c:142
> > > (gdb) The program is running. Exit anyway? (y or n) y
> >
> > After further investigation it seems that iconv() on Solaris 7 dumps core if
> > any parameter other than the 2nd (inbuf) is NULL.
>
> Yes, this is:
>
> http://bugzilla.gnome.org/show_bug.cgi?id=74336
>
> It seems like from what is being said here, that a patch to glib/glib/gconvert.c,
> which changed:
>
> /* reset the descriptor */
> g_iconv (cd, NULL, NULL, NULL, NULL);
>
> To:
>
> gchar *outbuf = NULL;
> gint inbytes_left = 0;
> gint outbytes_left = 0;
> g_iconv (cd, NULL, &inbytes_left, &outbuf, &outbytes_left);
>
> Might work. Or, you can use GNU libiconv when building GLib.
>
> Regards,
> Owen
>
This along with --disable-xkb got it to compile and at least testgtk
and gtk-demo seemed to work for me on Solaris 2.7.
The --disable-xkb was needed since the X header files seemed to be
messed up (at least on the Suns at my office - I'm not the admin). It
seems the one of the Xkb header files refers to another file that
doesn't exist (it does exist on the few Solaris 8 machines we have).
Dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]