Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308861 - app-editors/gedit-2.28.3 fails to compile against media-libs/libpng-1.4.1
Summary: app-editors/gedit-2.28.3 fails to compile against media-libs/libpng-1.4.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.4
  Show dependency tree
 
Reported: 2010-03-10 18:06 UTC by nobody
Modified: 2010-03-15 09:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nobody 2010-03-10 18:06:04 UTC
checking for ENCHANT... yes
checking whether iso-codes has iso-639 and iso-3166 domains... yes
checking for library containing bind... none required
checking whether libattr support is requested... no
checking for GEDIT... configure: error: Package requirements (
	libxml-2.0 >= 2.5.0
	glib-2.0 >= 2.18.0
	gthread-2.0 >= 2.13.0
	gio-2.0 >= 2.16.0
	gtk+-2.0 >= 2.16.0
	gtksourceview-2.0 >= 2.4.0
	gconf-2.0 >= 1.1.11
) were not met:

Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.



Reproducible: Always

Actual Results:  
note that there is also another bug about that, gedit doesn't have libpng in its dependency graph, as:

whereis gedit
gedit: /usr/bin/gedit /usr/share/man/man1/gedit.1.bz2
ldd /usr/bin/gedit 
	linux-gate.so.1 =>  (0xb7f08000)
	libgtksourceview-2.0.so.0 => /usr/lib/libgtksourceview-2.0.so.0 (0xb7e9e000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7d5f000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb799f000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7908000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb78ec000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb78d2000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb783d000)
	libresolv.so.2 => /lib/libresolv.so.2 (0xb7828000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb781c000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb77f4000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7777000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb772a000)
	libglitz-glx.so.1 => /usr/lib/libglitz-glx.so.1 (0xb7723000)
	libGL.so.1 => //usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb7664000)
	libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb763a000)
	libpng12.so.0 => not found
	libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb7635000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb762c000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7622000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7501000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb74e6000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb74e2000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb74dc000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7498000)
	libm.so.6 => /lib/libm.so.6 (0xb7472000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7441000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb73b8000)
	libz.so.1 => /lib/libz.so.1 (0xb73a4000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb737d000)
	libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb7347000)
	libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0xb72f1000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb72eb000)
	libdl.so.2 => /lib/libdl.so.2 (0xb72e7000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb72e1000)
	libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb72c2000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7285000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb726b000)
	librt.so.1 => /lib/librt.so.1 (0xb7262000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7225000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb714a000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb7141000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb713c000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb7123000)
	libc.so.6 => /lib/libc.so.6 (0xb6fd7000)
	libpng12.so.0 => not found
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6fd3000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0xb6fc4000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6fbb000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6fb0000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6fac000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb6f9c000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6f98000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6f92000)
	libpng12.so.0 => not found
	libpng12.so.0 => not found
	libpng12.so.0 => not found
	libpng12.so.0 => not found
	libGLcore.so.1 => //usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb5ef5000)
	libnvidia-tls.so.1 => //usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb5ef3000)
	/lib/ld-linux.so.2 (0xb7f09000)
equery g simutrans | grep png
[  0] media-libs/libpng-1.4.1
equery g gedit | grep png
> no answer but it should answer libpng-someversion here no ?

Should open another bug for that ?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-10 18:19:47 UTC
(In reply to comment #0)
> Package 'libpng12', required by 'cairo', not found

Have you re-emerged cairo yet?
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-10 20:03:14 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Package 'libpng12', required by 'cairo', not found
> 
> Have you re-emerged cairo yet?
> 

I've checked gedit sources, there's no reference to libpng at all.

This is a issue of emerge order, when upgrading to libpng 1.4 you should emerge cairo first, then gtk+, and likely libglade

thanks for reporting anyway :)
Comment 3 nobody 2010-03-15 09:55:00 UTC
i'm sorry just got the mail that told me you answer here
it was to help, not to let you dig in gedit source and waste time there
:(