Libdbi: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
Line 20: Line 20:
Compile the package:
Compile the package:


  ./configure --prefix=/usr &&
  ./configure --prefix=/usr \
    --disable-docs &&
  make
  make


Line 33: Line 34:
Compile the package:
Compile the package:


  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr\
    --disable-docs &&
  make
  make


Line 45: Line 47:


  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
     --libdir=/usr/lib32 &&
     --libdir=/usr/lib32 --disable-docs &&
  make
  make


Line 57: Line 59:


  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
     --libdir=/usr/lib64 &&
     --libdir=/usr/lib64 --disable-docs &&
  make
  make



Revision as of 10:02, 14 September 2008

Download Source: http://downloads.sourceforge.net/libdbi/libdbi-0.8.3.tar.gz

Introduction to Libdbi

libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.

Project Homepage: http://libdbi.sourceforge.net/

Dependencies

Optional

Note

To make this library useful you must also have libdbi-drivers installed.

Non-Multilib

Compile the package:

./configure --prefix=/usr \
    --disable-docs &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr\
    --disable-docs &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --disable-docs &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 --disable-docs &&
make

Install the package

make install
Retrieved from "?title=Libdbi&oldid=15154"