simcox1 is right. If you use precompiled binary packages from linuxpackages.net, then all you need to do is, as root:
installpkg libgphoto2*.tgz
installpkg gphoto2*.tgz
Or, you can grab both the libgphoto2 and the gphoto2 source code tarballs, which end in .tar.gz (note, NOT .tgz), then you would unpack each tarball like so:
tar -xvf libgphoto2*.tar.gz
tar -xvf gphoto2*.tar.gz
Then, go libgphoto2 directory first, and issue three commands:
./compile
make
make install (or checkinstall)
(I would recommend installing the "checkinstall" package that is found in the Slackware /extra directory. The checkinstall command replaces "make install" and what it does is creates a Slackware-compatible binary for you and installs it. That way, the package will show up in the Slackware pkgtool package list. If you just ./compile, make, make install then it will not show up in pkgtool).
Then, go into gphoto2 directory and do the same thing:
./compile
make
make install (or checkinstall)
That should get you going.
Two LQ threads that may help:
http://www.linuxquestions.org/questi...92#post1495892
http://www.linuxquestions.org/questi...hreadid=302174