help with installing glib



sorry for double posting. bad subject line initially.


I am a novice at gtk and I am trying to install it onto my linux machine (fedora2). I have added the 
following packages:
-pkg-config
-GNU make
-JPEG, TIFF
-FreeType
-fontconfig
-GNU libiconv library
-GNU gettext
-Glib 2.4.6
 
The problem I am having is that every time I try to ./configure the pango 1.4.1, I keep getting this error: 
GLIB 2.4.0 or better is required. But I just downloaded glib 2.4.6. How do I get rid of glib2.4.0 and make it 
detect glib 2.4.2? Any suggestions. I am fairly new and stuck. 






-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org]On Behalf Of
gtk-app-devel-list-request gnome org
Sent: Wednesday, September 15, 2004 4:50 PM
To: gtk-app-devel-list gnome org
Subject: gtk-app-devel-list Digest, Vol 5, Issue 32


Send gtk-app-devel-list mailing list submissions to
        gtk-app-devel-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
or, via email, send a message with subject or body 'help' to
        gtk-app-devel-list-request gnome org

You can reach the person managing the list at
        gtk-app-devel-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-app-devel-list digest..."


Today's Topics:

   1. Re: g_type_check_instance_cast segfault with entries
      (Tristan Van Berkom)
   2. FileChooser Save mode broken in GTK 2.4.9 (Allin Cottrell)
   3. Re: FileChooser Save mode broken in GTK 2.4.9 (Matthias Clasen)
   4. Re: problems while compiling gtk with MSVC (Hubert Sokolowski)
   5. Re: g_type_check_instance_cast segfault with entries (snagg)
   6. Drag and drop drag-motion (GTK+ 1.2) (Oliver Elphick)
   7. Re: atk compiled using msvc6 (Tor Lillqvist)
   8. Re: atk compiled using msvc6 (Hubert Sokolowski)
   9. GtkRange value_changed meaning... (Carlos Savoretti)
  10. RE: Welcome to the "gtk-app-devel-list" mailing list (Digest
      mode) (Patel, Nilesh M)


----------------------------------------------------------------------

Message: 1
Date: Wed, 15 Sep 2004 10:23:16 -0400
From: Tristan Van Berkom <vantr touchtunes com>
Subject: Re: g_type_check_instance_cast segfault with entries
To: snagg <snagg openssl it>
Cc: gtk-app-devel-list gnome org
Message-ID: <41485054 4050309 touchtunes com>
Content-Type: text/plain; charset=us-ascii; format=flowed

