Re: rpm problems



On Fri, 9 Apr 1999, Richard Brunner wrote:
> OK, therefore I installed that package with "make install".
> 
> The next problem was glib-1.2.1.tar.gz, the configure script and
> compiling worked but suddenly it stopped with the following lines:
> File not found: /var/tpm/glib-1.2.1-root/usr/lib/libglib-1.1.so.*
> File not found: /var/tpm/glib-1.2.1-root/usr/lib/libgthread-1.1.so.*
> File not found: /var/tpm/glib-1.2.1-root/usr/lib/libgmodule-1.1.so.*
> Executing: %doc
> + umask 022
> + cd /usr/src/packages/BUILD
> + cd glib-1.2.1
> + DOCDIR=/var/tmp/glib-1.2.1-root/usr/doc/glib
> + export DOCDIR
> + rm -rf /var/tmp/glib-1.2.1-root/usr/doc/glib
> + /bin/mkdir -p /var/tmp/glib-1.2.1-root/usr/doc/glib
> + cp -pr AUTHORS COPYING ChangeLog
> NEWS README /var/tmp/glib-1.2.1-root/usr/docglib
> + exit 0
> Prereqs: /sbin/ldconfig
> 
> Processing files:glib devel
> Finding privides...
> Finding requires...
> Requires: /bin/sh    # It is there !!!

You are looking at the wrong lines.  Look at the file not found lines.  The
versions of the libraries are for glib-1.1.x  you are building 1.2.x.  Change
the spec.in or .spec file to:

%{prefix}/lib/libglib-1.2.so.*
%{prefix}/lib/libgthread-1.2.so.*
%{prefix}/lib/libgmodule-1.2.so.*

...instead of:

%{prefix}/lib/libglib-1.1.so.* 
...etc.

> The next problem was that If I want to make the rpm-packages for
> gtk-engines-0.5.tar.gz it said: "File gtk-engines-0.4.tar.gz: No such
> file ..."# why 0.4 ???

Again, check your .spec.in or .spec files for wrong 'ver' macro being set. 
It could be that the configure script is perhaps setting the wrong version for
the .spec.in file.

> The last thing is that, after I made the rpm-package for mc-4.5.29
> (which worked), I wanted to install it but it said that pam >= 0.59
> isn't installed (but what is pam, I've never heard about that!?) and
> /sbin/chkconfig.

Try doing a: rpm -qi pam  and you'll a description like...

PAM (Pluggable Authentication Modules) is a powerful, flexible,
extensible authentication system which allows the system administrator
to configure authentication services individually for every pam-compliant
application without recompiling any of the applications.

There is a man page for chkconfig, but in a nutshell it helps you administrate
different services for different run levels.

Mark Hankins




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