Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70669 - bochs 2.1.1 doesn't build because of wxWindows
Summary: bochs 2.1.1 doesn't build because of wxWindows
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 07:53 UTC by Jonathan Geisler
Modified: 2004-11-10 11:50 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 Jonathan Geisler 2004-11-10 07:53:25 UTC
I looked in previous bugs, but didn't see this mentioned.  I'm having trouble merging bochs because it can't figure out how to configure wxWindows correctly.  Quite a few bugs mentioned compile problems, but I didn't even get to the compile stage before it craps out.  I've included a snapshot of the problem below, but my quick diagnosis is that the wxconfig file is installed in a different location than bochs is expecting.

Reproducible: Always
Steps to Reproduce:
1. emerge bochs
2.
3.

Actual Results:  
>>> emerge (2 of 6) app-emulation/bochs-2.1.1 to /
>>> Downloading ftp://gentoo.cosclub.css.tayloru.edu/distfiles/bochs-2.1.1.tar.gz
--10:30:10--  ftp://gentoo.cosclub.css.tayloru.edu/distfiles/bochs-2.1.1.tar.gz
           => `/usr/portage/distfiles/bochs-2.1.1.tar.gz'
Resolving gentoo.cosclub.css.tayloru.edu... 172.30.5.21
Connecting to gentoo.cosclub.css.tayloru.edu[172.30.5.21]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /distfiles ... done.
==> PASV ... done.    ==> RETR bochs-2.1.1.tar.gz ... done.

    [  <=>                                ] 3,653,487     11.20M/s             

10:30:10 (11.20 MB/s) - `/usr/portage/distfiles/bochs-2.1.1.tar.gz' saved [3653487]

>>> md5 src_uri ;-) bochs-2.1.1.tar.gz
>>> md5 src_uri ;-) dlxlinux4.tar.gz
>>> Unpacking source...
>>> Unpacking bochs-2.1.1.tar.gz to /usr/portageTMP/portage/bochs-2.1.1/work
>>> Source unpacked.
gtk2
Usage: wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--static]
                 [--libs] [--gl-libs]
                 [--cppflags] [--cflags] [--cxxflags] [--ldflags] [--rezflags]
                 [--cc] [--cxx] [--ld]
                 [--inplace]

wx-config returns configuration information about the installed
version of wxWindows. It may be used to query its version and
installation directories and also retrieve the C and C++ compilers
and linker which were used for its building and the corresponding
flags.

The --inplace flag allows wx-config to be used from the wxWindows
build directory and output flags to use the uninstalled version of
the headers and libs in the build directory.  (Currently configure
must be invoked via a full path name for this to work correctly.)
!!! set-wxconfig: Error:  Can't find normal or debug version:
!!! set-wxconfig:         /usr/bin/wxgtk2--config not found
!!! set-wxconfig:         /usr/bin/wxgtk2d--config not found
!!! You need to emerge wxGTK with gtk2 in your USE
bash-2.05b# emerge -pv wxGTK

These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild     U ] x11-libs/wxGTK-2.4.2-r2 [2.4.1-r1] -debug +gtk2 -no_wxgtk1 -odbc
+opengl -unicode 5,255 kB 

Total size of downloads: 5,255 kB

bash-2.05b# locate wxgtk2--config
bash-2.05b# locate wxgtk2        
/usr/bin/wxgtk2-2.4-config
bash-2.05b# 


Expected Results:  
Installed properly
Comment 1 Luca Barbato gentoo-dev 2004-11-10 11:28:21 UTC
try to update to wxGTK-2.4.2-r3
Comment 2 Luca Barbato gentoo-dev 2004-11-10 11:50:18 UTC
wxGTK-2.4.2-r2 is enough

fixed bochs ebuild to depend on it