snagg wrote:
[...]
for(i = 0 ; list[i] != NULL; i++){

   temp = gtk_editable_get_chars (GTK_EDITABLE (list[i]),0,-1);

   snprintf(tmp,2056,"  list[%d]=\"%s\";\n",i , temp);

It segfaults with this message:

Program received signal SIGSEGV, Segmentation fault.
0x4041ecdc in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0
(gdb)
(gdb) bt
#0  0x4041ecdc in g_type_check_instance_cast () 
from /usr/lib/libgobject-2.0.so.0
#1  0x0804c227 in list_comp () at ged.c:104 --> the fuction wich take entries

     `g_type_check_instance_cast()' is invoked in the macro `GTK_EDITABLE()'
So I'm pretty sure that `list[i]' is invalid. Is it possible that list[i]
is uninitialized on one of the passes ? (did you forget to mark the last
element in list; i.e. `list[n] = NULL;' ?).

Cheers,
                                  -Tristan



------------------------------

Message: 2
Date: Wed, 15 Sep 2004 10:18:18 -0400 (EDT)
From: Allin Cottrell <cottrell wfu edu>
Subject: FileChooser Save mode broken in GTK 2.4.9
To: gtk-app-devel-list gnome org
Message-ID: <Pine LNX 4 61 0409151012381 15573 ricardo ecn wfu edu>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Can anyone tell me if this is already taken care of?  If not, I'll 
file in bugzilla.

In gtk 2.4.9, if you type a filename into the top widget of the 
FileChooser then click "Save", the file is not saved, but rather -- it 
takes a while to spot this -- the second, directory widget is advanced 
so that the first subdirectory is selected.

If you fail to spot this and click Save again, the file saved is not

somedir/myfile

as expected, but

somedir/first_subdir/myfile

I'm not sure when the regression occurred, but Save works fine in gtk 
2.4.3.

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC


------------------------------

Message: 3
Date: Wed, 15 Sep 2004 10:29:21 -0400
From: Matthias Clasen <mclasen redhat com>
Subject: Re: FileChooser Save mode broken in GTK 2.4.9
To: gtk-app-devel-list gnome org
Message-ID: <1095258561 12713 234 camel golem boston redhat com>
Content-Type: text/plain

On Wed, 2004-09-15 at 10:18, Allin Cottrell wrote:
Can anyone tell me if this is already taken care of?  If not, I'll 
file in bugzilla.

In gtk 2.4.9, if you type a filename into the top widget of the 
FileChooser then click "Save", the file is not saved, but rather -- it 
takes a while to spot this -- the second, directory widget is advanced 
so that the first subdirectory is selected.

If you fail to spot this and click Save again, the file saved is not

somedir/myfile

as expected, but

somedir/first_subdir/myfile

I'm not sure when the regression occurred, but Save works fine in gtk 
2.4.3.


I have a patch for that which will hopefully appear in cvs soon.



------------------------------

Message: 4
Date: Wed, 15 Sep 2004 16:45:05 +0200
From: Hubert Sokolowski <h sokolowski wsisiz edu pl>
Subject: Re: problems while compiling gtk with MSVC
To: gtk-app-devel-list gnome org
Message-ID: <20040915164505 2049dbca h sokolowski wsisiz edu pl>
Content-Type: text/plain; charset=US-ASCII


Hi!

I have finally compiled gtk wiht all dependiences using MSVC6. dll files
seems to take less space, but I haven't yet tried them in a program. I
will make some tests and if it will run faster then Tor's runtime it
will be available for download. I did it during my job so please don't
tell my boss about it ;).



------------------------------

Message: 5
Date: Wed, 15 Sep 2004 14:49:35 +0000
From: snagg <snagg openssl it>
Subject: Re: g_type_check_instance_cast segfault with entries
To: Tristan Van Berkom <vantr touchtunes com>
Cc: gtk-app-devel-list gnome org
Message-ID: <200409151449 40200 snagg openssl it>
Content-Type: Text/Plain;  charset="iso-8859-1"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


     `g_type_check_instance_cast()' is invoked in the macro
`GTK_EDITABLE()' So I'm pretty sure that `list[i]' is invalid. Is it
possible that list[i] is uninitialized on one of the passes ? (did you
forget to mark the last element in list; i.e. `list[n] = NULL;' ?).
In the first function (the one which takes entries) I've done it :
  entry[i] = NULL;

I also checked if entry[0] was valid and if entry[i] was null.And here I found 
a really strange thing:
(gdb) print i
$1 = 0
(gdb) print list[i]
$2 = (GtkWidget *) 0x80f970c
(gdb) print list[1]
$3 = (GtkWidget *) 0x0  --> THIS
(gdb) print list[2]
$4 = (GtkWidget *) 0xbfffc038
(gdb) print list[3]
$5 = (GtkWidget *) 0x40331955
(gdb) print list[4]
$6 = (GtkWidget *) 0x80f970c
(gdb) print list[5]
$7 = (GtkWidget *) 0x0
(gdb)

The entries in this case were 4 but I don't know why the list[i] is NULL . 
Howevere the segfault occurs before checking list[1]. So I really don't know 
what can I do


Cheers,
                                  -Tristan
Tnx , Cheers 
- -- 
You can download my public key from :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xAF03412D


Per me si va tra la perduta gente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQCVAwUBQUhWg8RZnwcjHpecAQKw2AP+MKR6Ll3ottB3EXyu/VWp9QqFik+pIYGF
69gQYG0nBkwrkLr6jpjaZf/eu8ML4TBt4d5UC1TaTvWJZdnsDqinQ+Fi7jhYOn8r
sfiuaxjP2EROA6STtx99m5D1EdVX8A5CLvr+vhJEnTZYPhYp2FG3f26o0VYb126Z
A2evgzNilY8=
=QJkZ
-----END PGP SIGNATURE-----


------------------------------

Message: 6
Date: Wed, 15 Sep 2004 17:20:51 +0100
From: Oliver Elphick <olly lfix co uk>
Subject: Drag and drop drag-motion (GTK+ 1.2)
To: gtk-app-devel-list gnome org
Message-ID: <1095265251 21855 169 camel linda>
Content-Type: text/plain

I'm trying to do drag across a set of GtkEntry fields.  I call
gtk_drag_source_set() and gtk_drag_dest_set() on each field and attach
signals drag-begin drag-end drag-motion and drag-leave.  (I don't use
drag-drop because I want each field to be changed as soon as the pointer
enters it.)

I detect the signals drag-begin and drag-end in the source widget, but I
see no drag-motion or drag-leave events at all.

What do I need to do to get signals emitted on the fields as the pointer
passes through them?

It is not really possible to show code, because this is being programmed
in an Eiffel wrapper, rather than directly in C.  But if there is an
example that works in C, I will be able to see how to change the wrapper
to make it work.

-- 
Oliver Elphick                                          olly lfix co uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
     "The fool hath said in his heart, There is no God..."  
                                Psalm 14:1 



------------------------------

Message: 7
Date: Wed, 15 Sep 2004 18:46:22 +0000
From: Tor Lillqvist <tml iki fi>
Subject: Re: atk compiled using msvc6
To: Hubert Sokolowski <h sokolowski wsisiz edu pl>
Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
Message-ID: <16712 36350 441000 532028 gargle gargle HOWL>
Content-Type: text/plain; charset=us-ascii

Tor Lillqvist <tml iki fi> wrote:
I don't understand how you can get it to be just 45 kB size?

Hubert Sokolowski writes:
I don't know and I didn't test it. here is gzipped dll
http://huamisoft.com/atk-2.0-0.dll.gz

If you check with link -dump -exports you will see that that DLL
doesn't export any entry points... Did you forget to pass the .def
file to the compiler (linker)? As to its size, are you sure you
compiled all of atk's source files, also the generated ones?

--tml




------------------------------

Message: 8
Date: Wed, 15 Sep 2004 20:31:18 +0200
From: Hubert Sokolowski <h sokolowski wsisiz edu pl>
Subject: Re: atk compiled using msvc6
To: Tor Lillqvist <tml iki fi>
Cc: gtk-app-devel-list gnome org
Message-ID: <20040915203118 45c7a6ab h sokolowski wsisiz edu pl>
Content-Type: text/plain; charset=US-ASCII

On Wed, 15 Sep 2004 18:46:22 +0000
Tor Lillqvist <tml iki fi> wrote:

 > Tor Lillqvist <tml iki fi> wrote:
 > > I don't understand how you can get it to be just 45 kB size?

Hubert Sokolowski writes:
 > I don't know and I didn't test it. here is gzipped dll
 > http://huamisoft.com/atk-2.0-0.dll.gz

If you check with link -dump -exports you will see that that DLL
doesn't export any entry points... Did you forget to pass the .def
file to the compiler (linker)? As to its size, are you sure you
compiled all of atk's source files, also the generated ones?
I am sorry, you are right. I forget about the def file. 
Later I compiled it with def file passed to linker, but didn't check its
size, should be bigger then 45k. But gtk-win32 dll compiled properly
with def file and all source files has about 2.3MB. still better in
space. I will check my runtimes with my program tomorrow and tell about
the feelings.

-- 
Hubert Sokolowski



------------------------------

Message: 9
Date: 15 Sep 2004 17:44:07 -0300
From: Carlos Savoretti <csavoretti clubsanjorge com ar>
Subject: GtkRange value_changed meaning...
To: Gtk Mailing List <gtk-app-devel-list gnome org>
Message-ID: <1095281047 1093 12 camel einstein>
Content-Type: text/plain

Hi all,

I need to catch when the vertical scrollbar from scrolledwindow

reach the max. value, it is the ending bottom. So I'm trying doing

the following:

1) Firstly set a convenient range of just one page varying from 0-1000

with:

          gtk_range_set_increments(GTK_RANGE(
                 GTK_SCROLLED_WINDOW(scrolledwindow1)->vscrollbar),
                 1.0,
                 1000.0);
         gtk_range_set_range(GTK_RANGE(
                 GTK_SCROLLED_WINDOW(scrolledwindow1)->vscrollbar),
                 0.0,
                 1000.0);

2) Then handle the "value-changed" :

         g_signal_connect((gpointer)
                 GTK_RANGE(
                 GTK_SCROLLED_WINDOW(scrolledwindow1)->vscrollbar),
                 "value_changed",
                 G_CALLBACK(on_scrolledwindow_vscrollbar_value_changed),
                 (gpointer)ddc_data);

Inside the callback I use:

       gdouble value = gtk_range_get_value(range);

But this `value' seems arbitrary to me because have no relation with the

disired limits set above.

Any clue ?

A lot of thanks.


Carlos Savoretti
csavoretti clubsanjorge com ar
...



------------------------------

Message: 10
Date: Wed, 15 Sep 2004 16:48:18 -0400
From: "Patel, Nilesh M" <Nilesh M Patel questdiagnostics com>
Subject: RE: Welcome to the "gtk-app-devel-list" mailing list (Digest
        mode)
To: gtk-app-devel-list gnome org
Message-ID:
        <D3A481AC7F0A9F4D93199726B27492EAA9B40B tbrws0030 us qdx com>
Content-Type: text/plain; charset=iso-8859-1

I am a novice at gtk and I am trying to install it onto my linux machine (fedora2). I have added the 
following packages:
-pkg-config
-GNU make
-JPEG, TIFF
-FreeType
-fontconfig
-GNU libiconv library
-GNU gettext
-Glib 2.4.6
 
The problem I am having is that every time I try to ./configure the pango 1.4.1, I keep getting this error: 
GLIB 2.4.0 or better is required. But I just downloaded glib 2.4.6. How do I get rid of glib2.4.0 and make it 
detect glib 2.4.2? Any suggestions. I am fairly new and stuck. 







-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org]On Behalf Of
gtk-app-devel-list-request gnome org
Sent: Wednesday, September 15, 2004 4:38 PM
To: Patel, Nilesh M
Subject: Welcome to the "gtk-app-devel-list" mailing list (Digest mode)


Welcome to the gtk-app-devel-list gnome org mailing list!

To post to this list, send your email to:

  gtk-app-devel-list gnome org

General information about the mailing list is at:

  http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://mail.gnome.org/mailman/options/gtk-app-devel-list/nilesh.m.patel%40questdiagnostics.com


You can also make such adjustments via email by sending a message to:

  gtk-app-devel-list-request gnome org

with the word `help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including changing
the password, itself) or to unsubscribe.  It is:

  bhanu416

Normally, Mailman will remind you of your gnome.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.


==============================================================================
The contents of this message, together with any attachments, are intended only for the use of the person(s) 
to which they are addressed and may contain confidential and/or privileged information. Further, any medical 
information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, 
review, copy, disclose, or disseminate confidential medical information. If you are not the intended 
recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or 
copying of this message, or any attachment, is prohibited.
==============================================================================



------------------------------

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


End of gtk-app-devel-list Digest, Vol 5, Issue 32
*************************************************


==============================================================================
The contents of this message, together with any attachments, are intended only for the use of the person(s) 
to which they are addressed and may contain confidential and/or privileged information. Further, any medical 
information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, 
review, copy, disclose, or disseminate confidential medical information. If you are not the intended 
recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or 
copying of this message, or any attachment, is prohibited.
==============================================================================




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