You are not logged in.

#1 2005-06-22 00:30:50

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

wine config

I've got a dual boot system with windows XP (fat32) on one partition and arch linux on the other.  I downloaded wine (with pacman) but don't see any way to point it to my windows partition.. it keeps creating a /home/viniosity/.wine/ directory.  Anyone have any pointers as to how to get wine looking at the right windows install?

Offline

#2 2005-06-22 09:17:34

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: wine config

As far as i know the newer wine versions doesn´t support  real windows partitions anymore. So you should make your own fake_windows drive inside  ~/.wine.
For easy configuration you should use winetools, it´s in AUR (click me).
After you setup a working fake windows and config, you could copy all things you wanna use from your windows XP partition inside the fake windows. That wouldn´t be to much work. But new installation would be the better way.
Xou could have a look at dx9wine-cvs which is AUR too. Here It is the newest wine from cvs with the directX9 patch of Olivier. This version is very good for some games that uses dx9.

Offline

#3 2005-06-22 18:13:31

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: wine config

I'm not an expert at using the AUR but what I did was download the tarball and PKGBUILD and then run makepkg as a user.  I have cvs and fakeroot installed so hopefully that's not was is causing this error:

==> Starting build()...
cvs checkout: warning: failed to open /home/viniosity/.cvspass for reading: No such file or directory
cvs checkout: authorization failed: server rhlx01.fht-esslingen.de rejected access to /home/wine for user cvs
cvs checkout: used empty password; try "cvs login" with a real password
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -X ignore -Nru clean/wine/dlls/d3d8/basetexture.c patch/wine/dlls/d3d8/basetexture.c
|--- clean/wine/dlls/d3d8/basetexture.c 2005-06-03 19:08:48.000000000 +0100
|+++ patch/wine/dlls/d3d8/basetexture.c 2005-06-14 13:41:56.000000000 +0100

Is it the PKGBUILD or did I make a mistake somewhere?

Offline

#4 2005-06-22 19:41:54

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: wine config

did you use 'cvs' as the password when prompted?

Offline

#5 2005-06-22 19:46:32

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: wine config

It actually didn't prompt me for a password at all.  The only prompt I got was a question as to which file to patch.  I think I got that prompt b/c wine wasn't downloaded and hence the pkgbuild couldn't find it and so had to ask where to patch.

Offline

#6 2005-06-22 19:53:36

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: wine config

the new PKGBUILD does not prompt for pass anymore, (it passes the cvs right through anyway)

but i will look it over, (in the mean time, you may take away the text that says: echo -e 'cvs/n' >
in the build...

hope that workes for now,...i will look over the code myself now ...once again


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#7 2005-06-22 19:55:03

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: wine config

hmm...it seems to work for me, try being root and tell me if you encountereing the problem still

please post the PKGBUILD you are using btw.


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#8 2005-06-22 20:54:08

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: wine config

I have now uploaded som binary packages, not sure if they work

but you may try

http://linuxportalen.com/archlinux/


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#9 2005-06-22 23:19:04

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: wine config

Here is the PKGBUILD

#Cam's orignal, modified by CyberTron and Searinox and Cerebral. Maintained by CyberTron
pkgname=dx9wine-cvs
pkgver=20050613
pkgrel=3
pkgdesc="WINE-cvs with DirectX9 patch unstable"
url="http://www.winehq.org"
depends=('x-server')
patchname=d3d9patch
patchver=2005-06-13
source=(http://dl.sourceforge.net/sourceforge/directxwine/$patchname.$patchver.diff.bz2)
md5sums=('36e1253f232d28e95a57cfaf813777f8')
conflicts=('wine')
provides=('wine')

build() {

         cd $startdir/src
         #Login to cvs, password is: cvs
          export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine
           echo -e 'cvsn' > cvs login
            cvs -z 0 checkout -D 2005-06-14 wine
            #patch with latest direct x
             patch -Np1 -i $startdir/src/$patchname.$patchver.diff

              # continue with standard build
                cd $startdir/src/wine
                  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
                    make depend || return 1
                      make || return 1
                        make prefix=$startdir/pkg/usr install
                          rm -f $startdir/pkg/etc/expand
                            mkdir -p $startdir/pkg/etc/wine
                              mkdir -p $startdir/pkg/etc/profile.d
                                cp -r  $startdir/src/wine/documentation/samples $startdir/pkg/etc/wine
                        }

I am running it from the /home/viniosity/PKG/winedx directory as a normal user using the makepkg command.  I tried as root but got the same error.  I also tried removing the entire line that started with echo -e but it still failed.  The error I got when I removed it was:

==> Starting build()...
cvs checkout: warning: failed to open /home/viniosity/.cvspass for reading: No such file or directory
cvs checkout: authorization failed: server rhlx01.fht-esslingen.de rejected access to /home/wine for user cvs
cvs checkout: used empty password; try "cvs login" with a real password
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -X ignore -Nru clean/wine/dlls/d3d8/basetexture.c patch/wine/dlls/d3d8/basetexture.c
|--- clean/wine/dlls/d3d8/basetexture.c 2005-06-03 19:08:48.000000000 +0100
|+++ patch/wine/dlls/d3d8/basetexture.c 2005-06-14 13:41:56.000000000 +0100

The only two files I have in the /home/viniosity/PKG/winedx directory are the PKGBUILD (above) and the file dx9wine-cvs.tar.gz.

I will download the binary but would rather get this figured out if at all possible first.

Thanks!

Offline

#10 2005-06-22 23:39:17

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: wine config

looks like by removing that line you removed cvs login too.

--- EDIT ---
That PKGBUILD (the one above) works here.

Offline

#11 2005-06-23 00:28:07

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: wine config

Ok, I think I figured it out..

the problem appears to be with my /home/viniosity/.cvspass file

From the command line I manually typed

export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine 

followed by

cvs login

at the prompt I typed 'cvs' as the password.  This created the correct .cvspass for me.  After that the PKGBUILD appears to be working.. will chime in on that once it's done. smile

Offline

#12 2005-06-23 01:16:28

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: wine config

ok - it finished building and then I did a pacman -A with the resulting package.

Still, when I try to run something like guild wars (which is on my windows partition) I get an error saying:

couldn't initialize the 3D output.  Please verify that you have installed DirectX 8 and an updated video driver.

I had that same error with regular wine yesterday.  But I did uninstall wine before running the pkgbuild.  Is there something else I can test it with?

Offline

#13 2005-06-23 01:31:06

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: wine config

i got similar messages from a few d3d apps i tried to run. not sure what's up.

Offline

#14 2005-06-23 01:36:43

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: wine config

I'm wondering if it has something to do with the registry?  Did you install into a fresh fake c drive after changing versions?

Offline

#15 2005-06-23 01:52:56

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: wine config

That's a good hunch.. I uninstalled the dx9wine-cvs and rooted around for anything from my old wine install. I erased /etc/wine and /home/viniosity/.wine and retried.  Still got the same error though.

Offline

#16 2005-06-23 08:06:28

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: wine config

I have updated the dxwine-cvs in the aur now, since it appears that the passworthingie only works if the cvspass exists...

so now it just tells the pass big_smile

thanks for pointing this out (both cerebral and viniosity)

and for the dx8 not found thing, you are running your game on a windows partiion with fat32? / or ntfs?

that might be a problem since you have to use the option exec in fstab if you wanna do this. If you have the space, try and copy the game over to your linux harddriove and try running it and see if there are the same problems


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB