<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">
<channel>
<title>Comments on: Building the postgres gem for a 64bit PostgreSQL on Snow Leopard (10.6)</title>
<atom:link href="http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/feed/" rel="self" type="application/rss+xml" />
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/</link>
<description>a plain personal blog</description>
<lastBuildDate>Wed, 18 Jan 2012 00:47:47 +0000</lastBuildDate>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://wordpress.org/?v=3.3</generator>
<item>
<title>By: adult youtube</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-8537</link>
<dc:creator>adult youtube</dc:creator>
<pubDate>Mon, 17 Jan 2011 07:42:23 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-8537</guid>
<description>pyoo wmxzz &lt;a href=&quot;http://www.jakesxxx.com&quot; rel=&quot;nofollow&quot;&gt;adult youtube&lt;/a&gt; vwcogp f ta f xos</description>
<content:encoded>
<![CDATA[<p>pyoo wmxzz <a href="http://www.jakesxxx.com" rel="nofollow">adult youtube</a> vwcogp f ta f xos</p>
]]>
</content:encoded>
</item>
<item>
<title>By: you porn</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-8536</link>
<dc:creator>you porn</dc:creator>
<pubDate>Mon, 17 Jan 2011 07:18:37 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-8536</guid>
<description>rdhx niczs &lt;a href=&quot;http://www.miasporn.com&quot; rel=&quot;nofollow&quot;&gt;porn hub&lt;/a&gt; rqntoz t rz i hvj</description>
<content:encoded>
<![CDATA[<p>rdhx niczs <a href="http://www.miasporn.com" rel="nofollow">porn hub</a> rqntoz t rz i hvj</p>
]]>
</content:encoded>
</item>
<item>
<title>By: links for 2009-10-18 &#171; Mike Does Tech</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-4532</link>
<dc:creator>links for 2009-10-18 &#171; Mike Does Tech</dc:creator>
<pubDate>Mon, 19 Oct 2009 00:10:32 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-4532</guid>
<description>[...] Philipp Schmid » Blog Archive » Building the postgres gem for a 64bit PostgreSQL on Snow Leopard (... [...]</description>
<content:encoded>
<![CDATA[<p>[...] Philipp Schmid » Blog Archive » Building the postgres gem for a 64bit PostgreSQL on Snow Leopard (&#8230; [...]</p>
]]>
</content:encoded>
</item>
<item>
<title>By: Peter Ritchie</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-4090</link>
<dc:creator>Peter Ritchie</dc:creator>
<pubDate>Mon, 21 Sep 2009 12:20:48 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-4090</guid>
<description>As a beginner I could not grapple with the above but found http://blog.blackwhale.at/ which got me up and running - for anyone else that gets stuck getting Ruby and Postgres running on Snow Leopard.</description>
<content:encoded>
<![CDATA[<p>As a beginner I could not grapple with the above but found <a href="http://blog.blackwhale.at/" rel="nofollow">http://blog.blackwhale.at/</a> which got me up and running &#8211; for anyone else that gets stuck getting Ruby and Postgres running on Snow Leopard.</p>
]]>
</content:encoded>
</item>
<item>
<title>By: A different Lee</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-3771</link>
<dc:creator>A different Lee</dc:creator>
<pubDate>Thu, 03 Sep 2009 18:40:45 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-3771</guid>
<description>Under Snow Leopard, I had the same errors as Karim. Part of the problem is that SL uses gcc 4.2 instead of 4.0. So I moved the /usr/bin/gcc soft link to point to the 4.0 compiler: sudo rm /usr/bin/gcc sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc Then install pg, pointing to my installation of postgres. sudo env ARCHFLAGS=&quot;-arch i386&quot; gem install pg -- --with-pgsql-include=/usr/local/pgsql/include/ --with-pgsql-lib=/usr/local/pgsql/lib/ Note that this is a plain 32-bit compilation; I&#039;m not running the 64-bit kernel or the SL version of Ruby or whatever else is causing people to want to compile pg for 64-bit-ness.</description>
<content:encoded>
<![CDATA[<p>Under Snow Leopard, I had the same errors as Karim. Part of the problem is that SL uses gcc 4.2 instead of 4.0. So I moved the /usr/bin/gcc soft link to point to the 4.0 compiler:</p>
<p>sudo rm /usr/bin/gcc<br />
sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc</p>
<p>Then install pg, pointing to my installation of postgres.</p>
<p>sudo env ARCHFLAGS=&#8221;-arch i386&#8243; gem install pg &#8212; &#8211;with-pgsql-include=/usr/local/pgsql/include/ &#8211;with-pgsql-lib=/usr/local/pgsql/lib/</p>
<p>Note that this is a plain 32-bit compilation; I&#8217;m not running the 64-bit kernel or the SL version of Ruby or whatever else is causing people to want to compile pg for 64-bit-ness.</p>
]]>
</content:encoded>
</item>
<item>
<title>By: Lee</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-3735</link>
<dc:creator>Lee</dc:creator>
<pubDate>Tue, 01 Sep 2009 16:33:50 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-3735</guid>
<description>Thank you very much for these instructions :)</description>
<content:encoded>
<![CDATA[<p>Thank you very much for these instructions <img src='http://www.schmidp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]>
</content:encoded>
</item>
<item>
<title>By: Taylor Yelverton</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-3708</link>
<dc:creator>Taylor Yelverton</dc:creator>
<pubDate>Mon, 31 Aug 2009 02:10:38 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-3708</guid>
<description>Im having the same problem @Jim what developer package are you talking about?</description>
<content:encoded>
<![CDATA[<p>Im having the same problem @Jim what developer package are you talking about?</p>
]]>
</content:encoded>
</item>
<item>
<title>By: Jim Erickson</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-3686</link>
<dc:creator>Jim Erickson</dc:creator>
<pubDate>Sat, 29 Aug 2009 21:56:40 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-3686</guid>
<description>Same error as above. Solution is to make sure you also install the developer package (actually a zip file to be placed in the /opt directory) and then follow the above directions. Worked like a charm.</description>
<content:encoded>
<![CDATA[<p>Same error as above.  Solution is to make sure you also install the developer package (actually a zip file to be placed in the /opt directory) and then follow the above directions.  Worked like a charm.</p>
]]>
</content:encoded>
</item>
<item>
<title>By: Karim</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-3629</link>
<dc:creator>Karim</dc:creator>
<pubDate>Wed, 26 Aug 2009 12:57:54 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-3629</guid>
<description>Hi, I&#039;ve tried both methods to install the pg gem on a fresh installation of Snow Leopard and I get the following error. I could install easily in Leopard. Any ideas? /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install pg checking for main() in -lpq... yes checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for PQconnectionUsedPassword()... no checking for PQisthreadsafe()... no checking for PQprepare()... no checking for PQexecParams()... no checking for PQescapeString()... no checking for PQescapeStringConn()... no checking for lo_create()... no checking for pg_encoding_to_char()... no checking for PQsetClientEncoding()... no creating Makefile make gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -I/Library/PostgreSQL/8.4/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -c compat.c In file included from compat.c:16: compat.h:38:2: error: #error PostgreSQL client version too old, requires 7.3 or later. In file included from compat.c:16: compat.h:69: error: conflicting types for ‘PQconnectionNeedsPassword’ /Library/PostgreSQL/8.4/include/libpq-fe.h:293: error: previous declaration of ‘PQconnectionNeedsPassword’ was here compat.h:70: error: conflicting types for ‘PQconnectionUsedPassword’ /Library/PostgreSQL/8.4/include/libpq-fe.h:294: error: previous declaration of ‘PQconnectionUsedPassword’ was here compat.h:121: error: redefinition of typedef ‘PQnoticeReceiver’ /Library/PostgreSQL/8.4/include/libpq-fe.h:144: error: previous declaration of ‘PQnoticeReceiver’ was here compat.h:125: error: redeclaration of enumerator ‘PQERRORS_TERSE’ /Library/PostgreSQL/8.4/include/libpq-fe.h:105: error: previous definition of ‘PQERRORS_TERSE’ was here compat.h:126: error: redeclaration of enumerator ‘PQERRORS_DEFAULT’ /Library/PostgreSQL/8.4/include/libpq-fe.h:106: error: previous definition of ‘PQERRORS_DEFAULT’ was here compat.h:128: error: redeclaration of enumerator ‘PQERRORS_VERBOSE’ /Library/PostgreSQL/8.4/include/libpq-fe.h:108: error: previous definition of ‘PQERRORS_VERBOSE’ was here compat.h:128: error: conflicting types for ‘PGVerbosity’ /Library/PostgreSQL/8.4/include/libpq-fe.h:108: error: previous declaration of ‘PGVerbosity’ was here compat.h:132: error: redeclaration of enumerator ‘PQTRANS_IDLE’ /Library/PostgreSQL/8.4/include/libpq-fe.h:96: error: previous definition of ‘PQTRANS_IDLE’ was here compat.h:133: error: redeclaration of enumerator ‘PQTRANS_ACTIVE’ /Library/PostgreSQL/8.4/include/libpq-fe.h:97: error: previous definition of ‘PQTRANS_ACTIVE’ was here compat.h:134: error: redeclaration of enumerator ‘PQTRANS_INTRANS’ /Library/PostgreSQL/8.4/include/libpq-fe.h:98: error: previous definition of ‘PQTRANS_INTRANS’ was here compat.h:135: error: redeclaration of enumerator ‘PQTRANS_INERROR’ /Library/PostgreSQL/8.4/include/libpq-fe.h:99: error: previous definition of ‘PQTRANS_INERROR’ was here compat.h:137: error: redeclaration of enumerator ‘PQTRANS_UNKNOWN’ /Library/PostgreSQL/8.4/include/libpq-fe.h:101: error: previous definition of ‘PQTRANS_UNKNOWN’ was here compat.h:137: error: conflicting types for ‘PGTransactionStatusType’ /Library/PostgreSQL/8.4/include/libpq-fe.h:101: error: previous declaration of ‘PGTransactionStatusType’ was here compat.h:142: error: conflicting types for ‘PQtransactionStatus’ /Library/PostgreSQL/8.4/include/libpq-fe.h:285: error: previous declaration of ‘PQtransactionStatus’ was here compat.h:143: error: conflicting types for ‘PQparameterStatus’ /Library/PostgreSQL/8.4/include/libpq-fe.h:287: error: previous declaration of ‘PQparameterStatus’ was here compat.h:157: error: conflicting types for ‘PQsetErrorVerbosity’ /Library/PostgreSQL/8.4/include/libpq-fe.h:309: error: previous declaration of ‘PQsetErrorVerbosity’ was here compat.h:169:2: error: #error unsupported postgresql version, requires 7.3 or later. compat.c: In function ‘PQsetClientEncoding’: compat.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:185: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:209: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:215: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:221: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:386: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:465: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token compat.c:539: error: old-style parameter declarations in prototyped function definition compat.c:539: error: expected ‘{’ at end of input :</description>
<content:encoded>
<![CDATA[<p>Hi, I&#8217;ve tried both methods to install the pg gem on a fresh installation of Snow Leopard and I get the following error. I could install easily in Leopard. Any ideas?</p>
<p>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install pg<br />
checking for main() in -lpq&#8230; yes<br />
checking for libpq-fe.h&#8230; yes<br />
checking for libpq/libpq-fs.h&#8230; yes<br />
checking for PQconnectionUsedPassword()&#8230; no<br />
checking for PQisthreadsafe()&#8230; no<br />
checking for PQprepare()&#8230; no<br />
checking for PQexecParams()&#8230; no<br />
checking for PQescapeString()&#8230; no<br />
checking for PQescapeStringConn()&#8230; no<br />
checking for lo_create()&#8230; no<br />
checking for pg_encoding_to_char()&#8230; no<br />
checking for PQsetClientEncoding()&#8230; no<br />
creating Makefile</p>
<p>make<br />
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -I/Library/PostgreSQL/8.4/include  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE  -fno-common  -pipe -fno-common   -c compat.c<br />
In file included from compat.c:16:<br />
compat.h:38:2: error: #error PostgreSQL client version too old, requires 7.3 or later.<br />
In file included from compat.c:16:<br />
compat.h:69: error: conflicting types for ‘PQconnectionNeedsPassword’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:293: error: previous declaration of ‘PQconnectionNeedsPassword’ was here<br />
compat.h:70: error: conflicting types for ‘PQconnectionUsedPassword’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:294: error: previous declaration of ‘PQconnectionUsedPassword’ was here<br />
compat.h:121: error: redefinition of typedef ‘PQnoticeReceiver’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:144: error: previous declaration of ‘PQnoticeReceiver’ was here<br />
compat.h:125: error: redeclaration of enumerator ‘PQERRORS_TERSE’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:105: error: previous definition of ‘PQERRORS_TERSE’ was here<br />
compat.h:126: error: redeclaration of enumerator ‘PQERRORS_DEFAULT’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:106: error: previous definition of ‘PQERRORS_DEFAULT’ was here<br />
compat.h:128: error: redeclaration of enumerator ‘PQERRORS_VERBOSE’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:108: error: previous definition of ‘PQERRORS_VERBOSE’ was here<br />
compat.h:128: error: conflicting types for ‘PGVerbosity’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:108: error: previous declaration of ‘PGVerbosity’ was here<br />
compat.h:132: error: redeclaration of enumerator ‘PQTRANS_IDLE’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:96: error: previous definition of ‘PQTRANS_IDLE’ was here<br />
compat.h:133: error: redeclaration of enumerator ‘PQTRANS_ACTIVE’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:97: error: previous definition of ‘PQTRANS_ACTIVE’ was here<br />
compat.h:134: error: redeclaration of enumerator ‘PQTRANS_INTRANS’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:98: error: previous definition of ‘PQTRANS_INTRANS’ was here<br />
compat.h:135: error: redeclaration of enumerator ‘PQTRANS_INERROR’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:99: error: previous definition of ‘PQTRANS_INERROR’ was here<br />
compat.h:137: error: redeclaration of enumerator ‘PQTRANS_UNKNOWN’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:101: error: previous definition of ‘PQTRANS_UNKNOWN’ was here<br />
compat.h:137: error: conflicting types for ‘PGTransactionStatusType’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:101: error: previous declaration of ‘PGTransactionStatusType’ was here<br />
compat.h:142: error: conflicting types for ‘PQtransactionStatus’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:285: error: previous declaration of ‘PQtransactionStatus’ was here<br />
compat.h:143: error: conflicting types for ‘PQparameterStatus’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:287: error: previous declaration of ‘PQparameterStatus’ was here<br />
compat.h:157: error: conflicting types for ‘PQsetErrorVerbosity’<br />
/Library/PostgreSQL/8.4/include/libpq-fe.h:309: error: previous declaration of ‘PQsetErrorVerbosity’ was here<br />
compat.h:169:2: error: #error unsupported postgresql version, requires 7.3 or later.<br />
compat.c: In function ‘PQsetClientEncoding’:<br />
compat.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:85: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:137: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:143: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:185: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:197: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:203: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:209: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:215: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:221: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:386: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:465: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token<br />
compat.c:539: error: old-style parameter declarations in prototyped function definition<br />
compat.c:539: error: expected ‘{’ at end of input<br />
:</p>
]]>
</content:encoded>
</item>
<item>
<title>By: Christian van der Leeden</title>
<link>http://www.schmidp.com/2009/06/24/building-the-postgres-gem-for-a-64bit-postgresql-on-snow-leopard-10-6/comment-page-1/#comment-2883</link>
<dc:creator>Christian van der Leeden</dc:creator>
<pubDate>Wed, 15 Jul 2009 15:06:32 +0000</pubDate>
<guid isPermaLink="false">http://www.schmidp.com/?p=221#comment-2883</guid>
<description>To install the pg gem (the successor to postgres gem): * does not build against prebuild postgres binary package from enterprise db * build postgres from source (straight forward, installs under /usr/local/pgsql) * change to root: su - * export ARCHFLAGS=&#039;-arch x86_64&#039; * export PATH=/usr/local/pgsql/bin:${PATH} * gem install pg</description>
<content:encoded>
<![CDATA[<p>To install the pg gem (the successor to postgres gem):</p>
<p> * does not build against prebuild postgres binary package from enterprise db<br />
 * build postgres from source (straight forward, installs under /usr/local/pgsql)<br />
 * change to root: su -<br />
 * export ARCHFLAGS=&#8217;-arch x86_64&#8242;<br />
 * export PATH=/usr/local/pgsql/bin:${PATH}<br />
 * gem install pg</p>
]]>
</content:encoded>
</item>
</channel>
</rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 312/313 objects using apc

Served from: www.schmidp.com @ 2012-02-08 03:51:40 -->
