<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Gphoto2 on Mac OSX</title>
	<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/</link>
	<description>Writing about night photography, low-light photography, infrared photography and light painting.</description>
	<pubDate>Mon, 06 Oct 2008 15:49:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.1</generator>

	<item>
		<title>By: Justin</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-15</link>
		<author>Justin</author>
		<pubDate>Mon, 25 Sep 2006 22:21:22 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-15</guid>
					<description>Thanks for the help and the tips!</description>
		<content:encoded><![CDATA[<p>Thanks for the help and the tips!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: tie</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-24</link>
		<author>tie</author>
		<pubDate>Wed, 27 Dec 2006 06:35:36 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-24</guid>
					<description>I tried this with the last thee versions of gphoto, but got the same error for each one running the configure script.  It terminates with:

checking whether popt is required... yes
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
configure: error:
* Cannot autodetect popt.h
*
* Set POPT_CFLAGS and POPT_LIBS correctly.

I'll post again if I figure out what popt is.</description>
		<content:encoded><![CDATA[<p>I tried this with the last thee versions of gphoto, but got the same error for each one running the configure script.  It terminates with:</p>
<p>checking whether popt is required&#8230; yes<br />
checking popt.h usability&#8230; no<br />
checking popt.h presence&#8230; no<br />
checking for popt.h&#8230; no<br />
checking popt.h usability&#8230; no<br />
checking popt.h presence&#8230; no<br />
checking for popt.h&#8230; no<br />
configure: error:<br />
* Cannot autodetect popt.h<br />
*<br />
* Set POPT_CFLAGS and POPT_LIBS correctly.</p>
<p>I&#8217;ll post again if I figure out what popt is.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: tie</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-25</link>
		<author>tie</author>
		<pubDate>Wed, 27 Dec 2006 06:42:27 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-25</guid>
					<description>I installed popt with darwinports (sudo port install popt), but installation still fails on popt:

checking whether popt is required... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptStuffArgs in -lpopt... no
checking for poptStuffArgs in -lpopt... no
checking for poptStuffArgs in -lpopt... no
checking for poptStuffArgs in -lpopt... no
checking for poptStuffArgs in -lpopt... no
configure: error:
* Cannot autodetect library directory containing popt
*
* Set POPT_CFLAGS and POPT_LIBS correctly.</description>
		<content:encoded><![CDATA[<p>I installed popt with darwinports (sudo port install popt), but installation still fails on popt:</p>
<p>checking whether popt is required&#8230; yes<br />
checking popt.h usability&#8230; yes<br />
checking popt.h presence&#8230; yes<br />
checking for popt.h&#8230; yes<br />
checking for poptStuffArgs in -lpopt&#8230; no<br />
checking for poptStuffArgs in -lpopt&#8230; no<br />
checking for poptStuffArgs in -lpopt&#8230; no<br />
checking for poptStuffArgs in -lpopt&#8230; no<br />
checking for poptStuffArgs in -lpopt&#8230; no<br />
configure: error:<br />
* Cannot autodetect library directory containing popt<br />
*<br />
* Set POPT_CFLAGS and POPT_LIBS correctly.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ynse</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-26</link>
		<author>Ynse</author>
		<pubDate>Wed, 27 Dec 2006 10:56:02 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-26</guid>
					<description>As far as I remember I forced the configure script to disable POPT. With POPT enabled I couldn't install it at all. Here's summary of my configuration:

This version of gphoto2 is using the following software versions and options:
gphoto2           2.1.6        gcc, no popt, no exif, no cdk, no aa, no jpeg, no readline
libgphoto2        2.1.6        gcc, no EXIF, ltdl, no /proc/meminfo
libgphoto2_port   0.5.1        gcc, USB, serial without locking, ltdl</description>
		<content:encoded><![CDATA[<p>As far as I remember I forced the configure script to disable POPT. With POPT enabled I couldn&#8217;t install it at all. Here&#8217;s summary of my configuration:</p>
<p>This version of gphoto2 is using the following software versions and options:<br />
gphoto2           2.1.6        gcc, no popt, no exif, no cdk, no aa, no jpeg, no readline<br />
libgphoto2        2.1.6        gcc, no EXIF, ltdl, no /proc/meminfo<br />
libgphoto2_port   0.5.1        gcc, USB, serial without locking, ltdl</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: tie</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-27</link>
		<author>tie</author>
		<pubDate>Thu, 28 Dec 2006 06:53:39 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-27</guid>
					<description>It appears popt is required for the latest gphoto versions.  This includes gphoto 2.2.0, even though the configure script still has --disable-popt as a nonfunctional option!  

Going back to gphoto 2.1.6 and running "./configure --prefix=/opt/local --disable-popt" worked.  I'll see if I can get it working with my D80.  

Thanks very much.</description>
		<content:encoded><![CDATA[<p>It appears popt is required for the latest gphoto versions.  This includes gphoto 2.2.0, even though the configure script still has &#8211;disable-popt as a nonfunctional option!  </p>
<p>Going back to gphoto 2.1.6 and running &#8220;./configure &#8211;prefix=/opt/local &#8211;disable-popt&#8221; worked.  I&#8217;ll see if I can get it working with my D80.  </p>
<p>Thanks very much.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: tie</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-28</link>
		<author>tie</author>
		<pubDate>Thu, 28 Dec 2006 07:09:41 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-28</guid>
					<description>Yes, it works!</description>
		<content:encoded><![CDATA[<p>Yes, it works!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-33</link>
		<author>Paul</author>
		<pubDate>Wed, 10 Jan 2007 18:15:33 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-33</guid>
					<description>I've just managed to compile libgphoto2 and gphoto2 from the 2.3.1 gphoto-suite package.

To do this I had to install libusb from macports (was darwinports) and I already had libexif and popt installed. I've yet to test it fully but it's looking good so far.

Looks like the problems of 2.2 could be behind us.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just managed to compile libgphoto2 and gphoto2 from the 2.3.1 gphoto-suite package.</p>
<p>To do this I had to install libusb from macports (was darwinports) and I already had libexif and popt installed. I&#8217;ve yet to test it fully but it&#8217;s looking good so far.</p>
<p>Looks like the problems of 2.2 could be behind us.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Menno</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-35</link>
		<author>Menno</author>
		<pubDate>Sat, 20 Jan 2007 13:52:57 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-35</guid>
					<description>Hi all,

Well I try to do the same thing with my Mac. But I can't get it to work.. I am what new to this kind of installing. But it seems like it installs just fine. 

But when I run the program with the summery option I get the following error:

root# ./gphoto2 --summary
                                                                               
*** Error ***              
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (m). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list , please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --summary

Please make sure there is sufficient quoting around the arguments.
 

Do you perhaps know what to make of this ??

(the camera is a Nikon D70, connected on usb with PTP)</description>
		<content:encoded><![CDATA[<p>Hi all,</p>
<p>Well I try to do the same thing with my Mac. But I can&#8217;t get it to work.. I am what new to this kind of installing. But it seems like it installs just fine. </p>
<p>But when I run the program with the summery option I get the following error:</p>
<p>root# ./gphoto2 &#8211;summary</p>
<p>*** Error ***<br />
An error occurred in the io-library (&#8217;Could not claim the USB device&#8217;): Could not claim interface 0 (m). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.<br />
*** Error (-53: &#8216;Could not claim the USB device&#8217;) ***       </p>
<p>For debugging messages, please use the &#8211;debug option.<br />
Debugging messages may help finding a solution to your problem.<br />
If you intend to send any error or debug messages to the gphoto<br />
developer mailing list , please run<br />
gphoto2 as follows:</p>
<p>    env LANG=C gphoto2 &#8211;debug &#8211;debug-logfile=my-logfile.txt &#8211;summary</p>
<p>Please make sure there is sufficient quoting around the arguments.</p>
<p>Do you perhaps know what to make of this ??</p>
<p>(the camera is a Nikon D70, connected on usb with PTP)</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ynse</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-36</link>
		<author>Ynse</author>
		<pubDate>Sun, 21 Jan 2007 22:23:03 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-36</guid>
					<description>Paul, I'm glad it's working now, I will try to update gphoto on my Mac.

Menno, did you try to kill the PTPCamera process? What libraries versions o you use?

I will try to make a major update on the topic following Paul's information that newest gphoto works pretty well and post it on this site. I don't work on Mac so much as before, which translates into long delays in trying new things...</description>
		<content:encoded><![CDATA[<p>Paul, I&#8217;m glad it&#8217;s working now, I will try to update gphoto on my Mac.</p>
<p>Menno, did you try to kill the PTPCamera process? What libraries versions o you use?</p>
<p>I will try to make a major update on the topic following Paul&#8217;s information that newest gphoto works pretty well and post it on this site. I don&#8217;t work on Mac so much as before, which translates into long delays in trying new things&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: nigel</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-40</link>
		<author>nigel</author>
		<pubDate>Thu, 01 Feb 2007 01:16:24 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-40</guid>
					<description>I managed to get  libgphoto2 and gphoto2 from the 2.3.1 gphoto-suite package to compile also.  However, I had to install popt from Macports AND put simlinks from /opt/local/lib and /opt/local/include before configure could find popt

 ln -s /opt/local/include/popt.* /usr/include/
 ln -s /opt/local/lib/libpopt.* /usr/lib/</description>
		<content:encoded><![CDATA[<p>I managed to get  libgphoto2 and gphoto2 from the 2.3.1 gphoto-suite package to compile also.  However, I had to install popt from Macports AND put simlinks from /opt/local/lib and /opt/local/include before configure could find popt</p>
<p> ln -s /opt/local/include/popt.* /usr/include/<br />
 ln -s /opt/local/lib/libpopt.* /usr/lib/</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Menno</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-44</link>
		<author>Menno</author>
		<pubDate>Mon, 19 Feb 2007 10:13:04 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-44</guid>
					<description>Hi all, 

sorry I didn't do this sooner: But it is working now. I didn't see the process. But with some help i found that that was the problem. Thanks !!

just posting this so everybody knows: ps -ax &#124; grep PTP</description>
		<content:encoded><![CDATA[<p>Hi all, </p>
<p>sorry I didn&#8217;t do this sooner: But it is working now. I didn&#8217;t see the process. But with some help i found that that was the problem. Thanks !!</p>
<p>just posting this so everybody knows: ps -ax | grep PTP</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: justin</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-45</link>
		<author>justin</author>
		<pubDate>Fri, 23 Feb 2007 17:55:36 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-45</guid>
					<description>Thanks for the hints everyone. Nice to have one that compiles without too much hacking.</description>
		<content:encoded><![CDATA[<p>Thanks for the hints everyone. Nice to have one that compiles without too much hacking.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: New Media Initiatives Blog &#187; Party People Tech Details</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-46</link>
		<author>New Media Initiatives Blog &#187; Party People Tech Details</author>
		<pubDate>Fri, 23 Feb 2007 18:19:32 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-46</guid>
					<description>[...] Gphoto2 was also recently updated to 2.3.0, and it now compiles without too much trickery on OS X. However, it hasn&#8217;t fixed my problems with capture on the Canon 10D. I might experiment with modifying the Canon class for the 10D a bit to see if I can get it to work. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Gphoto2 was also recently updated to 2.3.0, and it now compiles without too much trickery on OS X. However, it hasn&#8217;t fixed my problems with capture on the Canon 10D. I might experiment with modifying the Canon class for the 10D a bit to see if I can get it to work. [&#8230;]</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: ene</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-70</link>
		<author>ene</author>
		<pubDate>Thu, 22 Mar 2007 09:06:01 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-70</guid>
					<description>Hi,
I was looking for a tool to remote control my D50 and I found gphoto2 and this post.

I installed DarwinPorts.
I installed libgphoto2 with:
   sudo port install libgphoto2

Then I tried doing this:
  sudo port install gphoto2

and it worked :)

Now I'm trying to use gphoto2.3.1 :)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I was looking for a tool to remote control my D50 and I found gphoto2 and this post.</p>
<p>I installed DarwinPorts.<br />
I installed libgphoto2 with:<br />
   sudo port install libgphoto2</p>
<p>Then I tried doing this:<br />
  sudo port install gphoto2</p>
<p>and it worked <img src='http://www.ynse.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now I&#8217;m trying to use gphoto2.3.1 <img src='http://www.ynse.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-166</link>
		<author>Robert</author>
		<pubDate>Sat, 28 Apr 2007 16:39:25 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-166</guid>
					<description>I just set up libgphoto2 and gphoto2 (2.3.1) on OS X 10.4.9 without DarwinPorts and thought I'd add a couple of nuggets of (hopefully) helpful info to this very helpful page.

I use fink and so have lots of stuff in /sw. Fink can build libgphoto2. It's not the latest version, but it has a helpful patch script. So, for libgphoto2:

perl -pi -e "s/-g -O/-O/g;s/-O2/-Os/g" configure libgphoto2_port/configure libltdl/configure
./configure --with-extra-libs=/sw/lib --with-extra-includes=/sw/include

And then for gphoto2:

./configure POPT_CFLAGS="-I/sw/include" POPT_LIBS="-L/sw/lib -lpopt" CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib"</description>
		<content:encoded><![CDATA[<p>I just set up libgphoto2 and gphoto2 (2.3.1) on OS X 10.4.9 without DarwinPorts and thought I&#8217;d add a couple of nuggets of (hopefully) helpful info to this very helpful page.</p>
<p>I use fink and so have lots of stuff in /sw. Fink can build libgphoto2. It&#8217;s not the latest version, but it has a helpful patch script. So, for libgphoto2:</p>
<p>perl -pi -e &#8220;s/-g -O/-O/g;s/-O2/-Os/g&#8221; configure libgphoto2_port/configure libltdl/configure<br />
./configure &#8211;with-extra-libs=/sw/lib &#8211;with-extra-includes=/sw/include</p>
<p>And then for gphoto2:</p>
<p>./configure POPT_CFLAGS=&#8221;-I/sw/include&#8221; POPT_LIBS=&#8221;-L/sw/lib -lpopt&#8221; CPPFLAGS=&#8221;-I/sw/include&#8221; LDFLAGS=&#8221;-L/sw/lib&#8221;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David</title>
		<link>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-1626</link>
		<author>David</author>
		<pubDate>Fri, 09 Nov 2007 14:23:19 +0000</pubDate>
		<guid>http://www.ynse.net/2006/09/10/gphoto2-on-mac-osx/#comment-1626</guid>
					<description>I'm trying to compile gphoto2 2.4.0.1 on OS X from svn. I've gotten it to work under Linux. This is the first version that will actually capture multiple images with my D70. 

libgphoto2 will compile if you change every instance of u_char to unsigned char, u_short to unsigned short, u_long to unsigned long, and u_int to unsigned int. 

After creating symlinks as described above:

ln -s /opt/local/include/popt.* /usr/include/
ln -s /opt/local/lib/libpopt.* /usr/lib/

It was possible to configure gphoto2:

./configure --with-libgphoto2=/usr/local/

No success yet compiling though.</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to compile gphoto2 2.4.0.1 on OS X from svn. I&#8217;ve gotten it to work under Linux. This is the first version that will actually capture multiple images with my D70. </p>
<p>libgphoto2 will compile if you change every instance of u_char to unsigned char, u_short to unsigned short, u_long to unsigned long, and u_int to unsigned int. </p>
<p>After creating symlinks as described above:</p>
<p>ln -s /opt/local/include/popt.* /usr/include/<br />
ln -s /opt/local/lib/libpopt.* /usr/lib/</p>
<p>It was possible to configure gphoto2:</p>
<p>./configure &#8211;with-libgphoto2=/usr/local/</p>
<p>No success yet compiling though.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
