| Summary: | arts and glib dependency problem | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | fbusse |
| Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | greg_g |
| Priority: | High | ||
| Version: | 2004.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Addendum: Happens only with FEATURES="userpriv". Interestingly, another of my machines doesn't have that problem, although it also has userpriv (but this system was compiled with userpriv, on the problematic machine I added it a few days ago). What can cause this? Dunno. Can you peak into the config.log file and see what specifically is causing the failure? BTDT, but I didn't find anything useful related to glib, only this:
configure:38180: checking for GLib-2.0 (at least 1.3.3)
configure:38204: result: not installed
configure:38208: error:
Please install glib-2.0 (see http://www.gtk.org).
can you peak at configure line 38180 and see what the test is that is failing? # GLIB_CFLAGS: cflags for compiling glib dependant sources
# GLIB_LIBADD: glib libraries (-l options)
# GLIB_LDFLAGS: flags containing path to glib libraries (-L options)
GLIB_PACKAGES="gmodule-2.0 gthread-2.0"
GLIB_VERSION="1.3.3"
echo "$as_me:$LINENO: checking for GLib-2.0 (at least $GLIB_VERSION)" >&5
echo $ECHO_N "checking for GLib-2.0 (at least $GLIB_VERSION)... $ECHO_C" >&6
if $PKG_CONFIG --atleast-pkgconfig-version 0.15 ; then
if $PKG_CONFIG --atleast-version $GLIB_VERSION $GLIB_PACKAGES >/dev/null 2>&1
; then
GLIB_CFLAGS="`$PKG_CONFIG --cflags $GLIB_PACKAGES`"
GLIB_LIBADD="`$PKG_CONFIG --libs-only-l --libs-only-other $GLIB_PACKAGES`
"
GLIB_LDFLAGS="`$PKG_CONFIG --libs-only-L $GLIB_PACKAGES`"
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
fi
else
if $PKG_CONFIG --atleast-version $GLIB_VERSION $GLIB_PACKAGES >/dev/null 2>&1 ; then
GLIB_CFLAGS="`$PKG_CONFIG --cflags $GLIB_PACKAGES`"
GLIB_LIBADD="`$PKG_CONFIG --libs-only-l $GLIB_PACKAGES`"
GLIB_LDFLAGS="`$PKG_CONFIG --libs-only-L $GLIB_PACKAGES`"
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
{ echo "$as_me:$LINENO: WARNING: you may need to run make LDFLAGS=-pthread to compile arts" >&5
echo "$as_me: WARNING: you may need to run make LDFLAGS=-pthread to compile arts" >&2;}
fi
fi
if test -z "$GLIB_LIBADD"; then
echo "$as_me:$LINENO: result: not installed" >&5
echo "${ECHO_T}not installed" >&6
{ { echo "$as_me:$LINENO: error:
Please install glib-2.0 (see http://www.gtk.org).
" >&5
echo "$as_me: error:
Please install glib-2.0 (see http://www.gtk.org).
" >&2;}
{ (exit 1); exit 1; }; }
DO_NOT_COMPILE="$DO_NOT_COMPILE gmcop"
fi
CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
I have the same problem with other software, too (i.e. atk).
So this is not specific to arts.
See #55346, something screwed the permissions up. |
I have a problem with upgrading arts to 1.2.2 from 1.2.1: $ emerge -p arts Calculating dependencies ...done! [ebuild U ] kde-base/arts-1.2.2 [1.2.1] $ emerge arts <snip> checking for pkg-config... /usr/bin/pkg-config checking for GLib-2.0 (at least 1.3.3)... not installed configure: error: Please install glib-2.0 (see http://www.gtk.org). !!! ERROR: kde-base/arts-1.2.2 failed. !!! Function kde_src_compile, Line 118, Exitcode 1 !!! died running ./configure, kde_src_compile:configure $ emerge -p glib Calculating dependencies ...done! [ebuild R ] dev-libs/glib-2.4.0 Do I miss something? Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6) ================================================================= System uname: 2.6.6 i686 AMD Athlon(TM) XP 2600+ Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" MAKEOPTS="-j2" USE="3dnow X aalib acpi alsa apm arts avi berkdb cdr crypt cups encode foomaticdb gdbm gif gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang speex spell sse ssl svga tcpd tetex tiff truetype x86 xml2 xmms xv zlib"