Open Bug 406667 Opened 17 years ago Updated 2 years ago

PNG images fail to display if --with-system-png is set

Categories

(Firefox Build System :: General, defect, P5)

1.8 Branch
x86
Linux
defect

Tracking

(Not tracked)

UNCONFIRMED
Future

People

(Reporter: pierre42d, Unassigned)

Details

User-Agent:       Opera/9.01 (X11; Linux i686; U; en)
Build Identifier: 

I just compiled seamonkey 1.1.7 using --with-system-png but it is unable to display any png image : "The image foo.png cannot be displayed, because it contains errors."
But I have the latest libpng installed (1.4.0b19).


Reproducible: Always




GNU/Linux system on x86
when I don't use this option it works perfectly
Assignee: general → nobody
Component: General → Build Config
Product: Mozilla Application Suite → Core
QA Contact: general → build-config
Version: unspecified → 1.8 Branch
Summary: Problem displaying png images → PNG images fail to display if --with-system-png is set
Priority: -- → P5
Target Milestone: --- → Future
I wants to work on this bug. I also have prerequisite knowledge of Html , Css and Javascript.
I guess this one can be closed :) (10 years old bug)
Flags: needinfo?(pierre42d)
Product: Core → Firefox Build System
I tried to compile last seamonkey release but got this error :

[...]
checking for jpeg_destroy_compress in -ljpeg... no
checking for BZ2_bzread in -lbz2... no
checking for png_get_valid in -lpng... yes
checking for png_get_acTL in -lpng... no
configure: error: --with-system-png won't work because the system's libpng doesn't have APNG support
DEBUG: <truncated - see config.log for full output>
DEBUG: BZ2_bzread()
DEBUG: ; return 0; }
DEBUG: configure:10996: checking for png_get_valid in -lpng
DEBUG: configure:11015: /usr/bin/gcc -std=gnu99 -o conftest -fno-lifetime-dse  -fno-strict-aliasing -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /tmp/seamonkey/seamonkey-2.49.4/build/unix/gold conftest.c -lpng  -ldl  1>&5
DEBUG: configure:11037: checking for png_get_acTL in -lpng
DEBUG: configure:11056: /usr/bin/gcc -std=gnu99 -o conftest -fno-lifetime-dse  -fno-strict-aliasing -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /tmp/seamonkey/seamonkey-2.49.4/build/unix/gold conftest.c -lpng  -ldl  1>&5
DEBUG: /tmp/ccDFil8x.o:conftest.c:function main: error: undefined reference to 'png_get_acTL'
DEBUG: collect2: error: ld returned 1 exit status
DEBUG: configure: failed program was:
DEBUG: #line 11045 "configure"
DEBUG: #include "confdefs.h"
DEBUG: /* Override any gcc2 internal prototype to avoid an error.  */
DEBUG: /* We use char because int might match the return type of a gcc2
DEBUG:     builtin and then its argument prototype would still apply.  */
DEBUG: char png_get_acTL();
DEBUG: 
DEBUG: int main() {
DEBUG: png_get_acTL()
DEBUG: ; return 0; }
DEBUG: configure: error: --with-system-png won't work because the system's libpng doesn't have APNG support
ERROR: old-configure failed


I tried on a debian 9.5 machine.
So I can't tell you more for now.
Flags: needinfo?(pierre42d)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.