Roland's homepage

My random knot in the Web

Building gphoto2-ffi on FreeBSD

date: 2017-04-18
reading time: 1 min.
category: freebsd


Clone the repository from

> cd ~/github
> git clone


I had to specify where to find the include files.

> env C_INCLUDE_PATH=/usr/local/include python3 build

Install and clean-up

# python3 install
# python3 clean
# rm -rf dist
> rm -rf gphoto2_cffi.egg-info


The package is installed in /usr/local/lib/python3.6/site-packages/ gphoto2_cffi-0.3-py3.6-freebsd-11.0-STABLE-amd64.egg/

←  Updating python3 to 3.6 Fixing dependencies after mesa ports consolidation  →