Problems compiling latest unstable

Richard -Gilligan- Uschold uschold@cs.ucf.edu
Mon, 05 Feb 2001 02:49:18 +0000


--------------452A3AC4990A51D375DB703D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Conrad Canterford wrote:

> Richard -Gilligan- Uschold wrote:
> > rpm error message:
> > "only packages with major numbers <=3 are supported by this version of
> > RPM"
> >
> >
> > Can't install these:
> ...
> > Because of dependencies:
> >    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> >    rpmlib(CompressedFileNames)    <= 3.0.4-1
>
> Install rpm version 3.0.5 or 3.0.6 from rpmfind. These versions are able
> to read the rpm 4 format. 3.0.6 has been reported to have additional
> dependencies, but I've not tried it. 3.0.5 works for me on all my RH6.n
> machines. I have never seen the later two messages, but believe they
> will go away with the upgrade.
>
> I'm not sure (but fairly certain) there is a mandrake specific version.
>
> Conrad.
> --
> Conrad Canterford (conrad@mail.watersprite.com.au)
> Water Sprite Pty Ltd   | info@mail.watersprite.com.au
>  GPO Box 355,          | Incorporating:
>  Canberra, ACT, 2601   |   Australian Tour and Event Management (ATEM)
>  Australia.            |   Ticketing Services Division
> Phone: 0419 122 553    |   Catering Services Division

After much gnashing of teeth (and a lot of dead ends), I discovered that
the above two errors only occur in kpackage.  If I run rpm from the command
line, neither of these errors show up!

I'm on mandrake 7.0
kpackage--1.3.10-1mdk
rpm-3.0.5-27mdk.i586.rpm

So, I did the BIG upgrade:  (indents indicate dependencies)

gtkhtml-0.8-0mdk_helix_2.i586.rpm
gtkhtml-devel-0.8-0mdk_helix_2.i586.rpm
  libgal3-0.4.1-0mdk_helix_1.i586.rpm
    gal-0.4.1-0mdk_helix_1.i586.rpm
  libunicode-0.4-5mdk.i586.rpm
  bonobo-0.30-0mdk_helix_6.i586.rpm
  bonobo-devel-0.30-0mdk_helix_6.i586.rpm
    oaf-0.6.1-0mdk_helix_1.i586.rpm
    oaf-devel-0.6.1-0mdk_helix_1.i586.rpm
       ORBit-0.5.6-0mdk_helix_3.i586.rpm
       ORBit-devel-0.5.6-0mdk_helix_3.i586.rpm
    libgnomeprint11-0.25-0mdk_helix_1.i586.rpm
    gnome-libs-1.2.11-0mdk_helix_1.i586.rpm
    gnome-libs-devel-1.2.11-0mdk_helix_1.i586.rpm
    libxml-1.8.11-1mdk.i586.rpm
    libxml-devel-1.8.11-1mdk.i586.rpm
    gnome-print-0.25-0mdk_helix_1.i586.rpm
    gnome-print-devel-0.25-0mdk_helix_1.i586.rpm

Guppi-0.35.2-1.i586.rpm
  db3-3.1.14-2mdk.i586.rpm
  python-2.0-12.i586.rpm
    expat-1.95.1-2.i586.rpm
    glibc-2.2.1-3mdk.i586.rpm
    glibc-devel-2.2.1-3mdk.i586.rpm
      sash-3.4-6mdk.i586.rpm
       db1-1.85-3mdk.i586.rpm
       db2-2.4.14-2mdk.i586.rpm
       ld.so-1.9.9-8.i586.rpm

The last three packages restore the following older versions needed by some
85 other packages.
libdl.so.1
/lib/ld-linux.so.1
libdb.so.2
libdb.so.3

While these installed without any dependency errors, the libdb.so.* were
not installed correctly.  Fortunately, I had saved copies those files, and
restored them.

Back to compiling the latest unstable:

rm config.cache
make distclean
./autogen.sh --enable-opt-style-install --prefix=/opt5.3  > &
autogen.err.txt

...
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 0.99.7... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GLIB was incorrectly
installed
*** or that you have moved GLIB since it was installed. In the latter case,
you
*** may want to edit the glib-config script: /usr/bin/glib-config
configure: error: Cannot find glib.

config.log:
...
configure:2264: gcc -o conftest -g -O2 -I/usr/lib/glib/include   conftest.c
-L/usr/lib -lglib  1>&5
/usr/lib/libglib.so: undefined reference to `getpwuid_r@@GLIBC_2.0'
...

Apparently, it wants an older version of glibc.  I'm pretty sure that
`getpwuid_r@@GLIBC_2.0' is in libc.so.x, but I'm not sure what x is.

Any clue?

--

