[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gphoto
Subject:    Re: [gphoto] `AM_PATH_GTK' not found in library
From:       Thorsten Westheider <thorsten.westheider () teleos-web ! de>
Date:       2000-12-11 18:14:52
[Download RAW message or body]

Philippe Marzouk wrote:
> 
> Le 2000.12.11 11:32:35 +0100, Thorsten Westheider a écrit :
> > Hi,
> >
> > I'm trying to build gtKam (CVS) but fail to do so:
> >
> > kde20@weyoun:~/gphoto2/gtkam > ./autogen.sh
> > **Warning**: I am going to run `configure' with no arguments.
> > If you wish to pass any to it, please specify them on the
> > `./autogen.sh' command line.
> >
> > processing .
> > Creating ./aclocal.m4 ...
> > Running gettextize...  Ignore non-fatal messages.
> > You should update your own `aclocal.m4' by adding the necessary
> > macro packages gettext.m4, lcmessage.m4 and progtest.m4 from
> > the directory `/aclocal'
> > Making ./aclocal.m4 writable ...
> > Running aclocal  ...
> > aclocal: configure.in: 12: macro `AM_PATH_GTK' not found in library
> > Running autoheader...
> > Running automake --gnu  ...
> > Running autoconf ...
> > Running ./configure ...
> > loading cache ./config.cache
> > ./configure: line 524: syntax error near unexpected token
> > `AM_INIT_AUTOMAKE(gtkam,'
> > ./configure: line 524: `AM_INIT_AUTOMAKE(gtkam, 0.1)'
> >
> >
> > (GNU automake 1.4, GNU autoconf 2.14).
> >
> > Same trouble with gphoto1 (CVS):
> >
> > kde20@weyoun:~/gphoto1/gphoto > ./autogen.sh
> > I am going to run ./configure with no arguments - if you wish
> > to pass any to it, please specify them on the ./autogen.sh command line.
> > processing .
> > You should add the contents of `/usr/share/aclocal/libtool.m4' to
> > `aclocal.m4'.
> > aclocal: configure.in: 48: macro `AM_PATH_GLIB' not found in library
> > aclocal: configure.in: 50: macro `AM_PATH_GTK' not found in library
> > aclocal: configure.in: 52: macro `AM_PATH_GDK_IMLIB' not found in library
> > automake: Makefile.am: required file `./ChangeLog' not found
> > loading cache ./config.cache
> > ./configure: line 526: syntax error near unexpected token
> > `AM_CONFIG_HEADER(config.h)'
> > ./configure: line 526: `AM_CONFIG_HEADER(config.h)'
> >
> > Now type 'make' to compile gphoto.
> >
> >
> > Could anyone help me with this one, please? Thank you.
> >
> >       Regards,
> >         Thorsten Westheider
> >
> > PS: All other stuff such as gphoto-0.4.3, libusb (CVS),
> > ligpio (CVS) and gphoto2 (CVS) compile just fine.
> 
> You have gtk, glib and imlib, right ?
>
> If you use a distribution and installed packages don't forget to install
> the *-devel packages and try again after deleting config.cache.

No, that can't be the problem, I installed gtk/glib/imlib
from source. Besides, this appears to be a problem with
automake m4 macro calls not being replaced by shell script 
code, excerpt from configure:

523 fi
524
525
526 AM_CONFIG_HEADER(config.h)
527 AM_INIT_AUTOMAKE(gphoto, 0.4.4)
528 AM_MAINTAINER_MODE
529
530 # Extract the first word of "gcc", so it can be a program name with args.

	
	Regards,
	  Thorsten Westheider
	
-- 
Dipl.-Phys. Thorsten Westheider     / /  (_)__  __ ____  __    
Im Schlingen 15                    / /__/ / _ \/ // /\ \/ /   
32120 Hiddenhausen -- Germany     /____/_/_//_/\_,_/ /_/\_\

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic