Difference between revisions of "Libpqxx"

From CBLFS
Jump to navigationJump to search
(Created page in 'general libraries' section, but the best is perhaps in 'Programming' section !!)
 
 
(5 intermediate revisions by 4 users not shown)
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
 
|}
 
|}
  
 
----
 
----
  
== Introduction to libpqxx ==
+
{{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/}}
 
 
libpqxx is the official C++ client API for [[PostgreSQL]]. You can used it if you are writing software in C++ that needs to access databases managed by postgres.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 37: Line 35:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 +
./configure --prefix=/usr --enable-shared &&
 +
make
  
 
Install the package:
 
Install the package:
  
  To do ...
+
  make install &&
 +
mv -v /usr/bin/pqxx-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 47: Line 48:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 +
./configure --prefix=/usr --libdir=/usr/lib32 \
 +
    --enable-shared &&
 +
make
  
 
Install the package:
 
Install the package:
  
  To do ...
+
  make install &&
 +
mv -v /usr/bin/pqxx-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 57: Line 62:
 
Compile the package:
 
Compile the package:
  
  To do ...
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 +
./configure --prefix=/usr --libdir=/usr/lib64 \
 +
    --enable-shared &&
 +
make
  
 
Install the package:
 
Install the package:
  
  To do ...
+
  make install &&
 +
mv -v /usr/bin/pqxx-config{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/pqxx-config
  
 
= Contents =
 
= Contents =
Line 76: Line 86:
 
| /usr/include/pqxx
 
| /usr/include/pqxx
 
|}
 
|}
 +
 +
[[Category:General Libs]]

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
Retrieved from "?title=Libpqxx&oldid=19295"