[Mono-list] glib-2.0 version check in ./configure

ciriso@ave128.retena.es ciriso@ave128.retena.es
Mon, 22 Jul 2002 22:20:38 +0200


 E> 
> I got around this error by upgrading autoconf/automake/libtool
> to the latest.

	Hi

	I have glib-1.2.7 
	 antioco:~$ glib-config --version
	1.2.7
 	When i running the  ./configure program for build
	mono-0.2  i obtain this error  :

Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
checking for glib-2.0 >= 1.3.11... Package glib-2.0 was not found in the 
pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

configure: error: Library requirements (glib-2.0 >= 1.3.11) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in 
a nonstandard prefix so pkg-config can find them.

	Can i install glib-2.0 without crashing my gnome environment ?
	
	Thanks in advance.
	César  a.k.a Insallah



> > -----Original Message-----
> > From: Sebastian Bergmann [mailto:lists@sebastian-bergmann.de]
> > Sent: Wednesday, July 17, 2002 8:19 AM
> > To: mono-list@ximian.com
> > Subject: [Mono-list] glib-2.0 version check in ./configure
> > 
> > 
> >   Hi!
> > 
> >   I checked out current versions of mono and mcs from CVS, 
> > and tried to
> >   build mono.
> > 
> >   However, I ran into ./configure trouble and got the following error
> >   messages
> > 
> >     ./configure: line 8491: syntax error near unexpected token 
> >     `PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
> > 
> >     ./configure: line 8491: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, 
> >     glib-2.0 >= $GLIB_REQUIRED_VERSION)'
> > 
> >   The complete output of ./autogen.sh can be found at
> > 
> >     http://www.sebastian-bergmann.de/stuff/mono.txt
> > 
> >   Any help appreciated,
> > Sebastian
> > 
> > -- 
> >   Sebastian Bergmann
> >   http://sebastian-bergmann.de/                 
> > http://phpOpenTracker.de/
> > 
> >   Did I help you? Consider a gift: 
> > http://wishlist.sebastian-bergmann.de/
> > 
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> > 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>