I wanted to make ptpcam work from my Dockstar, an Arm device with no video output, with debian squeeze installed, with a 1.8-inch 20gb hard drive.
I set up the build environment with the following:
apt-get install build-essential subversion git libusb-dev lua5.1 liblua5.1 liblua5.1-dev
I downloaded ptpcam from the German chdk forum and compiled:
svn co http://subversion.assembla.com/svn/chdkde/trunk/tools/ptpcam/
cp ptpcam /usr/lib/ptpcam
I plugged in my camera (an A590is) and executed the following commands:
<conn>download A/DCIM/133CANON/IMG_7436.JPG image
cp image /var/www
IMG_7436.JPG is downloaded to my dockstar as "image" and then is copied to my web server directory, /var/www.
Then in a browser, http://192.168.1.84/image shows the following: