Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
ebuild for pdflib-4.0.1 fails during emerge --update --emptytree world and fails during emerge pdflib with the last few lines as shown below: ... checking for Java header files... checking for perl... perl checking for Perl header file... /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h checking for Python header files... not found checking for python... python checking whether byte ordering is bigendian... no checking for deflateEnd in -lz... yes checking for zlib.h... yes Note: user-supplied zlib - language bindings disabled checking for png_create_read_struct in -lpng... no configure: error: No usable pnglib library found. !!! ERROR: The ebuild did not complete successfully. !!! Function econf, Line 10, Exitcode 1 !!! econf failed Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/pdflib-4.0.1-r3 to / >>> md5 ;-) pdflib-4.0.1.tar.gz
http://bugs.gentoo.org/show_bug.cgi?id=9792#c2
I found a reliable fix. pdflib depends on libpng-1.0.x, or rather, it SHOULD DEPEND on =libpng-1.0.*, but by default you get libpng-1.2.* which it will NOT build with. emerge =libpng-1.0.* fixes this, so just updating the DEPENDS line in the ebuild should fix this.
actually it does build against libpng `emerge =media-libs/libpng-1.2.4` and then try to emerge pdflib
fixed in cvs it links against 1.2.5 http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-libs/pdflib/pdflib-4.0.1-r3.ebuild.diff?r1=1.10&r2=1.11
*** Bug 6170 has been marked as a duplicate of this bug. ***
*** Bug 9930 has been marked as a duplicate of this bug. ***