Re: Help installing GTK+-2.0 v 2.4.6

2004-08-24 Thread Valdis . Kletnieks
On Sat, 21 Aug 2004 18:08:39 EDT, Jeff Lane said:

 I am trying to get GTK+-2.0 installed on a Red Hat AS3 machine.

Is there a reason you're not using the RedHat-provided RPMs?

% cat /etc/issue
Red Hat Enterprise Linux ES release 3 (Taroon Update 2)
Kernel \r on an \m
% rpm -q pango pango-devel gtk2 gtk2-devel atk atk-devel glib2 glib2-devel
pango-1.2.5-2.0
pango-devel-1.2.5-2.0
gtk2-2.2.4-4.0
gtk2-devel-2.2.4-4.0
atk-1.2.4-3.0
atk-devel-1.2.4-3.0
glib2-2.2.3-2.0
glib2-devel-2.2.3-2.0
% 





pgplpHO0uSd5F.pgp
Description: PGP signature
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Help installing GTK+-2.0 v 2.4.6

2004-08-24 Thread Jeff Lane
On Tue, 24 Aug 2004 11:04:39 -0400, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 Is there a reason you're not using the RedHat-provided RPMs?

Sorry for nto getting back to this sooner...

yes... I was trying to compile the latest gtkpod which required
gtk+-2.0 v 2.4.0 or higher... and RH only provides up to 2.2.X
(IIRC I actually compiled and installed gtk+ 2.4.5)

I ended up using rpms from Mandrake and PLD.org to get the GTK
dependencies met, then compiled GTK+ 2.4.6, and went from there...

either way I got it all sorted out in the end...


-- 
-- Jeffrey Lane - W4KDH ---
  www.jefflane.org
Yet another IT Ronin

The internet has no government, no constitution, no laws, no
rights, no police, no courts.  Don't talk about fairness or
innocence, and don't talk about what should be done.  Instead,
talk about what is being done and what will be done by the
amorphous unreachable undefinable blob called the internet
user base. -Paul Vixie
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Help installing GTK+-2.0 v 2.4.6

2004-08-24 Thread David Necas (Yeti)
On Tue, Aug 24, 2004 at 01:32:55PM -0400, Jeff Lane wrote:
 
 yes... I was trying to compile the latest gtkpod which required
 gtk+-2.0 v 2.4.0 or higher... and RH only provides up to 2.2.X
 (IIRC I actually compiled and installed gtk+ 2.4.5)
 
 I ended up using rpms from Mandrake and PLD.org to get the GTK
 dependencies met, then compiled GTK+ 2.4.6, and went from there...

Building RPMs of Gtk+-2.Y (GLib, etc.) if you have RPM of
Gtk+-2.X for your RPM-based distro is usually extremely
simple.  Much simplier than the installation from sources
I see people trying -- and it doesn't lead to multiple
installed versions issues, broken rpm dependencies, etc.

1. install the .src.rpm from your distro, let's say
   gtk2-2.2.4-4.0.src.rpm
2. put the newer tarball into rpm SOURCES directory
3. edit SPECS/gtk2.spec file and change version from 2.2.4
   to 2.4.6
4. run rpmbuild -bb gtk2.spec

If you were lucky, you have a Gtk+-2.4.6 package now.  Next
time, only 2.-4. have to be repeated.

When 4. fails, then the `extremely simple' no longer
applies, however you can try:

- Review patches in the spec file, some might be obsoleted
  by the newer version, and eventually remove them
  (there are two lines for each, PatchN: ... specifying
  a patch file and %patchN ... actually applying it).

- Add relibtoolization (libtoolize --copy --force) to the
  begining of %build, before eventual automake and autoconf
  -- or remove them if present, as it breaks things as often
  as it fixes them due to all imaginable kinds of auto-mess...

  For example, since Gtk+-2.4.4 I had to start
  relibtoolizing on FC2, otherwise library names ended up
  broken.

Hope this helps, I always package new Gtk+ directly to RPMs
with little problems.

Yeti


--
Do not use tab characters. Their effect is not predictable.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Help installing GTK+-2.0 v 2.4.6

2004-08-22 Thread Ruben Safir Secretary NYLXS
Is the documentation for GTk wrong in the tutorials

It looks like this URL:

http://www.gtk.org/tutorial/sec-events.html has an error when describing
gint callback_func( GtkWidget *widget, GdkEvent  *event, gpointer   callback_data );

Shouldn't there be 4 parameters, including the callback function?


Ruben

-- 
__
Brooklyn Linux Solutions

So many immigrant groups have swept through our town 
that Brooklyn, like Atlantis, reaches mythological 
proportions in the mind of the world  - RI Safir 1998

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://fairuse.nylxs.com

http://www.mrbrklyn.com - Consulting
http://www.inns.net -- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from 
around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn

1-718-382-0585
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Help installing GTK+-2.0 v 2.4.6

2004-08-21 Thread Jeff Lane
Hello all,

I am trying to get GTK+-2.0 installed on a Red Hat AS3 machine.

I downloaded ATK, GTK+, glib, and pango from gtk.org and began the
installation process.

I ran through the configure, make and install of ATK and it worked
perfectly.  I then did glib-2.4.6.  That SEEMED to have gone well, but
I ran into problems when configuring pango.

running configure on pango errors when it gets to glib.  Originally,
it could not find glib at all... so I did this:

#export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:$PKG_CONFIG_PATH

and reran configure.  This time it got a bit further and complained
about finding the correct version numbers, but then finding glib
version 2.2.3 instead.  SO, I uninstalled 2.2.3 and reran pango
config.

This time, I get this error:

checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version = 2.4.0... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
[EMAIL PROTECTED] pango-1.4.1]#

I am not quite sure what to export to LD_LIBRARY_PATH, or what to add
or change to /etc/ld.so.conf to get pango to config.

pango is the last thign I need to start compiling gtk+-2... so could
someome please give me a whack with the cluestick and help me get
pango and gtk+-2 compiled and installed??

Thanks
Jeff
-- 
-- Jeffrey Lane - W4KDH ---
  www.jefflane.org
Yet another IT Ronin

The internet has no government, no constitution, no laws, no
rights, no police, no courts.  Don't talk about fairness or
innocence, and don't talk about what should be done.  Instead,
talk about what is being done and what will be done by the
amorphous unreachable undefinable blob called the internet
user base. -Paul Vixie
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list