Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48859 - snes9x 1.42-r1 can't find libpng (1.2.5-r4) during configuration: snapshot disabled.
Summary: snes9x 1.42-r1 can't find libpng (1.2.5-r4) during configuration: snapshot di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-24 02:34 UTC by Sandro Bonazzola (RETIRED)
Modified: 2011-09-14 20:38 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 Sandro Bonazzola (RETIRED) gentoo-dev 2004-04-24 02:34:08 UTC
the configure script can't find libpng. The problem seems to be a autoconf macro that try to find the function png_jmpbuf in the png library.
Workaround: edit Makefile after configure, adding -DHAVE_LIBPNG in CCFLAGS, adding -lpng -lm -lz in LDLIBS.
If you want, you can also edit OPTIMISE for your system... the configure set it for gcc 2 flags...
I use: -O3 -mmmx -msse -fomit-frame-pointer -ftracer -march=pentium3
Avoid -ffast-math because the compilation fails.
The problem is also verified under slackware current. It must be a configure error.

Reproducible: Always
Steps to Reproduce:
1. emerge snes9x
2. see what config print out
3. try to use PrtScr when running snes9x

Actual Results:  
snes9x is built without screenshot support

Expected Results:  
snes9x is built with screenshot support

running latest gentoo ~x86 with linux-2.6.5, linux-header 2.6.5, udev, glibc
with nptl enabled, xorg-x11.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-06-03 21:40:21 UTC
oh man, this ebuild just keeps getting uglier.  Please resync and try it with
version 1.3 of the ebuild.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-05 00:02:14 UTC
forgot to change the state.
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2004-06-06 01:30:40 UTC
It works for me.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-06-06 02:42:41 UTC
Great, thanks for testing.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:38:57 UTC
clean up bug list after bugzilla update