Gilligan            |                    __o           .oooO
                   /|                  _ \<,_          (   )
                  /p|\                (_)/ (_)          \ (   Oooo.
                 /  | \             ------------         \_)  (   )
                ========                                       ) /
                 ========       gilligan@mpinet.net           (_/
             ~~~~~~~~~~~~~~~~   uschold@cs.ucf.edu



--------------452A3AC4990A51D375DB703D
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Conrad Canterford wrote:
Richard -Gilligan- Uschold wrote:
> rpm error message:
> "only packages with major numbers <=3 are supported by this version of
> RPM"
>
>
> Can't install these:
...
> Because of dependencies:
>    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>    rpmlib(CompressedFileNames)    <= 3.0.4-1

Install rpm version 3.0.5 or 3.0.6 from rpmfind. These versions are able
to read the rpm 4 format. 3.0.6 has been reported to have additional
dependencies, but I've not tried it. 3.0.5 works for me on all my RH6.n
machines. I have never seen the later two messages, but believe they
will go away with the upgrade.

I'm not sure (but fairly certain) there is a mandrake specific version.

Conrad.
--
Conrad Canterford (conrad@mail.watersprite.com.au)
Water Sprite Pty Ltd   | info@mail.watersprite.com.au
 GPO Box 355,          | Incorporating:
 Canberra, ACT, 2601   |   Australian Tour and Event Management (ATEM)
 Australia.            |   Ticketing Services Division
Phone: 0419 122 553    |   Catering Services Division

After much gnashing of teeth (and a lot of dead ends), I discovered that the above two errors only occur in kpackage.  If I run rpm from the command line, neither of these errors show up!

I'm on mandrake 7.0
kpackage--1.3.10-1mdk
rpm-3.0.5-27mdk.i586.rpm

So, I did the BIG upgrade:  (indents indicate dependencies)

gtkhtml-0.8-0mdk_helix_2.i586.rpm
gtkhtml-devel-0.8-0mdk_helix_2.i586.rpm
  libgal3-0.4.1-0mdk_helix_1.i586.rpm
    gal-0.4.1-0mdk_helix_1.i586.rpm
  libunicode-0.4-5mdk.i586.rpm
  bonobo-0.30-0mdk_helix_6.i586.rpm
  bonobo-devel-0.30-0mdk_helix_6.i586.rpm
    oaf-0.6.1-0mdk_helix_1.i586.rpm
    oaf-devel-0.6.1-0mdk_helix_1.i586.rpm
       ORBit-0.5.6-0mdk_helix_3.i586.rpm
       ORBit-devel-0.5.6-0mdk_helix_3.i586.rpm
    libgnomeprint11-0.25-0mdk_helix_1.i586.rpm
    gnome-libs-1.2.11-0mdk_helix_1.i586.rpm
    gnome-libs-devel-1.2.11-0mdk_helix_1.i586.rpm
    libxml-1.8.11-1mdk.i586.rpm
    libxml-devel-1.8.11-1mdk.i586.rpm
    gnome-print-0.25-0mdk_helix_1.i586.rpm
    gnome-print-devel-0.25-0mdk_helix_1.i586.rpm

Guppi-0.35.2-1.i586.rpm
  db3-3.1.14-2mdk.i586.rpm
  python-2.0-12.i586.rpm
    expat-1.95.1-2.i586.rpm
    glibc-2.2.1-3mdk.i586.rpm
    glibc-devel-2.2.1-3mdk.i586.rpm
      sash-3.4-6mdk.i586.rpm
       db1-1.85-3mdk.i586.rpm
       db2-2.4.14-2mdk.i586.rpm
       ld.so-1.9.9-8.i586.rpm

The last three packages restore the following older versions needed by some 85 other packages.
libdl.so.1
/lib/ld-linux.so.1
libdb.so.2
libdb.so.3

While these installed without any dependency errors, the libdb.so.* were not installed correctly.  Fortunately, I had saved copies those files, and restored them.

Back to compiling the latest unstable:

rm config.cache
make distclean
./autogen.sh --enable-opt-style-install --prefix=/opt5.3  > & autogen.err.txt

...
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 0.99.7... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the glib-config script: /usr/bin/glib-config
configure: error: Cannot find glib.

config.log:
...
configure:2264: gcc -o conftest -g -O2 -I/usr/lib/glib/include   conftest.c -L/usr/lib -lglib  1>&5
/usr/lib/libglib.so: undefined reference to `getpwuid_r@@GLIBC_2.0'
...

Apparently, it wants an older version of glibc.  I'm pretty sure that `getpwuid_r@@GLIBC_2.0' is in libc.so.x, but I'm not sure what x is.

Any clue?

-- 

Gilligan            |                    __o           .oooO
                   /|                  _ \<,_          (   )
                  /p|\                (_)/ (_)          \ (   Oooo.
                 /  | \             ------------         \_)  (   )
                ========                                       ) /
                 ========       gilligan@mpinet.net           (_/
             ~~~~~~~~~~~~~~~~   uschold@cs.ucf.edu
  --------------452A3AC4990A51D375DB703D--