You are not logged in.
Hi,
So, I've managed to install wine into a 32bit chroot running pure 64bit (no multilib).
I've got opengl stuff working for the chroot, but I cannot get winetricks to function.
I've compiled and installed it from aur, but it gives the error "Cannot find wine (wine)".
I need it to install corefonts.
Can somebody point me to how I can just download and install corefonts for wine manually, or better, tell me how I have to setup my chroot for winetricks to recognize my wine install (1.2)!?! Or is this a winetricks bug?
EDIT:
Comment out this part of the winetricks script (line 3810)
#if [ ! -x "`which "$WINE" 2>/dev/null`" ]
#then
# die "Cannot find wine ($WINE)"
#fi
Last edited by hungerfish (2010-07-19 10:54:11)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
I have no idea about wine, I'm just guessing.
> I need it to install corefonts.
'pacman -S ttf-ms-fonts' won't do? There's something like that in AUR too http://aur.archlinux.org/packages.php?ID=5418
Try telling winetricks where do you have wine installed: 'env WINE=~/wine-git/wine'.
Last edited by karol (2010-07-19 00:06:18)
Offline
You ARE installing winetricks within the chroot and not outside, aren't you?
Assuming its installed and can't RUN, which wine did you install? Can you run wine itself (try winecfg)?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yes, I pulled winetricks off aur, 'built' it within the chroot and installed it in the chroot.
My wine version is the 'official' version from the arch repos., and runs perfectly.
I've tried setting env, without success.
I've tried running tricks by using "schroot -p -- winetricks" and also by 'schrooting' into the chroot and running it there directly.
The ttf-ms-fonts package is already installed within the chroot, and I've now just downloaded all the font installers manually and installed them with wine.
Still I'd like to get winetricks working...
Last edited by hungerfish (2010-07-19 08:15:33)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
Paste your error message when running winetricks.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
schroot -p -- winetricks
------------------------------------------------------
Cannot find wine (wine)
------------------------------------------------------
Same when run from 'within' the chroot
Last edited by hungerfish (2010-07-19 09:00:07)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
http://wiki.winehq.org/winetricks
You'd probably need to contact the author. Never seen that error before, seems unhelpful.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
if [ ! -x "`which "$WINE" 2>/dev/null`" ]
then
die "Cannot find wine ($WINE)"
fi
http://www.kegel.com/wine/winetricks
Try setting that variable to your wine location.
> I've tried setting env, without success.
What does that mean? What did you run?
Last edited by karol (2010-07-19 09:15:36)
Offline
http://wiki.winehq.org/winetricks
You'd probably need to contact the author. Never seen that error before, seems unhelpful.
Quite to the contrary :-) there's only once mention of that error in the winetricks script.
Offline
Well I'm pretty sure this must have some connection to the schroot program.
I run:
"env WINE=/opt/arch32/usr/bin/wine winetricks"
and
"env WINE=/usr/bin/wine winetricks"
Still the same error.
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
'echo $WINE'
I think you need to _export_ those vars.
> Well I'm pretty sure this must have some connection to the schroot program.
Was there sth about "inheriting" env?
Offline
Still no luck
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
What's the output of
echo $WINE
Still the same error?
Last edited by karol (2010-07-19 09:44:28)
Offline
The path as should be seen by winetricks:
tom ~ $ WINE=/usr/bin/wine
tom ~ $ echo $WINE
/usr/bin/wine
tom ~ $ schroot -p -- winetricks
------------------------------------------------------
Cannot find wine (wine)
------------------------------------------------------
And the real path:
WINE=/opt/arch32/usr/bin/wine
tom ~ $ echo $WINE
/opt/arch32/usr/bin/wine
tom ~ $ schroot -p -- winetricks
------------------------------------------------------
Cannot find wine (wine)
------------------------------------------------------
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
Hack that script.
What happens if you remove those four lines I pasted https://bbs.archlinux.org/viewtopic.php … 09#p794509 ?
At the beginning the default values are defines as
WINE=${WINE:-wine}
Would a bit of hardcoding help?
Last edited by karol (2010-07-19 10:15:52)
Offline
Yep, did the trick...
Thanks Karol!
Last edited by hungerfish (2010-07-19 10:54:33)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
It does seem your chroot is setup wrongly though, to be able to see '/opt/arch32'....
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
It does seem your chroot is setup wrongly though, to be able to see '/opt/arch32'....
Maybe /opt/arch32 is the location of the chroot, so winetricks should see only what's inside.
Last edited by karol (2010-07-20 06:12:01)
Offline
ngoonee wrote:It does seem your chroot is setup wrongly though, to be able to see '/opt/arch32'....
Maybe /opt/arch32 is the location of the chroot, so winetricks should see only what's inside.
Yes, my sentiments exactly.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yes, well, the chroot is in /opt/arch32, I've only been also trying to set the full (non-chrooted) path, although obviously doing this isn't very sane...
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
When running apps from within the chroot, /opt/arch32/something/or/other should be just /something/or/other. That's the whole point of the chroot, changing your root to be some folder.
Well, if it works, no worries. Just seems the setup isn't correct to me.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
When running apps from within the chroot, /opt/arch32/something/or/other should be just /something/or/other.
I know, and that is what I meant above.
My chroot is setup correctly, I'm just guessing, but I think the check that the winetricks script does to see if wine is installed does not give the right result in a chroot env. (as setup when following the arch wiki entry).
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline