Libpqxx: Difference between revisions
From CBLFS
Jump to navigationJump to search
Weibullguy (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
---- | ---- | ||
{{Package-Introduction|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.}} | {{Package-Introduction|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.|http://pqxx.org/development/libpqxx/}} | ||
== Dependencies == | == Dependencies == | ||
Latest revision as of 09:41, 20 September 2009
| 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: http://pqxx.org/development/libpqxx/
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 |