Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:sql [2010-04-06 10:22:30]
dages
diana:windows:building:sql [2022-05-31 09:29:31] (current)
Line 17: Line 17:
 ==== libpq (C interface) ==== ==== libpq (C interface) ====
  
-**NOTE:** The PostgreSQL developers have [[http://thread.gmane.org/gmane.comp.db.postgresql.devel.general/137878|stated quite unambiguously]] that they do not support static linking and will disable it completely in future releases.  If / when that happens, it will be necessary to link ''libpq'' and the ffmpeg libraries dynamically.+PostgreSQL includes its own implementations of certain functions which are not available in Win32, such as ''inet_aton()'' and ''strlcat()'' Unfortunately, so do the [[ffmpeg|ffmpeg libraries]].  We resolve this conflict by using macros to transparently add a ''pq_'' prefix to each of these functions. 
 + 
 +**NOTE:** The PostgreSQL developers have [[http://thread.gmane.org/gmane.comp.db.postgresql.devel.general/137878|stated quite unambiguously]] that they do not support static linking and will disable it completely in future releases.  If / when that happens, it will be necessary to link ''libpq'' (and possibly also the ffmpeg librariesdynamically.
  
 First, get the latest source (currently 8.3.9 for the 8.3 branch) from http://www.postgresql.org/ftp/source/v8.3.9/ and extract it in a convenient place.  First, get the latest source (currently 8.3.9 for the 8.3 branch) from http://www.postgresql.org/ftp/source/v8.3.9/ and extract it in a convenient place. 
Line 135: Line 137:
   $ make -C src/interfaces/libpq all install   $ make -C src/interfaces/libpq all install
   $ make -C src/bin/pg_config all install   $ make -C src/bin/pg_config all install
 +  $ cp COPYRIGHT /c/met.no/copyright/libpq.txt
  
 ==== libpqxx (C++ interface) ==== ==== libpqxx (C++ interface) ====
Line 149: Line 152:
  
   $ make all install   $ make all install
 +  $ cp AUTHORS /c/met.no/copyright/libpqxx.txt
 +  $ cat COPYING >>/c/met.no/copyright/libpqxx.txt
  • diana/windows/building/sql.1270549350.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)