gphoto2 error during compile on Mac OS X 10.6.2 Darwin Kernel Version 10.2.0
gcc -I.. -I../gphoto2 -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -Wmissing-declarations -Wmissing-prototypes -g -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include/gphoto2 -I/usr/local/include -I/usr/local/include -I/usr/include -g -O2 -Wall -g -o gphoto2 gphoto2-actions.o gphoto2-foreach.o gphoto2-gp-params.o gphoto2-spawnve.o gphoto2-main.o gphoto2-version.o gphoto2-range.o gphoto2-shell.o /usr/local/lib/libjpeg.dylib -lpthread -L/usr/local/lib -lreadline /usr/local/lib/libgphoto2.dylib /usr/local/lib/libgphoto2_port.dylib -lltdl /usr/local/lib/libexif.dylib -lm /usr/local/lib/libusb.dylib /usr/local/lib/libusb-1.0.dylib -L/usr/ /usr/local/lib/libpopt.dylib -liconv
Undefined symbols:
"_rl_copy_text", referenced from:
_shell_completion_function in gphoto2-shell.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [gphoto2] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This page provided a hint that the problem is to do with readline:
http://mail-index.netbsd.org/pkgsrc-bugs/2007/06/14/msg023528.html
./configure --without-readline
avoided the error
with the exception of the above error, the following compiled without errors:
gphoto2-2.4.8
jpeg-8
libexif-0.6.19
libgphoto2-2.4.8
libusb-1.0.6
libusb-compat-0.1.3
pkg-config-0.23
popt-1.14
-- linux_macosx_hints_etc page