CHDKPTP required libc version in debian linux

  • 7 Replies
  • 1016 Views
CHDKPTP required libc version in debian linux
« on: 29 / December / 2014, 09:12:07 »
Advertisements
Hi Folks,
Recently started using CHDK on a A470 and it's good. However today I started looking at PTP and have run up against the problem of Debian Wheezy (stable) having glibc 2.13 where as chdhptp is asking for 2.14. I could hack a newer version in, but that could destabilise other things and I don't want to go there yet.

So my question is, is there a release of chdkptp that will work with glibc 2.13?

I have searched the forum and not come up with an answer. If however this has been 'done to death' please sent me the link.

Many thanks

FF
« Last Edit: 29 / December / 2014, 09:19:20 by fastflamez »

*

Offline reyalp

  • ******
  • 11090
Re: CHDKPTP required libc version in debian linux
« Reply #1 on: 29 / December / 2014, 12:39:17 »
So my question is, is there a release of chdkptp that will work with glibc 2.13?

I have searched the forum and not come up with an answer. If however this has been 'done to death' please sent me the link.
Due to limited resources, I only provide builds for one Linux version, currently Ubuntu 14.04 64 bit. Prior to build 658, the binaries were built on Ubuntu 10.04. Those might work on your system (they worked on various later Ubuntu versions for me), but you won't have the latest bug fixes.

Building from source is not terribly difficult. Everything you need should be explained in README.TXT.

Briefly:
Download the source, either using https://www.assembla.com/code/chdkptp/subversion/nodes/658/trunk or svn co
install Lua 5.2 and libusb development packages with apt-get
If you want GUI support, download the appropriate IUP and CD pre-built libraries and unpack them somewhere
copy config-sample-linux.mk to config.mk and edit to taste
make
copy chdkptp-sample.sh to chdkptp.sh and edit the paths as needed
to use chdkptp, run chdkptp.sh
Don't forget what the H stands for.

Re: CHDKPTP required libc version in debian linux
« Reply #2 on: 30 / December / 2014, 16:29:22 »
Hi, Thanks for your reply. I take your point about the bug fixes so I'll install a distro with a later version of glibc. I'll try Arch as it seems to be suitable (and a challenge  :'( ). No doubt I'll be back soon with other questions or points of interest.

Many thanks again..

FF

*

Offline reyalp

  • ******
  • 11090
Re: CHDKPTP required libc version in debian linux
« Reply #3 on: 30 / December / 2014, 17:35:19 »
Hi, Thanks for your reply. I take your point about the bug fixes so I'll install a distro with a later version of glibc. I'll try Arch as it seems to be suitable (and a challenge  :'( ). No doubt I'll be back soon with other questions or points of interest.
Oh, I meant chdkptp bug fixes, unrelated to libc, if you used the old pre-compiled binaries.

Wheezy should be supported for a while yet.

Don't forget what the H stands for.


Re: CHDKPTP required libc version in debian linux
« Reply #4 on: 31 / December / 2014, 11:01:56 »
I take your point about the bug fixes so I'll install a distro with a later version of glibc. I'll try Arch as it seems to be suitable (and a challenge  :'( ).
I find it somewhat interesting that you feel that it's easier to switch to a new Linux distribution than to try compiling chdkptp from source with your existing installation.

FWIW - another reason to "roll your own" is that reyalp's compiled versions usually lag his current development trunk (understandably) so if you want to be on top of all the fixes and update, compiling from source is the way to go.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKPTP required libc version in debian linux
« Reply #5 on: 01 / January / 2015, 04:11:02 »
Hi, Yes it does look a bit like I'm chucking the baby out with the bath water :) Wheezy is a solid realese, but I've experienced a couple of issues of this sort lately and I guess I was already thinking about setting up a dedicated dev box which I could break and remake without disrupting my mundane stuff. I guess I'm just using the libc problems as an excuse to play  :D
Thanks for the help and suggestions. I'll check back in to report on progress.

As an aside ( and really belonging in a new thread I guess) the ultimate aim is to have a an array of 8 cameras, synchronised with other bits of kit. I'd be interested in comments regarding the feasibility of this kind of setup.

Happy new year
FF

Re: CHDKPTP required libc version in debian linux
« Reply #6 on: 01 / January / 2015, 09:34:00 »
As an aside ( and really belonging in a new thread I guess) the ultimate aim is to have a an array of 8 cameras, synchronised with other bits of kit. I'd be interested in comments regarding the feasibility of this kind of setup.
Started this a while ago and have not updated recently.  But it will get you going : http://chdk.wikia.com/wiki/Multiple_Cameras_using_CHDK
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDKPTP required libc version in debian linux
« Reply #7 on: 01 / January / 2015, 10:21:08 »
Nice, that will indeed get me going.

Thanks

FF


 

Related Topics