[gs-bugs] [Bug 691111] New: ghostscript-8.71 fails to compile against >=libpng-1.4.0

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Mon Feb 15 21:40:48 UTC 2010


           Summary: ghostscript-8.71 fails to compile against >=libpng-1.4.0
           Product: Ghostscript
           Version: other
          Platform: PC
               URL: http://bugs.gentoo.org/show_bug.cgi?id=305111
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: Build Process
        AssignedTo: ralph.giles at artifex.com
        ReportedBy: timo.gurr at gmail.com
         QAContact: gs-bugs at ghostscript.com

On Gentoo Linux we don't use any bundled libraries and try to link as much as 
possible against system-wide libs. I'm aware that the ghostscript bundled 
version is libpng 1.2.42, which works quite fine.

Error when compiling against libpng-1.4.0:

./obj/../soobj/echogs -e .dev -w- -l-dev2 -b -s -l-include
-l./obj/../soobj/page -l-obj ./obj/../soobj/pksmraw ./obj/../soobj/gdevpbm.o
./obj/../soobj/gdevppla.o ./obj/../soobj/gdevmpla.o                             
./obj/../soobj/echogs -e .dev -w- -l-dev2 -b -s -l-include
-l./obj/../soobj/page -l-obj ./obj/../soobj/plan9bm ./obj/../soobj/gdevpbm.o
./obj/../soobj/gdevppla.o ./obj/../soobj/gdevmpla.o
make[1]: *** No rule to make target `src/png.c', needed by
`obj/../soobj/png.o'.  Stop.
make[1]: Leaving directory
make: *** [so] Error 2

Attached is a patch which works around the problem, author of the patch is Lars 
Wendler (Polynomial-C) <polynomial-c at gentoo.org>, added the original bugreport 
on our Gentoo bugtracker in URL.

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the gs-bugs mailing list