[MBT] new ticket for pkg gdome2 "building glib2, requires >= glib 2.2, building with glib1 requires glib2"

bugs at pld-linux.org bugs at pld-linux.org
Wed Nov 19 17:57:26 CET 2003


Date: 2003-11-19 17:57:25+01	Author:  (glen) <glen at delfi.ee> 
Title:         building glib2, requires >= glib 2.2, building with glib1 requires glib2
Ticket ID:     #771
Ticket URL:    http://bugs.pld-linux.org/?bug=771
Package:       gdome2-0.8.1-1
Distribution:  
Category:      bug in building stage
Current state: opened
Text:

hi

if trying to build with just glib2-devel installed, i get macro error. if i build with glib-devel and glib2-devel installed, i get error from configure, it requires glib2 >= 2.2.0

i'm building this on non-pld system, but i guess the issue remains same (at least with glib2 >= 2.2 issue)

$ rpm -q glib-devel glib2-devel
glib-devel-1.2.10-5
glib2-devel-2.0.1-2

$ rpmbuild --with glib1 gdome2.spec  -bb
[cut]
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0... yes
checking GLIB_CFLAGS...  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS...  -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: Could not find GLIB (see config.log for details).
error: Bad exit status from /var/tmp/rpm-tmp.89391 (%build)


$ rpm -q glib-devel glib2-devel
package glib-devel is not installed
glib2-devel-2.0.1-2
$ rpmbuild gdome2.spec  -bb
[cut]
+ libtoolize
You should update your `aclocal.m4' by running aclocal.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
+ aclocal
aclocal: configure.in: 71: macro `AM_PATH_GLIB' not found in library
error: Bad exit status from /var/tmp/rpm-tmp.95545 (%build)


$ rpm -q glib-devel glib2-devel
glib-devel-1.2.10-5
package glib2-devel is not installed
$ rpmbuild gdome2.spec -bb
[cut]
+ libtoolize
You should update your `aclocal.m4' by running aclocal.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
+ aclocal
aclocal: configure.in: 76: macro `AM_PATH_GLIB_2_0' not found in library
error: Bad exit status from /var/tmp/rpm-tmp.87316 (%build)








More information about the pld-bugs mailing list