On Sun, Apr 05, 2020 at 01:29:38PM -0700, Christopher Kao wrote: > Specifically, this is what I saw. See attached file. It was the error when I > did these following steps: > > cd libgphoto2 > /configure --prefix=/usr --libdir=/usr/local/Cellar/libgphoto2/2.5.24/lib/ > echo $PKG_CONFIG_PATH (I noticed that this was blank) > make clean > make -j6 > make install > sudo make instal > > Separately, I had also done `brew uninstall gphoto2` and then git cloned > gphoto2. I tried configuring it to use the libgphoto2 directory and building, > but that did not work. And I saw gphoto2 —version was showing like a much > older version of libgphoto2 being used, like 2.5.09 or something. > > Chris > > >
> christopherkao@Christophers-MacBook-Pro libgphoto2 % sudo make install > Password: > Making install in libgphoto2_port > Making install in po > if test "libgphoto2_port" = "gettext-tools"; then \ > /bin/sh ../auto-aux/mkinstalldirs /usr/share/gettext/po; \ > for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed > en@quot.header en@boldquot.header insert-header.sin Rules-quot > Makevars.template; do \ > /usr/bin/install -c -m 644 ./$file \ > /usr/share/gettext/po/$file; \ > done; \ > for file in Makevars; do \ > rm -f /usr/share/gettext/po/$file; \ > done; \ > else \ > : ; \ > fi > Making install in libgphoto2_port > ../auto-aux/install-sh -c -d '/usr/local/Cellar/libgphoto2/2.5.24/lib' > /bin/sh ../libtool --mode=install /usr/bin/install -c libgphoto2_port.la > '/usr/local/Cellar/libgphoto2/2.5.24/lib' > libtool: install: /usr/bin/install -c .libs/libgphoto2_port.12.dylib > /usr/local/Cellar/libgphoto2/2.5.24/lib/libgphoto2_port.12.dylib > libtool: install: (cd /usr/local/Cellar/libgphoto2/2.5.24/lib && { ln -s -f > libgphoto2_port.12.dylib libgphoto2_port.dylib || { rm -f > libgphoto2_port.dylib && ln -s libgphoto2_port.12.dylib > libgphoto2_port.dylib; }; }) > libtool: install: /usr/bin/install -c .libs/libgphoto2_port.lai > /usr/local/Cellar/libgphoto2/2.5.24/lib/libgphoto2_port.la > make[3]: Nothing to be done for `install-data-am'. > Making install in test > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > Making install in . > auto-aux/install-sh -c -d '/usr/bin' > /usr/bin/install -c gphoto2-port-config '/usr/bin' > install: /usr/bin/gphoto2-port-config: Operation not permitted > make[3]: *** [install-binSCRIPTS] Error 71 > make[2]: *** [install-am] Error 2 > make[1]: *** [install-recursive] Error 1 > make: *** [install-recursive] Error 1 > christopherkao@Christophers-MacBook-Pro libgphoto2 % sudo make install Super weird, it is not allowed to write to /usr/bin ... Can you try with "sudo make -k install" so it will skip the /usr parts and just put in the libraries which should be sufficient? If this does not work... we can still try some first lowlevel debugging even with the older version: find out if PTP deviceinfo changes on 9005 opcode: (LEOpenSession) gphoto2 --debug --debug-logfile=9005.log --set-config opcode=0x9005,0 --set-config opcode=0x1001 see what streams are reported: gphoto2 --debug --debug-logfile=1015.log --set-config opcode=0x1015,0x5020 gphoto2 --debug --debug-logfile=1024.log --set-config opcode=0x1024,0x1 --set-config opcode=0x1024,0x2 Ciao, Marcus _______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel