Difference between revisions of "Libpqxx"

From CBLFS
Jump to navigationJump to search
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://thaiopensource.org/download/software/libpqxx/libpqxx-{{libpqxx-Version}}.tar.gz
+
| http://pqxx.org/download/software/libpqxx/libpqxx-{{libpqxx-Version}}.tar.gz
 
|}
 
|}
  

Revision as of 02:25, 25 December 2007

Download Source: http://pqxx.org/download/software/libpqxx/libpqxx-2.6.9.tar.gz

Introduction to Libpqxx

libpqxx is the official C++ client API for PostgreSQL. You can use it if you are writing software in C++ that needs to access databases managed by postgres.

Project Homepage: Unknown

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --enable-shared &&
make

Install the package:

make install &&
mv -v /usr/bin/pqxx-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-shared &&
make

Install the package:

make install &&
mv -v /usr/bin/pqxx-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-shared &&
make

Install the package:

make install &&
mv -v /usr/bin/pqxx-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/pqxx-config

Contents

Installed Programs: pqxx-config
Installed Libraries: libpqxx.{a,la,so}
Installed Directories: /usr/include/pqxx