Changeset 1020
- Timestamp:
- 02/09/06 17:29:23 (3 years ago)
- Files:
-
- trunk/rpm.txt (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/rpm.txt
r944 r1020 4 4 Originally by Sergey Ostrovsky <sergey@linuxfromscratch.org> rpm_glibc22.txt 5 5 6 DATE: 200 5-03-166 DATE: 2006-01-27 7 7 8 8 LICENSE: GNU Free Documentation License Version 1.2 … … 13 13 DESCRIPTION: This hint will show you how to install rpm to be used with LFS. 14 14 15 PREREQUISITES: From LFS Build : Zlib, Bzip2, Gzip, Gettext, Perl, and Tar.16 From BLFS : Berkeley DB, Expat, GnuPG, and Libxml2.15 PREREQUISITES: From LFS Build : Zlib, Bzip2, Gzip, Gettext, Perl, Sed, and Tar. 16 From BLFS : Berkeley DB, CVS, Expat, GnuPG, and Libxml2. 17 17 From Other : See Dependencies 18 18 … … 29 29 ease administration of a large and diverse network of UNIX and UNIX-like 30 30 computers. Maybe it can do more than simply "Ruining a Perfectly 31 good Machine." ;)31 good Machine." 32 32 33 33 SOURCE: … … 37 37 38 38 There is a download site for RPM, but I recommend taken the snapshot from 39 the recvs to you don't have find the dependencies.39 their cvs to you don't have find the dependencies. 40 40 41 41 GET SOURCE: 42 42 43 The following information will download the current CVS version of RPM. It 44 will also fix a couple of build issues by removing wnh from the build. wnh 45 is not included as of this writing of the hint. In the future we should 46 be able not to remove it. 47 43 48 cvs -z 9 -d :pserver:anonymous@cvs.rpm.org:/cvs/devel co -r rpm-4_4 rpm 44 mv rpm rpm-4.4.2 45 tar jcvf rpm-4.4.2.tar.bz2 rpm-4.4.2 46 47 You can download the rpm tarball from ftp://jbj.org/pub/rpm-4.4.x, but you will 48 have to install the dependencies listed in PREREQUISITES. 49 cd rpm 50 RPMVER="`cat configure.ac | grep AC_INIT | cut -f2 -d, | cut -f2 -d' '`" 51 sed -e 's|wnh/Makefile||g' configure.ac 52 sed -e 's|wnh/Makefile||g' Makefile.am 53 cd .. 54 mv rpm rpm-$RPMVER 55 tar jcvf rpm-$RPMVER.tar.bz2 rpm-$RPMVER 49 56 50 57 DEPENDENCIES: … … 55 62 Build Beecrypt as follows: 56 63 57 ./configure --prefix=/usr \ 58 --enable-shared && 64 ./configure --prefix=/usr --enable-shared && 59 65 make && 60 66 make install 61 67 62 Package Name: neon-0.2 4.7.tar.gz63 Download here: http://www.webdav.org/neon/neon-0.2 4.7.tar.gz68 Package Name: neon-0.25.5.tar.gz 69 Download here: http://www.webdav.org/neon/neon-0.25.5.tar.gz 64 70 65 71 Build Neon as follows: 66 72 67 ./configure --prefix=/usr \ 68 --enable-shared && 73 ./configure --prefix=/usr --enable-shared && 69 74 make && 70 75 make install … … 72 77 PATCHES: 73 78 74 Two patches are required for RPM, one is to fix the possible error of 75 head, replaces head -1 with head -n 1. The second adds a missing 76 header to rpmdb. 77 78 Patch Name: rpm-4.4.2-posix-1.patch 79 Patch Name: rpm-4.4.2-sqlite_header-1.patch 80 81 Patches are avaiable at patches.linuxfromscratch.org. 79 No Patches are required for the CVS version. 82 80 83 81 INSTALLATION: … … 119 117 correction. 120 118 121 mkdir/var/lock/rpm119 install -d /var/lock/rpm 122 120 123 121 At this point you will need to initialize the RPM database with the following … … 154 152 convert these rpm packages into something more useful for use to us. 155 153 156 Package Name: alien_8. 50.tar.gz (Alien 8.50)154 Package Name: alien_8.61.tar.gz (Alien 8.61) 157 155 Download here: http://kitenet.net/programs/alien 158 156 … … 176 174 extracted into the currect directory. 177 175 178 VERSION: 1. 8176 VERSION: 1.10 179 177 180 CHANGELOG: 1.8 Added missing depenencies for neon: expat and libxml2 178 CHANGELOG: 1.10 Corrected Typos. Updated Programs. 179 1.9 Updated svn 180 1.8 Added missing depenencies for neon: expat and libxml2 181 181 1.7 Fixed Typo's and updated instructions based on glibc 182 182 1.6 Added missing dependencies: beecrypt and neon … … 188 188 1.0 Adopted by Jim Gifford 189 189 190 New Version of this document can be viewed from http://svn.jg555.com/viewcvs.cgi/?root=hints 190 New Version of this document can be viewed from 191 http://svn.jg555.com/svn/repos/hints/rpm.txt
