[Digikam-users] problems in compile gphoto2-2.2.0 using libgphot2-2.2.1

adasal adam.saltiel at gmail.com
Fri Oct 20 08:55:33 BST 2006


Does anyone know about this?
digikam has a dependency in gphoto, but I am unable to get gphoto to
compile.
I have compiled libgphoto and configure of gphoto gives:-

...
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating gphoto2/Makefile
config.status: creating m4m/Makefile
config.status: creating doc/Makefile
config.status: creating packaging/Makefile
config.status: creating packaging/rpm/Makefile
config.status: creating packaging/rpm/package.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Configuration (gphoto2 2.2.0):

  Build
    Source code location:          .
    Compiler:                      gcc

  Features
    Use translations:              yes
    libgphoto2:                    yes
    pthread support:               yes (-lpthread)
    Interactive config support:    no (http://dickey.his.com/cdk/cdk.html)
    JPEG support:                  yes
    libexif:                       no
    Text preview support:          no (
http://www.sourceforge.net/projects/aa-project)
    use popt library:              yes
    popt libs:                     -L/usr/ -lpopt
    popt cppflags:                 -I/usr/include
    Readline support:              yes (requires explicit -lncurses)


But make and make install give the following sort of erros (this from
make):-

> [root at localhost gphoto2-2.2.0]# make  all-recursive
> Making all in m4m
> make[1]: Entering directory `/home/adam/gphoto2-2.2.0/m4m'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/adam/gphoto2-2.2.0/m4m'
> Making all in doc
> make[1]: Entering directory `/home/adam/gphoto2-2.2.0/doc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/adam/gphoto2-2.2.0/doc'
> Making all in gphoto2
> make[1]: Entering directory `/home/adam/gphoto2-2.2.0/gphoto2'
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../gphoto2
> -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -Wmissing-declarations
> -Wmissing-prototypes -g  -I.. -I../gphoto2
> -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -Wmissing-declarations
> -Wmissing-prototypes -g   -I/usr/local/lib/libgphoto2/include
> -I/usr/include/libexif  -I/usr/include -g -O2 -MT gphoto2-actions.o -MD
> -MP -MF ".deps/gphoto2-actions.Tpo" -c -o gphoto2-actions.o `test -f '
> actions.c' || echo './'`actions.c; \
> then mv -f ".deps/gphoto2-actions.Tpo" ".deps/gphoto2-actions.Po"; else rm
> -f ".deps/gphoto2-actions.Tpo"; exit 1; fi
> In file included from actions.c:25:
> actions.h:24:28: error: gphoto2-camera.h: No such file or directory
> actions.h:25:29: error: gphoto2-context.h: No such file or directory
> In file included from ./gp-params.h:24,
>                  from actions.h:27,
>                  from actions.c:25:
> /usr/local/include/gphoto2/gphoto2-camera.h:42:26: error: gphoto2-port.h:
> No such file or directory
>

The only thing that I could find that seemed relevant in the lists is to
recompile libgphoto with make all-local, then with make. I did this and it
did seem to compile differently, but has solved the error.
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20061020/5e01a848/attachment.html>


More information about the Digikam-users mailing list