Jump to content

Wine


Guest Grimey
 Share

Recommended Posts

here is what i did with my wine cvs (you can use it as a guide)

 

1. i created a /opt/cvs/wine folder (i have some apps that i build from cvs), and changed there with the cd command

2. issued the wine cvs command (i have it in a simple bash script so i just call it to update the view). the first time it runs it creates a wine folder.

3. after i have successfully created/updated the wine cvs view, i go to the /opt/cvs/wine/wine folder (the one containing the source and configuration files) and issue a

$ ./configure

4. if configure finishes successfully, it has created a makefile (makefiles actually)

 $ make depend && make

5. if make finishes successfully then that is the time i can su to root and issue a

 # make install

. Note that instead of issuing a make install i use checkinstall so i can remove the wine installation with a single rpm -e wine<whatever>.

 

hth.

Link to comment
Share on other sites

  • Replies 49
  • Created
  • Last Reply

Top Posters In This Topic

Guest Grimey

/usr/local/lib doesn't exist in your /etc/ld.so.conf, it will be added

when we perform the install...



Compiling WINE. Grab a lunch or two, rent a video, or whatever,

in the meantime...



make[1]: Entering directory `/home/grimey/wine/libs'

make[2]: Entering directory `/home/grimey/wine/libs/port'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/grimey/wine/libs/port'

make[2]: Entering directory `/home/grimey/wine/libs/unicode'

gcc -c -I. -I. -I../../include -I../../include  -fPIC -D__WINESRC__ -DNO_LIBWINE_PORT @EXTRACFLAGS@ -g -O2 -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -o c_042.o c_042.c

gcc: cannot specify -o with -c or -S and multiple compilations

make[2]: *** [c_042.o] Error 1

make[2]: Leaving directory `/home/grimey/wine/libs/unicode'

make[1]: *** [unicode] Error 2

make[1]: Leaving directory `/home/grimey/wine/libs'

make: *** [libs] Error 2

cd `dirname dlls/__depend__` && make depend

make[1]: Entering directory `/home/grimey/wine/dlls'

cd `dirname advapi32/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/advapi32'

cd `dirname tests/__depend__` && make depend

make[3]: Entering directory `/home/grimey/wine/dlls/advapi32/tests'

../../../tools/makedep -I. -I. -I../../../include -I../../../include  -C. registry.c      testlist.c

make[3]: Leaving directory `/home/grimey/wine/dlls/advapi32/tests'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. advapi.c crypt.c eventlog.c registry.c security.c service.c

make[2]: Leaving directory `/home/grimey/wine/dlls/advapi32'

cd `dirname avicap32/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/avicap32'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. avicap32_main.c

make[2]: Leaving directory `/home/grimey/wine/dlls/avicap32'

cd `dirname avifil32/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/avifil32'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. acmstream.c api.c avifile.c extrachunk.c factory.c getframe.c icmstream.c wavfile.c  rsrc.rc

make[2]: Leaving directory `/home/grimey/wine/dlls/avifil32'

cd `dirname cabinet/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/cabinet'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. cabextract.c cabinet_main.c fci.c fdi.c

make[2]: Leaving directory `/home/grimey/wine/dlls/cabinet'

cd `dirname comcat/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/comcat'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. comcat_main.c factory.c information.c manager.c register.c regsvr.c  version.rc

make[2]: Leaving directory `/home/grimey/wine/dlls/comcat'

cd `dirname comctl32/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/comctl32'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. animate.c comboex.c comctl32undoc.c commctrl.c datetime.c draglist.c flatsb.c header.c hotkey.c imagelist.c ipaddress.c listview.c monthcal.c nativefont.c pager.c progress.c propsheet.c rebar.c smoothscroll.c status.c tab.c toolbar.c tooltips.c trackbar.c treeview.c updown.c  rsrc.rc

make[2]: Leaving directory `/home/grimey/wine/dlls/comctl32'

cd `dirname commdlg/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/commdlg'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. cdlg32.c colordlg.c filedlg.c filedlg95.c filedlgbrowser.c finddlg.c finddlg32.c filetitle.c fontdlg.c generic.c printdlg.c  rsrc.rc

make[2]: Leaving directory `/home/grimey/wine/dlls/commdlg'

