View previous topic :: View next topic |
Author |
Message |
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Wed Feb 19, 2003 2:45 am Post subject: can't install winex! :( |
|
|
I can't get winex installed for the life of me!
I get this error now:
/usr/X11R6/include/GL/glext.h:2755: 'PFNGLMULTITEXCOORD2FARBPROC' previously declared here
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory `/home/eric/winex-cvs/dlls/d3dgl'
make[1]: *** [d3dgl/libd3dgl.so] Error 2
make[1]: Leaving directory `/home/eric/winex-cvs/dlls'
make: *** [dlls] Error 2
!!! ERROR: ap-emulation/winex-20021123 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! make depend all failed
I found some hints on the net that I need to install mesa and mesa-glu to get the required files (and found several places that say I need to have mesa installed in order to install winex)...
when I do an 'emerge -s mesa' I get the following:
media-libs/mesa [ Masked ]
media-libs/mesa-glu [ Masked ]
How can I fix this? Or anyone know if my problem isn't mesa related?
Thanks,
Devin
p.s. tried the rpm of winex and it gave me so many errors I'm not even going to start with it |
|
Back to top |
|
|
ormi Apprentice
Joined: 13 Oct 2002 Posts: 234 Location: lappeen Ranta, Finland
|
Posted: Wed Feb 19, 2003 9:03 am Post subject: Re: can't install winex! :( |
|
|
fuzion wrote: | when I do an 'emerge -s mesa' I get the following:
media-libs/mesa [ Masked ]
media-libs/mesa-glu [ Masked ]
|
Edit /etc/make.conf and add (or edit) line ACCEPT_KEYWORDS="~x86". The try to emerge mesa (and don't forget to uncomment ACCEPT_KEYWORDS -line after installation) |
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Sat Feb 22, 2003 4:43 pm Post subject: still no winex/mesa with ~86 |
|
|
ACCEPT_KEYWORDS="~x86"
is in my /etc/make.conf file... it still shows that mesa is masked.
What else can I try? |
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Sat Feb 22, 2003 4:47 pm Post subject: more help? |
|
|
maybe this can be of more help...
-------------------------------------------------------------------------
bash-2.05b# emerge mesa
Calculating dependencies
!!! all ebuilds that could satisfy "mesa" have been masked.
!!! Error calculating dependancies. Please correct.
-------------------------------------------------------------------------
-------------------------------------------------------------------------
emerge winex
...
X11R6/include -o caps.o caps.c
In file included from d3dgl_private.h:5,
from caps.c:18:
../../include/wine_gl.h:74: redefinition of `PFNGLACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2743: `PFNGLACTIVETEXTUREARBPROC' previously declared here
../../include/wine_gl.h:75: redefinition of `PFNGLCLIENTACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2744: `PFNGLCLIENTACTIVETEXTUREARBPROC' previously declared here
../../include/wine_gl.h:76: redefinition of `PFNGLMULTITEXCOORD2FARBPROC'
/usr/X11R6/include/GL/glext.h:2755: `PFNGLMULTITEXCOORD2FARBPROC' previously declared here
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/winex-20021123/work/wine/dlls/d3dgl'
make[1]: *** [d3dgl/libd3dgl.so] Error 2
make[1]: Leaving directory `/var/tmp/portage/winex-20021123/work/wine/dlls'
make: *** [dlls] Error 2
!!! ERROR: app-emulation/winex-20021123 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! make depend all failed
------------------------------------------------------------------------- |
|
Back to top |
|
|
Roguelazer Veteran
Joined: 10 Feb 2003 Posts: 1233 Location: San Francisco, CA
|
Posted: Sat Feb 22, 2003 4:48 pm Post subject: |
|
|
Just out of curiousity, can you emerge winex-cvs w/o errors? |
|
Back to top |
|
|
Headhunter123 Guru
Joined: 19 Oct 2002 Posts: 509
|
Posted: Sat Feb 22, 2003 8:26 pm Post subject: |
|
|
edit your /usr/portage/profiles/packages.mask and put a "#" in the line with the mesa stuff
should work now |
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Sun Feb 23, 2003 6:59 am Post subject: still no go |
|
|
-------------------------------------------------------------------------
bash-2.05b# emerge winex-cvs
Calculating dependencies
!!! all ebuilds that could satisfy "winex-cvs" have been masked.
!!! Error calculating dependancies. Please correct.
bash-2.05b#
-------------------------------------------------------------------------
my /usr/portage/profiles/package.mask contains this:
-------------------------------------------------------------------------
#####################################################################
#When you add an entry to this file, add your name, the date, and an
#explanation of why something is getting masked
#
# NOTE: Please add your entry at the top!
#
##
## This is an example
##
# <bangert@gentoo.org> (28 Jun 2002)
# psypete says these are broken and i am using the
# opporturnity to test the masking style
# <bangert@gentoo.org> (28 Jun 2002)
# psypete says these are not really broken - its just
# the v4l stuff that does not work
#=media-video/mplayer-0.90_pre5
#=media-video/mplayer-0.90_pre5-r1
##
## End example
##
--------------------------------------------------------------
Should there be some mesa stuff in there to comment out?
Is there anything else I can try? |
|
Back to top |
|
|
fuzion n00b
Joined: 19 Feb 2003 Posts: 56
|
Posted: Wed Mar 05, 2003 4:21 am Post subject: fixed it |
|
|
yay, I am a l33t haxor...
I fixed the problem... there's a fix on the bug page but they don't say how to go about fixing it...
https://bugs.gentoo.org/show_bug.cgi?id=15811
if you had the same problem as me (installing winex with gcc3.2.2) try this:
emerge glut
*copy the winex-200*.tar.bz2 to some directory*
tar xvfj winex-200*.tar.bz2
cd wine
./configure
vim include/wine_gl.h
*look for lines 74, 75, 76, in that define section, make it an #ifndef... here's my section of the wine_gl.h file*
-----
#ifndef WINE_DRAW_need_multitexture_pfns
typedef void (APIENTRY *...
typedef void (APIENTRY *...
typedef void (APIENTRY *...
#endif
-----
now do a:
make dep && make
su...
make install |
|
Back to top |
|
|
xlyz Veteran
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Mon Mar 10, 2003 12:24 am Post subject: |
|
|
even easier
emerge winex
ctrl+z as soon as it unpacks the tarball
modify /var/tmp/portage/wine*/work/wine/include/wine_gl.h as described above
fg
|
|
Back to top |
|
|
|