RedHat 5.1 - genhdlist doesn't work

RedHat 5.1 - genhdlist doesn't work

Post by Pekka Savo » Sat, 20 Jun 1998 04:00:00



: >When installing it complained that it could not find the old packages,
and
: >did not install the new ones. Is there a file somewhere that needs to be
: >changed to allow me to do this, or is it not possible?
:
: You need to run 'genhdlist' on your new tree.  You can find it in misc/src
: on the image.

Only, it didn't work (on my 5.1 system, anyway).

I'd like to know how to get this work properly, and soon.

RedHat CD is mounted in /mnt.

If I run the program like:
cd /mnt ; genhdlist .
it says:
error creating file ./RedHat/base/hdlist: No such file or directory

and if I do it like this (the way it should be run, probably):
cd /mnt ; genhdlist /mnt
it pukes:
Segmentation fault (core dumped)

dmphdlist shows some entries (core=hdlist, it seems), up
to XFree86 or something.

I tried to compile it from the source, too:
---

genhdlist.c:6: rpmlib.h: No such file or directory
---

Using rpmlib.h in /usr/include/rpm (dated May 10):
---
genhdlist.c:6: rpmlib.h: No such file or directory

/tmp/cca011851.o: In function ain':
/tmp/cca011851.o(.text+0x242): undefined reference to ^RpmReadPackageHeader'
/tmp/cca011851.o(.text+0x25e): undefined reference toeaderRemoveEntry'
/tmp/cca011851.o(.text+0x272): undefined reference toeaderRemoveEntry'
/tmp/cca011851.o(.text+0x286): undefined reference toeaderRemoveEntry'
/tmp/cca011851.o(.text+0x29a): undefined reference toeaderRemoveEntry'
/tmp/cca011851.o(.text+0x2ae): undefined reference toeaderRemoveEntry'
/tmp/cca011851.o(.text+0x2c2): more undefined references to
eaderRemoveEntry' follow
/tmp/cca011851.o: In function ain':
/tmp/cca011851.o(.text+0x4c4): undefined reference toeaderAddEntry'
/tmp/cca011851.o(.text+0x4dc): undefined reference toeaderWrite'
/tmp/cca011851.o(.text+0x4eb): undefined reference toeaderFree'
----

And with rpmlib.h in misc/src/rpm/lib (dated 17 Sep 1997):
---

genhdlist.c: In function ain':
genhdlist.c:89: ^RPMTAG_FILEDEVICES' undeclared (first use this function)
genhdlist.c:89: (Each undeclared identifier is reported only once
genhdlist.c:89: for each function it appears in.)
genhdlist.c:90: ^RPMTAG_FILEINODES' undeclared (first use this function)
genhdlist.c:91: ^RPMTAG_FILELANGS' undeclared (first use this function)
---

--

But today's truth need not be tomorrow's.  The watcher had seen truth
change a hundred times between a single sunrise and sunset.  More than
once he had changed it himself. --Robert Jordan: A Crown of Swords

 
 
 

1. CD drive doesn't work under redhat 5.1

After upgrading to RH 5.1 when I try to mount my IDE CD drive I get a
message about the kernel not supporting iso9660.  I think I read somewhere
that you  have to recompile the kernel with CD-ROM set to yes, but I don't
want to start fiddling about in all that.  Is there a simple patch of
something I can use?

Thanks,
Neil

2. I Need printer help

3. RedHat 5.1 Install doesn't find Disk Drive

4. problems with nic

5. redhat 5.1 doesn't detect SN2000 (NE2000 clone) card

6. Can't stop "autostart" on login

7. RedHat 5.1 kernel doesn't support mounting CD_ROMs or FAT32?

8. Swap space error on x86 install

9. Redhat 5.1 doesn't probe my network card

10. KDE 1.0pre doesn't compile under RedHat 5.1 and SuSE 5.2 (both i386)

11. Modem doesn't disconnect using RedHat 5.1 netcfg

12. MILO and RedHat Linux 5.1 doesn't see my ide harddrive

13. redhat 5.1 doesn't detect SN2000 (NE2000 clone) ethercard