Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238905 - x11-libs/fvwm-2.5.26 - checking for GDK IMLIB - version >= 1.8.0... /usr/bin/imlib-config: line 52: --cflags: command not found
Summary: x11-libs/fvwm-2.5.26 - checking for GDK IMLIB - version >= 1.8.0... /usr/bin/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-27 19:29 UTC by Dominique Michel
Modified: 2009-07-08 07:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log for fvwm-2.5.26 (config.log,130.22 KB, text/plain)
2008-09-27 19:31 UTC, Dominique Michel
Details
my emerge --info (emerge.info,4.19 KB, text/plain)
2008-09-27 19:32 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2008-09-27 19:29:10 UTC
configure fail to recognize GDK IMLIB with USE="gtk imlib"


Reproducible: Always

Steps to Reproduce:
1.emerge fvwm
2.
3.

Actual Results:  
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs --without-gnome --without-termcap-library --enable-bidi --disable-debug-msgs --disable-command-log --enable-htmldoc --enable-nls --enable-iconv --enable-perllib --with-png-library --with-readline-library --with-rplay-library --with-stroke-library --enable-rsvg --enable-xft --disable-xinerama --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
...
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.1.0... yes
checking for imlib-config... /usr/bin/imlib-config
checking for GDK IMLIB - version >= 1.8.0... /usr/bin/imlib-config: line 52: --cflags: command not found
/usr/bin/imlib-config: line 60: --libs: command not found
no
configure: creating ./config.status
...
Fvwm Configuration:

  Version:     2.5.26

  Executables: /usr/bin
  Man pages:   /usr/share/man
  Modules:     /usr/lib/fvwm/2.5.26
  Data files:  /usr/share/fvwm
  Doc files:   /usr/share/doc/fvwm
  Perl lib:    /usr/share/fvwm/perllib
  Locale msg:  /usr/share/locale  fr

  With Asian bi-direct. text support? yes
  With Gettext Native Lang support?   yes (libc)
  With GTK+ required for FvwmGtk?     yes
  With GDK image support in FvwmGtk?  no: Failed on gdk-imlib, see config.log
  With GNOME libs support in FvwmGtk? no: Explicitly disabled
  With Iconv support?                 yes (from C library)
  With Mouse strokes (gestures)?      yes
  With PNG image support?             yes
  With ReadLine sup. in FvwmConsole?  yes
  With RPlay support in FvwmEvent?    yes
  With Shaped window support?         yes
  With Shared memory for XImage?      yes
  With Session Management support?    yes
  With SVG image support?             yes
  With Xcursor support?               yes
  With Xinerama multi-head support?   no: Explicitly disabled
  With Xft anti-alias font support?   yes (version 2)
  With XPM image support?             yes
  With Xrender image support?         yes
  Build man pages?                    yes
  Build HTML documentation?           yes



Expected Results:  
That imlib check during configure did success.


I have -gtk in my global USE flags and enable this flag on a per package basis. But that's not the problem. If I run imlib-config by hand, I get the following:

 # imlib-config --libs-gdk
/usr/bin/imlib-config: line 60: --libs: command not found
-L/usr/lib64 -lgdk_imlib -ljpeg -ltiff -lgif -lpng -lz -lm
Comment 1 Dominique Michel 2008-09-27 19:31:35 UTC
Created attachment 166628 [details]
config.log for fvwm-2.5.26
Comment 2 Dominique Michel 2008-09-27 19:32:58 UTC
Created attachment 166629 [details]
my emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-29 16:44:04 UTC
OK, so the x11-wm/fvwm ebuilds should fail when media-libs/imlib was not built with USE=gtk. :)
Comment 4 Dominique Michel 2008-09-29 23:20:32 UTC
Yes. I re-merged imlib with USE=gtk and emerge is now able to build fvwmgtk.

Thank you.
Comment 5 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-07-07 16:20:53 UTC
fixed ebuild has been posted at #266937

http://bugs.gentoo.org/show_bug.cgi?id=266937

Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-08 07:04:55 UTC
EAPI 2 USE depend added to dependency strings in 2.5.27