Nss db
From CBLFS
Jump to navigationJump to searchContents
Introduction to Nss db
nss_db is a set of C library extensions which allow Berkeley Databases to be used as a primary source of aliases, ethers, groups, hosts, networks, protocol, users, RPCs, services, and shadow passwords (instead of or in addition to using flat files or NIS). Install nss_db if your flat name service files are too large and lookups are slow.[1]
Project Homepage: http://www.gnu.org/software/libc/
Dependencies
Optional
Non-Multilib
Compile the package:
patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch && sed -i "s/-D_LIBC//" src/Makefile.in && ./configure --prefix=/usr --libdir=/usr/lib && make slibdir=/lib
Install the package:
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch && sed -i "s/-D_LIBC//" src/Makefile.in && CC="gcc ${BUILD32}" ./configure --prefix=/usr --libdir=/usr/lib && make
Install the package:
make slibdir=/lib install
N32
Compile the package:
patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch && sed -i "s/-D_LIBC//" src/Makefile.in && CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 && make
Install the package:
make slibdir=/lib32 install
64Bit
Compile the package:
patch -Np1 -i ../nss_db-2.2.3pre1-fixes-1.patch && sed -i "s/-D_LIBC//" src/Makefile.in && CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 && make
Install the package:
make slibdir=/lib64 install