Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297908 - games-strategy/asc-2.4.0.0 /usr/bin/wx-config
Summary: games-strategy/asc-2.4.0.0 /usr/bin/wx-config
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 297959 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-22 16:11 UTC by Roman Gruber
Modified: 2015-01-06 00:52 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 Roman Gruber 2009-12-22 16:11:03 UTC
Hi, I tried to install games-strategy/asc-2.4.0.0 and it didnt went through. It was a configure error with /usr/bin/wx-config. May I have a suggestion!

Reproducible: Always

Steps to Reproduce:
0. Ebuild fails, because no wc config was selected. Easy workaround!!

1. /usr/bin/wx-config
An error occurred while calling wx-config:

No profile currently selected

Please use `eselect wxwidgets` to select an available profile and try again.
2. emerge games-strategy/asc fails with 

checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) none
checking for perl... yes
checking for working C++ compiler... yes
checking bitset usability... yes
checking bitset presence... yes
checking for bitset... yes
checking for xvid_encore in -lxvidcore... yes
checking XviD usage... checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.2... yes
checking for IMG_LoadJPG_RW in -lSDL_image... yes
checking for pkg-config... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LUA... yes
checking for jpeg_CreateDecompress in -ljpeg... yes
checking for Mix_PlayChannelTimed in -lSDL_mixer... yes
checking for Sound_Init in -lSDL_sound... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.4.0... no
configure: error: 
		wxWidgets 2.4.0 must be installed on your system.

		If you have a distribution supplied wxWidgets package installed,
		perhaps the wxWidgets-devel package is missing.

		The wxWidgets packages are sometimes also called wxGTK, if you can't
		find wxWidgets packages in your distribution, search for wxGTK

		If your distribution really does not contain the wxWidgets library,
		you can download it from www.wxwidgets.org

		If you have it installed, but it isn't working, check that wx-config is in path,
		the directory where wxWidgets libraries are installed (returned by
		'wx-config --libs' or 'wx-config --static --libs' command)
		is in LD_LIBRARY_PATH or equivalent variable and
		wxWidgets version is 2.4.0 or above.
		

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-strategy/asc-2.4.0.0/work/asc-2.4.0.0/config.log
 * ERROR: games-strategy/asc-2.4.0.0 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   61:  Called src_configure
 *   environment, line 3054:  Called egamesconf '--disable-dependency-tracking' '--disable-paraguitest' '--disable-paragui' '--datadir=/usr/share'
 *   environment, line  989:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--disable-dependency-tracking' '--disable-paraguitest' '--disable-paragui' '--datadir=/usr/share'
 *     ebuild.sh, line  551:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =games-strategy/asc-2.4.0.0',
 * the complete build log and the output of 'emerge -pqv =games-strategy/asc-2.4.0.0'.
 * The complete build log is located at '/var/tmp/portage/games-strategy/asc-2.4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/asc-2.4.0.0/temp/environment'.
 * S: '/var/tmp/portage/games-strategy/asc-2.4.0.0/work/asc-2.4.0.0'

>>> Failed to emerge games-strategy/asc-2.4.0.0, Log file:

>>>  '/var/tmp/portage/games-strategy/asc-2.4.0.0/temp/build.log'

 * Messages for package games-strategy/asc-2.4.0.0:

 * ERROR: games-strategy/asc-2.4.0.0 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   61:  Called src_configure
 *   environment, line 3054:  Called egamesconf '--disable-dependency-tracking' '--disable-paraguitest' '--disable-paragui' '--datadir=/usr/share'
 *   environment, line  989:  Called econf '--prefix=/usr/games' '--libdir=/usr/games/lib64' '--datadir=/usr/share/games' '--sysconfdir=/etc/games' '--localstatedir=/var/games' '--disable-dependency-tracking' '--disable-paraguitest' '--disable-paragui' '--datadir=/usr/share'
 *     ebuild.sh, line  551:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =games-strategy/asc-2.4.0.0',
 * the complete build log and the output of 'emerge -pqv =games-strategy/asc-2.4.0.0'.
 * The complete build log is located at '/var/tmp/portage/games-strategy/asc-2.4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/asc-2.4.0.0/temp/environment'.
 * S: '/var/tmp/portage/games-strategy/asc-2.4.0.0/work/asc-2.4.0.0'

3. eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8
localhost ... # eselect wxwidgets set 3

Setting wxWidgets profile to gtk2-unicode-release-2.8

localhost ... #

4. emerge => is fine then!!

Actual Results:  
Easy workaround. I didnt knew that wx ... was not set. Maybe its a good idea to inform user or to set a profile automatically. Only an idea. Mark this bug invalid, if you want to! I am only an user, who wants to help!
Comment 1 Tupone Alfredo gentoo-dev 2010-01-08 20:31:10 UTC
*** Bug 297959 has been marked as a duplicate of this bug. ***
Comment 2 Tupone Alfredo gentoo-dev 2012-10-30 15:15:06 UTC
Actually, with the 2.5.0 version, I was able to build even when wx-config reports an error.
Reopen if you get the same error.