Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385229 - Package 'libpng12', required by 'cairo', not found
Summary: Package 'libpng12', required by 'cairo', not found
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-01 16:30 UTC by Martin Mokrejš
Modified: 2011-10-01 16:47 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 Martin Mokrejš 2011-10-01 16:30:20 UTC
checking pkg-config is at least version 0.9.0... yes
checking for XSVG... configure: error: Package requirements (libsvg-cairo >= 0.1.6) 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.

Alternatively, you may set the environment variables XSVG_CFLAGS
and XSVG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-gfx/xsvg-0.2.1/work/xsvg-0.2.1/config.log


# emerge -pqv =media-gfx/xsvg-0.2.1
[ebuild  N    ] media-gfx/xsvg-0.2.1 


# emerge --info =media-gfx/xsvg-0.2.1
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.3-r0, 2.6.28-gentoo-r5-default x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.28-gentoo-r5-default-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 30 Sep 2011 15:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p9
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.4-r1
dev-util/pkgconfig:  0.23
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.11.3
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Nero-EULA-US skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -ggdb -pipe -fno-strict-aliasing -mmmx -msse -msse2 -mssse3 -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -ggdb -pipe -fno-strict-aliasing -mmmx -msse -msse2 -mssse3 -march=native -mtune=native"
DISTDIR="/nfslarge/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en cs cz"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/nfslarge/usr/portage"
PORTDIR_OVERLAY="/nfslarge/usr/portage/local/layman/science /nfslarge/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="R X Xaw3d acl acpi amd64 bash-completion bcmath berkdb blas boost bzip2 cblas cli colordiff compress cpio cracklib crypt cscope css ctype curl curlwrappers cxx dbus djbfft emboss emf encode enscript expat fam fontconfig fortran ftp gcj gd gdbm gif glibc-compat20 glibc-omitfp glut gmp gnuplot gnutls gpm graphviz gs gsl gtk gtkhtml hal icc iconv ifc inifile innodb ithreads java javascript jbig jikes jpeg jpeg2k kdtree lapack lcms libedit libwww lzo lzw maildir mhash mime ming mjpeg mmap mmx mng mod_python modperl modplug modules mpeg mpi mpi-threads mpi_njtree mpich mpich2 mudflap mule multilib mxdatetime mysql ncurses netcdf netpbm network nntp nptl nptlonly numeric openmp pam pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python rar raw readline rpm rtc scp server session sftp smime sndfile sockets srt sse sse2 sse3 ssl svg svgz sysfs sysvipc tcl tcpd threads tiff transcode truetype unicode urandom userlocales uuencode vim-syntax vim-with-x wmf xanim xfs xinetd xml xorg xpm xslt xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Mokrejš 2011-10-01 16:41:31 UTC
Um, I was probably too fast. That is probably a libpng14 upgrade issue, I am trying to get though revdep-rebuild and some updates ...


# emerge -pqv libsvg-cairo
[ebuild   R   ] x11-libs/libsvg-cairo-0.1.6 



The relevant part of the config.log says:

configure:5371: checking for pkg-config
configure:5389: found /usr/bin/pkg-config
configure:5401: result: /usr/bin/pkg-config
configure:5426: checking pkg-config is at least version 0.9.0
configure:5429: result: yes
configure:5440: checking for XSVG
configure:5447: $PKG_CONFIG --exists --print-errors "libsvg-cairo >= 0.1.6"
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
configure:5450: $? = 1
configure:5463: $PKG_CONFIG --exists --print-errors "libsvg-cairo >= 0.1.6"
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
configure:5466: $? = 1
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
configure:5503: error: Package requirements (libsvg-cairo >= 0.1.6) 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.

Alternatively, you may set the environment variables XSVG_CFLAGS
and XSVG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-10-01 16:47:14 UTC
> Package 'libpng12', required by 'cairo', not found

Sort of says it right there: Recompile your cairo.