Re: autogen woes

Stewart Heitmann <stewart-/[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.devel
Message-ID <[email protected]>
To answer my own question:
pkg-config needs to be installed prior to running autogen.sh
This should be mentioned in the build FAQ because the autogen
script doesn't check for its absence.
--
Stewart


On Wed, 2 Jun 2004 10:51 am, Stewart Heitmann wrote:
> After having trouble automaking the multisync Makefiles on FreeBSD
> I thought I'd try it on a Linux box to see if it worked on that.
> Unfortunately no. The configure script complains of a syntax error at
> PKG_CHECK_MODULES(PACKAGE, $(pkg_modules))
> Anybody got any ideas about what is wrong here?
> (see below)
>
> [[email protected] multisync]$ ./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 .
> Running aclocal  ...
> Running autoheader...
> Running automake --gnu  ...
> Makefile.am:3: required directory ./src does not exist
> Running autoconf ...
> Running ./configure --enable-maintainer-mode ...
> loading cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of Makefiles... yes
> checking for strerror in -lcposix... no
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for bison... bison -y
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking host system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking for object suffix... o
> checking for executable suffix... no
> checking command to parse /usr/bin/nm -B output... ok
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... no
> creating libtool
> ./configure: line 5549: syntax error near unexpected token
> `PKG_CHECK_MODULES(PACKAGE,'
> ./configure: line 5549: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'
>
> The offending code in the configure file is
>         pkg_modules="libgnomeui-2.0 libbonobo-2.0 glib-2.0 gconf-2.0"
>         PKG_CHECK_MODULES(PACKAGE, $(pkg_modules))
>
> I am running Linux 2.6.2 with Autoconf version 2.13 and
> automake (GNU automake) 1.4-p4
>
> Stewart
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>
> >From Windows to Linux, servers to mobile, InstallShield X is the one
>
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Multisync-devel mailing list
> Multisync-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/multisync-devel



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.