Steve Homer wrote:
>
> there is a gdk_imlib subdirectory in the imlib source that doesn't seem to
> build properly on certain versions, just ./configure & compile as normal
> then move into the subdirectory and make ; make install. Then all will be
> well.
>
> On Tue, 06 Apr 1999, [EMAIL PROTECTED] wrote:
>
> > trying to compile dia-0.40 I can't find gdk_imlib.h.
> > Having installed gdk and gtk I still don't know what
> > package should contain this. Any hint ?
>
> imlib?
>
> -Lars
This is a install for RH
goal, resolves the dependencies problem for gtk+
a two characters change
$ cp glib-1.2.1.tar.gz /usr/src/redhat/SOURCES
$ cd /usr/src/redhat/SOURCES
install in /usr/src/redhat/[BUILD|SPECS]
$ rpm -ti glib-1.2.1.tar.gz
applied the patch to /usr/src/redhat/SPECS/glib.spec
The patch change 1.1 to 1.2 so that gtk+ is able to
resolve dependencies on glib
$ cd
$ patch < glib.spec.diff
the command compiles the source and produces the .i386.rpm
$ rpm -bb glib.spec
$ cd ../RPMS/i386
$ rpm -e glib
$ rpm -e glib-devel
$ rpm -ivh glib-1.2.1-SNAP.i386.rpm
$ rpm -ivh glib-devel-1.2.1-SNAP.i386.rpm
$ cp gtk+-1.2.1.tar.gz /usr/src/redhat/SOURCES
$ cd /usr/src/redhat/SOURCES
compiles from the tar ball file and produce
the /usr/src/redhat/RPMS/i386/gtk+-1.2.1-1.i386.rpm and
the /usr/src/redhat/RPMS/i386/gtk+-devel-1.2.1-1.i386.rpm
$ rpm -tb gtk+-1.2.1.tar.gz
$ cd /usr/src/redhat/RPMS/i386
$ rpm -Uvh gtk+-1.2.1-1.i386.rpm
$ rpm -Uvh gtk+-devel-1.2.1-1.i386.rpm
I hope this help
--- glib.spec Mon Mar 29 09:25:50 1999
+++ ../../SPECS/glib.spec Mon Mar 29 09:19:17 1999
@@ -74,9 +74,9 @@
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
-%{prefix}/lib/libglib-1.1.so.*
-%{prefix}/lib/libgthread-1.1.so.*
-%{prefix}/lib/libgmodule-1.1.so.*
+%{prefix}/lib/libglib-1.2.so.*
+%{prefix}/lib/libgthread-1.2.so.*
+%{prefix}/lib/libgmodule-1.2.so.*
%files devel
%defattr(-, root, root)