Re: Errors building gtkam on Trisquel 8 (Based on Ubuntu 16.04)
Marcus Meissner <[email protected]> Sun, 30 Aug 2020 11:13:10 +0200
| Newsgroups | gmane.comp.multimedia.gphoto.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, This looks like a too old gtkam.... May I ask what you want to achieve? - gtkam should be included in Ubuntu already, no need to build your own. - If you just want a graphical UI, perhaps better use the better maintained "entangle", which is also in Ubuntu. There is probably no need to build it yourself. Ciao, Marcus On Sun, Aug 30, 2020 at 10:24:17AM +0200, [email protected] wrote: > System info: > $ cat /etc/*-release > DISTRIB_ID=Trisquel > DISTRIB_RELEASE=8.0 > DISTRIB_CODENAME=flidas > DISTRIB_DESCRIPTION="Trisquel GNU/Linux 8.0, Flidas" > NAME="Trisquel GNU/Linux" > VERSION="8.0, Flidas" > ID=trisquel > ID_LIKE=debian > PRETTY_NAME="Trisquel GNU/Linux Flidas (8.0)" > VERSION_ID="8.0" > HOME_URL="https://trisquel.info/" > SUPPORT_URL="https://trisquel.info/wiki" > BUG_REPORT_URL="https://trisquel.info/project/issues" > > (Based on Ubuntu 16.04 LTS (Xenial Xerus)) > > $ uname -a > Linux technoethical-t400s-b9d0 4.19.139-gnu #1.0 SMP Tue Sep 27 12:35:59 EST > 1983 x86_64 x86_64 x86_64 GNU/Linux > > ---------------------------------------------------------------- > > Having managed to build a local version gphoto2 2.5.23 I am now trying to > get the gtkam GUI front end working for it. > > I have installed gtk+2.0 and libexif-gtk-dev and configured the package > using the following command: > ./configure --prefix /local/usr/local/gtkam > --with-libgphoto2=/local/usr/local/gphoto2 > .... > Configuration (gtkam 1.0): > > Build > Source code location: . > Compiler: gcc > > Features > Use translations: yes > libgphoto2: yes > bonobo support: no (bonobo-activation, bononoboui libs) > Gnome support: no (gnomeui lib) > GTKAM_C_IDENTIFIER: > file:$(datadir)/gnome/help/gtkam/C/gtkam.xml > Gimp support: no > libexif: yes > libexif-gtk: yes > > You may run "make" and "make install" now. > > But when I try to build it I get the following error: > $ make > .... > mv -f .deps/libgtkam_a-gtkam-cancel.Tpo .deps/libgtkam_a-gtkam-cancel.Po > gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src > -DLOCALEDIR=\"/local/usr/local/gtkam/share/locale\" > -DAPP_DATADIR=\"/local/usr/local/gtkam/share\" > -DIMAGE_DIR=\"/local/usr/local/gtkam/share/images/gtkam\" -Wall > -Wmissing-declarations -Wmissing-prototypes -g -I/usr/include/libexif > -pthread -I/usr/include/libexif -I/usr/include/gtk-2.0 > -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 > -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/freetype2 -I/usr/include/libexif > -I/local/usr/local/gphoto2/include -pthread -I/usr/include/gtk-2.0 > -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 > -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/freetype2 -g -O2 -MT libgtkam_a-gtkam-chooser.o -MD -MP > -MF .deps/libgtkam_a-gtkam-chooser.Tpo -c -o libgtkam_a-gtkam-chooser.o > `test -f 'gtkam-chooser.c' || echo './'`gtkam-chooser.c > gtkam-chooser.c: In function ‘on_port_added’: > gtkam-chooser.c:528:41: error: request for member ‘name’ in something not a > structure or union > name = g_strdup_printf ("%s (%s)", info.name, info.path); > ^ > gtkam-chooser.c:528:52: error: request for member ‘path’ in something not a > structure or union > name = g_strdup_printf ("%s (%s)", info.name, info.path); > ^ > gtkam-chooser.c: In function ‘gtkam_chooser_set_port_mask’: > gtkam-chooser.c:787:11: error: request for member ‘type’ in something not a > structure or union > if (info.type & types) > ^ > gtkam-chooser.c:789:16: error: request for member ‘name’ in something not a > structure or union > info.name, info.path)); > ^ > gtkam-chooser.c:789:27: error: request for member ‘path’ in something not a > structure or union > info.name, info.path)); > ^ > gtkam-chooser.c: In function ‘gtkam_chooser_set_camera’: > gtkam-chooser.c:816:46: error: request for member ‘name’ in something not a > structure or union > full_info = g_strdup_printf ("%s (%s)", info.name, info.path); > ^ > gtkam-chooser.c:816:57: error: request for member ‘path’ in something not a > structure or union > full_info = g_strdup_printf ("%s (%s)", info.name, info.path); > ^ > Makefile:740: recipe for target 'libgtkam_a-gtkam-chooser.o' failed > make[2]: *** [libgtkam_a-gtkam-chooser.o] Error 1 > make[2]: Leaving directory '/local/usr/local/src/gtkam-1.0/src' > Makefile:603: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/local/usr/local/src/gtkam-1.0' > Makefile:466: recipe for target 'all' failed > make: *** [all] Error 2 > root@technoethical-t400s-b9d0:/local/usr/local/src/gtkam-1.0# > > > Anyone seen this error before ? > Looks like there is something missing from the build or maybe something not > being linked to ? > > > _______________________________________________ > Gphoto-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gphoto-user _______________________________________________ Gphoto-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gphoto-user