Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9911 - advancemame fails to build
Summary: advancemame fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
: 11592 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-29 12:42 UTC by Russell smith
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
advancemame-0.61.4.ebuild (advancemame-0.61.4.ebuild,2.44 KB, text/plain)
2002-11-10 04:03 UTC, Bret Towe
Details
advancemame-gentoo.diff (advancemame-gentoo.diff,656 bytes, text/plain)
2002-11-10 04:04 UTC, Bret Towe
Details
updated advancemame-0.61.4.ebuild (advancemame-0.61.4.ebuild,2.66 KB, text/plain)
2002-11-15 22:59 UTC, Bret Towe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell smith 2002-10-29 12:42:41 UTC
checking for i686-pc-linux-gnu-sdl-config... no
configure: error: The sdl-config script is required for the "sdl" system

!!! ERROR: The ebuild did not complete successfully.
!!! Function econf, Line 10, Exitcode 1
!!! econf failed

libsdl --  1.2.4.20020601
Comment 1 L.J. Moore 2002-11-03 04:56:25 UTC
When Portage runs the configure script, it passes the CHOST value with the 
--host= switch.  In my case that is  --host=i686-pc-linux-gnu.  The configure 
script prefixes sdl-config with the --host alias.  So it searches the path for 
i686-pc-linux-gnu-sdl-config instead of sdl-config. 
 
So - as a workaround until this is fixed - I got advancemame to merge by 
creating a symlink in /usr/bin: 
 
        ln -s /usr/bin/sdl-config /usr/bin/i686-pc-linux-gnu-sdl-config 
 
Just in case this is relevant I'm using GCC3.2-r1 with the flags: 
 
        CHOST="i686-pc-linux-gnu" 
        CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" 
        CXXFLAGS="${CFLAGS}" 
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-11-09 18:27:42 UTC
The ebuild appears to work alright with the new version of advancemame that is
out... The ebuild appears to be a pain to update... I'll try to get to it within
the next couple days.  Unless you want to take a stab at it Lee?
Comment 3 Bret Towe 2002-11-10 04:02:43 UTC
well i updated the ebuild and also added a patch since it looks for slang in the
wrong place(i didnt add a dep cause i wasnt sure if slang will be allowed or not
in final ebuild)
note this isnt workign correctly for some reason(think its broken) configure
doesnt detect stuff right majorly messed up needs work
side from that everything else works it seems
Comment 4 Bret Towe 2002-11-10 04:03:52 UTC
Created attachment 5522 [details]
advancemame-0.61.4.ebuild
Comment 5 Bret Towe 2002-11-10 04:04:12 UTC
Created attachment 5523 [details]
advancemame-gentoo.diff
Comment 6 Bret Towe 2002-11-10 22:13:49 UTC
might want to look at bug #10537
Comment 7 Bret Towe 2002-11-15 22:59:03 UTC
Created attachment 5711 [details]
updated advancemame-0.61.4.ebuild

here is an updated ebuild of advancemame taking the configure part of the
ebuild from bug #10537 seems to compile in sdl now which fixs my previous
problem
but it doesnt do anything for me but that might be user error(aka stupidity)
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 04:30:09 UTC
Reason is due to the --host flag being added to econf() portage function.
This will be fixed in advancemame-0.62.0.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2002-11-20 05:12:14 UTC
advancemame-0.62.0 commited.
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-04 17:08:43 UTC
I think I need to fix 0.61.1 while new svgalib is still bit shaky.
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-04 17:08:45 UTC
*** Bug 11592 has been marked as a duplicate of this bug. ***
Comment 12 Bret Towe 2002-12-22 13:48:55 UTC
i notice advancemame 0.62.2 is out out as is advancemenu 2.2.2
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-23 14:45:35 UTC
0.61.1 should be fixed from a few hours back.  I changed the econf command to
./configure without the --host.  Will add update for it when I get the time.