cd `dirname crtdll/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/crtdll'

../../tools/makedep -I. -I. -I../../include -I../../include -I../../include/msvcrt -C. crtdll_main.c

make[2]: Leaving directory `/home/grimey/wine/dlls/crtdll'

cd `dirname crypt32/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/crypt32'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. main.c

make[2]: Leaving directory `/home/grimey/wine/dlls/crypt32'

cd `dirname ctl3d/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/ctl3d'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. ctl3d32.c ctl3d.c

make[2]: Leaving directory `/home/grimey/wine/dlls/ctl3d'

cd `dirname d3dim/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/d3dim'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. d3dim_main.c  version.rc

make[2]: Leaving directory `/home/grimey/wine/dlls/d3dim'

cd `dirname dciman32/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/dciman32'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. dciman_main.c

make[2]: Leaving directory `/home/grimey/wine/dlls/dciman32'

cd `dirname devenum/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/devenum'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. devenum_main.c

make[2]: Leaving directory `/home/grimey/wine/dlls/devenum'

cd `dirname dinput/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/dinput'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. device.c dinput_main.c joystick/linux.c joystick/linuxinput.c keyboard/main.c mouse/main.c  version.rc

make[2]: Leaving directory `/home/grimey/wine/dlls/dinput'

cd `dirname dinput8/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/dinput8'

../../tools/makedep -I. -I. -I../../include -I../../include  -C. dinput8_main.c

make[2]: Leaving directory `/home/grimey/wine/dlls/dinput8'

cd `dirname dmband/__depend__` && make depend

make[2]: Entering directory `/home/grimey/wine/dlls/dmband'

make[2]: *** No rule to make target `depend'.  Stop.

make[2]: Leaving directory `/home/grimey/wine/dlls/dmband'

make[1]: *** [dmband/__depend__] Error 2

make[1]: Leaving directory `/home/grimey/wine/dlls'

make: *** [dlls/__depend__] Error 2



Compilation failed, aborting install.

 

There it is, that's when I run ./tools/wineinstall

Link to comment
Share on other sites

Guest Grimey

Lol sorry about that, I"ll see if I can't get it to work. If I just do urpmi wine and install that is that bad??? Cuz when I did that before and I tried to run the wine command it says it doesn't exist....

Link to comment
Share on other sites

Guest Grimey

Alright I tried that and now the wine command works but it gives me this error when I try to run say solitare...

 

Runtime Error!



Program: C:WINDOWSsystem32sol.exe



R6016

- not enough space for the thread data

 

And how do you run other programs with the wine command?

Link to comment
Share on other sites

Guest Grimey

When I do that I get this error...

 

[grimey@superman grimey]$ wine notepad

Warning: the temporary directory '/tmp/winetmp-grimey' (specified in wine configuration file) is not writeable.

Perhaps you have not properly edited or created your Wine configuration file.

This is (supposed to be) '/home/grimey/.wine/config'

fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?

fixme:reg:_nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?

fixme:reg:_err:heap:HEAP_GetPtr Invalid heap (nil)!

err:heap:HEAP_GetPtr Invalid heap (nil)!

fixme:dialog:MSGBOX_OnInit task modal msgbox ! Not modal yet.nt_dump_lf unknown Win XP node id 0x686c: do we need to add support for it ?

 

then it gives me that me that error I talked about earlier again.

Link to comment
Share on other sites

Guest Grimey

That's alright don't worry about it, and yes I have Windows XP installed on the same drive and I can read the files, I'm guessing I have to alter something in the config file which is located where? ~/.wine??? I just don't know what I would have to do though.

Link to comment
Share on other sites

That's alright don't worry about it, and yes I have Windows XP installed on the same drive and I can read the files, I'm guessing I have to alter something in the config file which is located where? ~/.wine???  I just don't know what I would have to do though.

 

yes the config file is in home/usrname/.wine/

 

I couldnt get the cvs to compile properly so i removed the .wine directory and the /home/john/wine/

directory i had the cvs in. downloaded a build 8 april 2003 i think and compiled from that, worked great.

 

edited the default config file by hand, to add a app entry for counterstrike.exe so it would run in a 1024x768 window and it runs fine.

 

using wine without windows dlls as i don't have windows. I will install DOD mod for cs this week as i like that mod, i don't really like cs when compared to urban terror but DOD is quite different.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...