On Aug 9, 2011, at 12:26 AM, Belal Salem wrote: > DONE IT !!! [SOLVED] >
Nice ;-) > I passed out all the errors the last one was resolved by using db-5.1.19 > instead of db-5.2.x > Note that there is a data item removed from the middle of an internal structure between 5.1.19 and 5.1.25. So the transition 5.1.19 -> 5.1.25 forces a recompile. I.e. don't expect db-5.1.25 to be compatible. But either of db-5.1.19 and/or db-5.1.25 work fine, its only the transition that will lead to surprises. > Here is a quick reference on how I did it, may be some one stuck into it like > me: > > > > Compiling and Installation: > ___________________________ > =========================== > > 1. Configure TCL: > ----------------- > # ./configure --prefix=/usr --libdir=/usr/lib64 --enable-shared > --enable-threads --enable-64bit \ > --enable-static > > 2. Configure the db-5.1.19: > --------------------------- > # cd build_unix > # ../dist/configure --prefix=/usr --libdir=/usr/lib64 --enable-tcl > --enable-shared --enable-sql \ > --enable-dbm --with-tcl=/usr/lib64 > # make > # make install > # cp db.h dbsql.h /usr/include/db51/ > > 3. Configure ncurses: > --------------------- > # ./configure --prefix=/usr --libdir=/usr/lib64 --with-shared --with-static > --with-libtool > Hmmm … not sure there's anything in rpm that MUST have ncurses (but it may be a secondary dependency). Certainly won't hurt anything. > 4. Configure expat: > ------------------- > # ./configure --prefix=/usr --libdir=/usr/lib64 --with-shared --with-static > > 5. Configure the rest of the 3d-parties as follows: > --------------------------------------------------- > * Configure all of them as follows: > #./configure --prefix=/usr --libdir=/usr/lib64 > # make > # make install > > Note: Some of them doesn't use a 'configure' script, so they don't have > an option line to install > libs to /usr/lib64, so, > after installing them, do a symlink from them to /usr/lib64 > > 6. Configure RPM: > ----------------- > # ./configure --prefix=/usr --libdir=/usr/lib64 --with-uuid=/usr/lib64 > --with-xar=/usr/lib64 \ > --enable-rpm-lua-extensions-based-on-rpmlib > --enable-fast-install --enable-shared \ > --enable-rpmvercmp-digits-beat-alpha --with-expat=/usr/lib64 > --with-neon=/usr/lib64 \ Hmmm … I did not know there is a --enable-rpmvercmp-digits-beat-alpha or a --enable-rpm-lua-extensions-based-on-rpmlib option. I'm not at all sure what they are supposed to do or who added (its likely from RSE and OpenPKG several years back). It's sure to be some pretty arcane functionality ... Congrats! 73 de Jeff______________________________________________________________________ RPM Package Manager http://rpm5.org User Communication List rpm-users@rpm5.org