Re: ./configure stoped

"Jason Long" <[email protected]> Tue, 24 Feb 2004 11:19:56 -0500
Newsgroups gmane.comp.sysutils.cfg.devel
Message-ID <[email protected]>
Ok, this syntax error appears to be related to the pkgconfig program.
Basically, the PKG_CHECK_MODULES isn't defined in the aclocal.m4 file, which
is generated when you run ./autogen.sh. On my system, the PKG_CHECK_MODULES
is found in /usr/share/aclocal/pkg.m4 and copied into aclocal.m4 when I run
../autogen.sh.

It may be that you don't have pkg-config installed. If this is the case,
simply install pkgconfig and rerun ./autogen.sh. If you do have pkg-config
installed, it may be in an unusual installation prefix. If this is the case,
find out where the pkg.m4 file is, and do the following...

Edit autogen.sh. Add a -I option to the aclocal command, giving it the path
to the directory containing the pkg.m4 file. E.g.
aclocal -I /usr/share/aclocal

By the way, what distribution are you using?

Jason



>>> [email protected] 2/24/04 10:56:16 AM >>>
Jason Long wrote:
> The following steps should let you build without PHP:
> 1. Edit configure.in. Comment out the line containing cfg_PHP_CFLAGS.
> 	I.e. make it like this:
> 	# cfg_PHP_CFLAGS
> 2. Edit src/wrappers/Makefile.am. Remove php from the SUBDIRS = line.
> 	I.e. make it like this:
> 	SUBDIRS = perl5
> 3. Rerun ./autogen.sh.

Thank you Jason, I followed your recomendaton. It looks better, no php
checks 
anymore, unfortunately it still keeps complaining about a syntax error:


../autogen.sh --with-xerces-c-root="/usr"
[...]
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/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
appending configuration tag "F77" to libtool
checking for Xerces-C++ library... found
checking for perl... /usr/bin/perl
checking for Perl version >= 5.004... yes
checking for Perl include files... -I/usr/lib/perl5/5.8.1/
i586-linux-thread-multi/CORE
../configure: line 18412: syntax error near unexpected token `LIBCFGDOM,'
../configure: line 18412: `PKG_CHECK_MODULES(LIBCFGDOM, libxml-2.0 glib-2.0

gobject-2.0)'


> Jason
>

Christian




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click 
_______________________________________________
Config4gnu-developer mailing list
Config4gnu-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org 
https://lists.sourceforge.net/lists/listinfo/config4gnu-developer


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click