I have just removed my svga use flag and "emerge -N world" picks links. It fails in the configure step. This is the stuff that looks relevant. libpng is installed and emerges without error. I will also attach the config.log checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking libpng/png.h usability... yes checking libpng/png.h presence... yes checking for libpng/png.h... yes checking for png_create_info_struct in -lpng... no configure: error: You need libpng to compile Links in graphics mode Reproducible: Always Steps to Reproduce: 1.emerge www-client/links 2. 3. Actual Results: configure: error: You need libpng to compile Links in graphics mode Expected Results: links should emerge without error # emerge --info Portage 2.0.51.22-r3 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r2, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 AMD Sempron(tm) 2400+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O1 -march=athlon-xp -pipe -fforce-addr" DISTDIR="/usr/local/src" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo http://planetmirror.com/pub/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_AU" MAKEOPTS="-j2" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X acpi alsa audiofile avi bash-completion berkdb bzip2 caps cdparanoia cdr cjk crypt cups curl dlloader dvd emacs esd exif expat fam flac gcj gdbm gif glut gmp gpm gtk gtk2 hardened imap imlib jpeg lcms libwww maildir mbox mhash mime mng motif ncurses nls nptl nptlonly offensive ogg oggvorbis openal opengl oss pam perl pic pie png python readline samba sdl sockets speex ssl tcltk tcpd tetex theora threads tiff timidity truetype udev usb userlocales vorbis win32codecs x86 xine xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Created attachment 73474 [details] config.log from links
Please, run revdep-rebuild first if you unmerged media-libs/svgalib, not emerge --newuse world.
That fixed it. Thanks.
Created attachment 300523 [details, diff] Manifest and patches for www-client/links-2.1_pre18-r19.ebuild I just compiled the least old version of links supporting javascript. Here are the Manifest file. BE CAREFUL, the official website has a tarball http://links.twibright.com/download/links-2.1pre18.tar.bz2 whose md5sum differ from 4e2a5b23325db1be44250ae5644d4a8c reported by http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/links/files/digest-links-2.1_pre18?hideattic=0&r1=1.3&r2=1.1.1.1 and http://dev.gentoo.org/~steev/files/overlays/mod-x-deps/www-client/links/files/digest-links-2.1_pre18 ...
Created attachment 300525 [details] www-client/links-2.1_pre18-r19.ebuild which compiled on up-to-date sabayon with USE="-X -jpeg zlib javascript -png" I needed a /usr/bin/screen access to Zimbra Desktop. ZDesktop has an html access with javascript, and I needed links with javascript to use it. So I updated www-client/links-2.1_pre18-r18.ebuild, naively adding the patch for GLSA 200612-16 (Links: Arbitrary Samba command execution). It compiled with USE="-X -jpeg zlib javascript -png" Before using this ebuild, please see Manifest in previous attachment, and please at least review the ebuild and the patch links-2.1pre18.GLSA.200612-16.patch that is a hand-made adaptation of http://jonas.nitro.dk/tmp/links-patches/links-2.1pre25+26.patch You may also want to know why on earth the official tarball is corrupted, the md5sum of http://links.twibright.com/download/links-2.1pre18.tar.bz2 shoud be 4e2a5b23325db1be44250ae5644d4a8c according to http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/links/files/digest-links-2.1_pre18?hideattic=0&r1=1.3&r2=1.1.1.1
Created attachment 326290 [details] www-client/links-2.1_pre18-r20.ebuild I had this compiling error: configure: error: conditional "am__fastdepCXX" was never defined. Usually this means the macro was only invoked conditionally. So I adapted the .ebuild and added the patch. Compiled on sabayon linux, should also compile on gentoo, but with USE="-X -jpeg zlib javascript -png". This links gives read-write access to google agenda (gcal) at http://www.google.com/calendar/gpcal?hl=fr in a text window.
Created attachment 326292 [details, diff] patch for configure.in to solve issue about fastdepCXX I had this compiling error: " configure: error: conditional "am__fastdepCXX" was never defined. " " Usually this means the macro was only invoked conditionally. " The attached patch solves this (see changes to .ebuild about eautoreconf).
Created attachment 326294 [details] Manifest (checksums) of www-client/links-2.1_pre18-r20 and its sources and its patchs. This is the refreshed Manifest.