<?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: Installing Duplicity on Mac OS X</title>
	<atom:link href="http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac</link>
	<description>The Rants and Raves of an Unsettled Mind</description>
	<lastBuildDate>Wed, 07 Apr 2010 15:43:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Rob Oakes</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/comment-page-1#comment-11032</link>
		<dc:creator>Rob Oakes</dc:creator>
		<pubDate>Mon, 15 Mar 2010 14:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/10/07/installing-duplicity-on-mac-os-x#comment-11032</guid>
		<description>The version of python that ships with Snow Leopard is a very strange duck.  Apparently, it can execute both 32 bit and 64 bit code, but getting the code to compile can be a bit difficult.  This is the problem that I&#039;ve run into with PyQt.  Installing the pre-built binaries (from the Qt website) doesn&#039;t work (or at least it doesn&#039;t work well).  If you build Qt yourself for x86_64, then you can get PyQt to build and install, but will get errors at run-time.  I have not yet found aa work-around, or the magical set of compiler commands and luck which will yield success.

If anyone else has ideas or workarounds, I&#039;d love to hear them.</description>
		<content:encoded><![CDATA[<p>The version of python that ships with Snow Leopard is a very strange duck.  Apparently, it can execute both 32 bit and 64 bit code, but getting the code to compile can be a bit difficult.  This is the problem that I've run into with PyQt.  Installing the pre-built binaries (from the Qt website) doesn't work (or at least it doesn't work well).  If you build Qt yourself for x86_64, then you can get PyQt to build and install, but will get errors at run-time.  I have not yet found aa work-around, or the magical set of compiler commands and luck which will yield success.</p>
<p>If anyone else has ideas or workarounds, I'd love to hear them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Olsen</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/comment-page-1#comment-11024</link>
		<dc:creator>Henrik Olsen</dc:creator>
		<pubDate>Mon, 15 Mar 2010 07:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/10/07/installing-duplicity-on-mac-os-x#comment-11024</guid>
		<description>Might be that Python 2.6 is only 64-bit on OS X 10.6. Hmmmm, then what to do...? When gnugpg apparently needs to run in 32-bit.</description>
		<content:encoded><![CDATA[<p>Might be that Python 2.6 is only 64-bit on OS X 10.6. Hmmmm, then what to do...? When gnugpg apparently needs to run in 32-bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Olsen</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/comment-page-1#comment-11022</link>
		<dc:creator>Henrik Olsen</dc:creator>
		<pubDate>Mon, 15 Mar 2010 07:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/10/07/installing-duplicity-on-mac-os-x#comment-11022</guid>
		<description>Using 

./configure  CC=&quot;gcc -arch i386&quot; 

for all dependencies (as needed for gnugpg according to http://macgpg.sourceforge.net/), and having used 

CFLAGS=&quot;-arch i386 &quot; 
python setup.py --librsync-dir=/usr/local build
python setup.py install --prefix=/usr/local
export PYTHONPATH=&#039;/usr/local/lib/python2.6/site-packages/&#039;

for the final duplicity install (to get it in /usr/local), I got an apparently clean install.

But... Running a simple version check gives this :(

duplicity -V
Traceback (most recent call last):
  File &quot;/usr/local/bin/duplicity&quot;, line 41, in 
    from duplicity import collections
  File &quot;/usr/local/lib/python2.6/site-packages/duplicity/collections.py&quot;, line 29, in 
    from duplicity import path
  File &quot;/usr/local/lib/python2.6/site-packages/duplicity/path.py&quot;, line 36, in 
    from duplicity import librsync
  File &quot;/usr/local/lib/python2.6/site-packages/duplicity/librsync.py&quot;, line 29, in 
    import _librsync
ImportError: dlopen(/usr/local/lib/python2.6/site-packages/duplicity/_librsync.so, 2): Symbol not found: _rs_file_copy_cb
  Referenced from: /usr/local/lib/python2.6/site-packages/duplicity/_librsync.so
  Expected in: flat namespace
 in /usr/local/lib/python2.6/site-packages/duplicity/_librsync.so

Googling _rs_file_copy_cb only finds one entry, suggesting using Python 2.6 instead of Python 2.5 (already using 2.6). Any ideas/similar experience?</description>
		<content:encoded><![CDATA[<p>Using </p>
<p>./configure  CC="gcc -arch i386" </p>
<p>for all dependencies (as needed for gnugpg according to <a href="http://macgpg.sourceforge.net/" rel="nofollow">http://macgpg.sourceforge.net/</a>), and having used </p>
<p>CFLAGS="-arch i386 "<br />
python setup.py --librsync-dir=/usr/local build<br />
python setup.py install --prefix=/usr/local<br />
export PYTHONPATH='/usr/local/lib/python2.6/site-packages/'</p>
<p>for the final duplicity install (to get it in /usr/local), I got an apparently clean install.</p>
<p>But... Running a simple version check gives this <img src='http://www.oak-tree.us/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>duplicity -V<br />
Traceback (most recent call last):<br />
  File "/usr/local/bin/duplicity", line 41, in<br />
    from duplicity import collections<br />
  File "/usr/local/lib/python2.6/site-packages/duplicity/collections.py", line 29, in<br />
    from duplicity import path<br />
  File "/usr/local/lib/python2.6/site-packages/duplicity/path.py", line 36, in<br />
    from duplicity import librsync<br />
  File "/usr/local/lib/python2.6/site-packages/duplicity/librsync.py", line 29, in<br />
    import _librsync<br />
ImportError: dlopen(/usr/local/lib/python2.6/site-packages/duplicity/_librsync.so, 2): Symbol not found: _rs_file_copy_cb<br />
  Referenced from: /usr/local/lib/python2.6/site-packages/duplicity/_librsync.so<br />
  Expected in: flat namespace<br />
 in /usr/local/lib/python2.6/site-packages/duplicity/_librsync.so</p>
<p>Googling _rs_file_copy_cb only finds one entry, suggesting using Python 2.6 instead of Python 2.5 (already using 2.6). Any ideas/similar experience?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Oakes</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/comment-page-1#comment-11012</link>
		<dc:creator>Rob Oakes</dc:creator>
		<pubDate>Sun, 14 Mar 2010 22:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/10/07/installing-duplicity-on-mac-os-x#comment-11012</guid>
		<description>Thanks for the head up.  I have had a lot of trouble compiling software on Snow Leopard.  It&#039;s been a while since I tried to compile NCFTP.  I have been having serious problems with PyQt and have not been using Time Drive on Mac for a while.  It&#039;s probably time that re-visit this topic and update the instructions.</description>
		<content:encoded><![CDATA[<p>Thanks for the head up.  I have had a lot of trouble compiling software on Snow Leopard.  It's been a while since I tried to compile NCFTP.  I have been having serious problems with PyQt and have not been using Time Drive on Mac for a while.  It's probably time that re-visit this topic and update the instructions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Olsen</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/comment-page-1#comment-11011</link>
		<dc:creator>Henrik Olsen</dc:creator>
		<pubDate>Sun, 14 Mar 2010 21:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/10/07/installing-duplicity-on-mac-os-x#comment-11011</guid>
		<description>All above libraries missing above have been manually downloaded and installed now. 

By the way, ncftp won&#039;t compile on a clean Snow Leopard install, since the configure script refers to the 10.4 SDK which is not in Xcode in OS X 10.6. Correct as needed. I have informed ncftp maintainers about this now.</description>
		<content:encoded><![CDATA[<p>All above libraries missing above have been manually downloaded and installed now. </p>
<p>By the way, ncftp won't compile on a clean Snow Leopard install, since the configure script refers to the 10.4 SDK which is not in Xcode in OS X 10.6. Correct as needed. I have informed ncftp maintainers about this now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Olsen</title>
		<link>http://www.oak-tree.us/blog/index.php/2009/10/07/duplicity-mac/comment-page-1#comment-11009</link>
		<dc:creator>Henrik Olsen</dc:creator>
		<pubDate>Sun, 14 Mar 2010 11:50:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.oak-tree.us/blog/index.php/2009/10/07/installing-duplicity-on-mac-os-x#comment-11009</guid>
		<description>Running .configure on gnupg-2.0.15 on Mac OS X 10.6.2 gives me this ending:

configure:
***
*** You need libgpg-error to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libgpg-error
*** (at least version 1.4 is required.)
***
configure:
***
*** You need libgcrypt to build this program.
**  This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libgcrypt/
*** (at least version 1.4.0 using API 1 is required.)
***
configure:
***
*** You need libassuan to build this program.
*** This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libassuan/
*** (at least version 2.0.0 (API 2) is required).
***
configure:
***
*** You need libksba to build this program.
*** This library is for example available at
***   ftp://ftp.gnupg.org/gcrypt/libksba/
*** (at least version 1.0.2 using API 1 is required).
***
configure:
***
*** It is now required to build with support for the
*** GNU Portable Threads Library (Pth). Please install this
*** library first.  The library is for example available at
***   ftp://ftp.gnu.org/gnu/pth/
*** On a Debian GNU/Linux system you can install it using
***   apt-get install libpth-dev
*** To build GnuPG for Windows you need to use the W32PTH
*** package; available at:
***   ftp://ftp.g10code.com/g10code/w32pth/
***
configure: error: 
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***

Apparently a lot of libraries are missing.</description>
		<content:encoded><![CDATA[<p>Running .configure on gnupg-2.0.15 on Mac OS X 10.6.2 gives me this ending:</p>
<p>configure:<br />
***<br />
*** You need libgpg-error to build this program.<br />
**  This library is for example available at<br />
***   <a href="ftp://ftp.gnupg.org/gcrypt/libgpg-error" rel="nofollow">ftp://ftp.gnupg.org/gcrypt/libgpg-error</a><br />
*** (at least version 1.4 is required.)<br />
***<br />
configure:<br />
***<br />
*** You need libgcrypt to build this program.<br />
**  This library is for example available at<br />
***   <a href="ftp://ftp.gnupg.org/gcrypt/libgcrypt/" rel="nofollow">ftp://ftp.gnupg.org/gcrypt/libgcrypt/</a><br />
*** (at least version 1.4.0 using API 1 is required.)<br />
***<br />
configure:<br />
***<br />
*** You need libassuan to build this program.<br />
*** This library is for example available at<br />
***   <a href="ftp://ftp.gnupg.org/gcrypt/libassuan/" rel="nofollow">ftp://ftp.gnupg.org/gcrypt/libassuan/</a><br />
*** (at least version 2.0.0 (API 2) is required).<br />
***<br />
configure:<br />
***<br />
*** You need libksba to build this program.<br />
*** This library is for example available at<br />
***   <a href="ftp://ftp.gnupg.org/gcrypt/libksba/" rel="nofollow">ftp://ftp.gnupg.org/gcrypt/libksba/</a><br />
*** (at least version 1.0.2 using API 1 is required).<br />
***<br />
configure:<br />
***<br />
*** It is now required to build with support for the<br />
*** GNU Portable Threads Library (Pth). Please install this<br />
*** library first.  The library is for example available at<br />
***   <a href="ftp://ftp.gnu.org/gnu/pth/" rel="nofollow">ftp://ftp.gnu.org/gnu/pth/</a><br />
*** On a Debian GNU/Linux system you can install it using<br />
***   apt-get install libpth-dev<br />
*** To build GnuPG for Windows you need to use the W32PTH<br />
*** package; available at:<br />
***   <a href="ftp://ftp.g10code.com/g10code/w32pth/" rel="nofollow">ftp://ftp.g10code.com/g10code/w32pth/</a><br />
***<br />
configure: error:<br />
***<br />
*** Required libraries not found. Please consult the above messages<br />
*** and install them before running configure again.<br />
***</p>
<p>Apparently a lot of libraries are missing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

