Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Rep:
Question about location of Wine file...
Instructions below are to make Kazaa workable with wine...my question is where the /.wine/fake_windows/ directory is ..I'm assuming I have to make it, but wasn't sure since the instructions explicitly said to go into that directory so I figured maybe it was somewhere else on here that I wasn't looking. Thanks.
-Keerthan
----
1. Install Wine and set it's version to Win98
2. Install K++ 2.10 by entering command "wine klitekpp210b3e.exe".
3. You need to get some Windows dll's to your Windows/System/ directory.
Enter the following commands:
cd ~/.wine/fake_windows/Windows/System
.
.
.
.bunch of other commands to enter below
The directory is created when you install wine.
In your home directory will be a hidden folder called ".wine".
In that folder is the fake windows directory.
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Original Poster
Rep:
These are the only files in my .wine directory....
------
[keerthan@ks .wine]$ ls -a
. .. cachedmetrics.:0.0 config system.reg userdef.reg user.reg win.ini
-------
However, when I installed i placed the "windows" directory in /home/keerthan/... here's the setup:
------
[keerthan@ks keerthan]$ cd windows
[keerthan@ks windows]$ ls -a
. .. c
[keerthan@ks windows]$ cd c
[keerthan@ks c]$ ls -a
. .. My Documents My Shared Folder Program Files windows
[keerthan@ks c]$ cd windows
[keerthan@ks windows]$ ls
Application Data Kazaa Lite regedit.exe system winhlp32.exe
command Lite rundll32.exe system.ini win.ini
Desktop notepad.exe SendTo uninstall.exe
Fonts Profiles Start Menu winhelp.exe
[keerthan@ks windows]$ cd system
--------
I'm assuming the fake windows directory above is the one i need to move the .dll files into instead of the .wine directory...but let me know if I'm wrong on this. Thanks.
I've just installed wine, and to get it configured right I downloaded winetools to help create a fake c directory in .wine and create a config file. Then all I had to do was pass the winedefault.reg file from the wine package to regedit and I had a 'look ma no windows' fake directory. I got Counter-Strike to install, but alas it kills my x
However I hope this helps you getting wine set up. If you need any more info let me know.
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Original Poster
Rep:
My wine works with notepad ..and that's about the only thing I've gotten it to work with....right now I'm trying to install a p2p program...so kazaa lite would be good..but it keeps giving me errors...Went to the k-lite website and the instructions they gave me above was what I tried out.....but these are errors in the file:
Line 26: Unrecognized input '\"*\" = \"builtin, native, so\"'
Line 27: Unrecognized input '\"commctrl\" = \"native\"'
Line 28: Unrecognized input '\"shdoclc\" = \"native\"'
Line 29: Unrecognized input '\"shdocvw\" = \"native\"'
Line 30: Unrecognized input '\"shlwapi\" = \"native\"'
Line 31: Unrecognized input '\"comdlg32\" = \"native\"'
Line 32: Unrecognized input '\"ole32\" =\ "native\"'
Line 33: Unrecognized input '\"oleaut32\" = \"native\"'
Line 34: Unrecognized input '\"rpcrt4\" = \"native\"'
I thought that's what the website told me to do.....maybe I misunderstood or something.
I'm trying to install limewire as well but I'm getting java environment problems with that. But if you have already installed a p2p program that works...I'll take your advice on how to get it on here because I've been unsuccessful with several of the others(including WinMX). Thanks...really appreciate the reply.
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Original Poster
Rep:
Dr Ozz,
Thanks for the article....changed the stuff around accordingly. However, I'm getting this error when I type in "wine kpp.exe":
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
x11drv: Can't open display: :0.0
Are there any drivers I may need to get the display to work?
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Original Poster
Rep:
I opened up a new terminal....i dont know if the last one gave those errors becasue I had switched to diff. users several times...so it may have not been on the path that it was supposed to be on? Not sure on that..just a guess. But here is what I'm getting now after typing in "wine kpp.exe"....kinda long so bear with me...
It asked me to debug....here's the stuff that the debugger did..and at the end it just ended...and nothing popped up...assuming that failed.
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
FIXME: pthread_cond_init
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
fixme:win32:PE_CreateModule Unknown directory 15 ignored
[keerthan@ks Kazaa Lite]$ err:module:import_dll Module (file) ole32.dll (which is needed by C:\WINDOWS\SYSTEM\shell32.dll) not found
err:module:load_library can't load shell32.dll
wine: Unhandled exception, starting debugger...
FIXME: pthread_cond_init
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
WineDbg starting on pid a
Loaded debug information from ELF 'wine' ((nil))
Breakpoint 1 at 0x4000cf70 (_end+0x400b824)
Loaded debug information from ELF '/usr/local/lib/libntdll.dll.so' (0x40034000)
Loaded debug information from ELF '/usr/local/lib/libwine.so.1' (0x40118000)
Loaded debug information from ELF '/usr/local/lib/libwine_unicode.so.1' (0x4012f000)
No debug information in ELF '/lib/libc.so.6' (0x40211000)
No debug information in ELF '/lib/libm.so.6' (0x4034c000)
No debug information in ELF '/lib/libdl.so.2' (0x4036e000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
No debug information in ELF '/lib/libnss_files.so.2' (0x40372000)
Loaded debug information from ELF '/usr/local/lib/wine/kernel32.dll.so' (0x408b3000)
Loaded debug information from ELF '/usr/local/lib/wine/user32.dll.so' (0x4096b000)
Loaded debug information from ELF '/usr/local/lib/wine/gdi32.dll.so' (0x40a87000)
Loaded debug information from ELF '/usr/local/lib/wine/advapi32.dll.so' (0x40afc000)
No debug information in ELF '/usr/lib/libfreetype.so.6' (0x40b27000)
Loaded debug information from ELF '/usr/local/lib/wine/x11drv.dll.so' (0x40b78000)
No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40bdf000)
No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40be8000)
No debug information in ELF '/usr/X11R6/lib/libXv.so.1' (0x40bff000)
No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40c04000)
No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40c12000)
No debug information in ELF '/usr/lib/libGL.so.1' (0x40cf1000)
No debug information in ELF '/lib/libpthread.so.0' (0x40d64000)
No debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x40db6000)
No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x40dbf000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2' (0x4001d000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2' (0x40de0000)
Loaded debug information from ELF '/usr/local/lib/wine/comctl32.dll.so' (0x41310000)
Loaded debug information from ELF '/usr/local/lib/wine/shell32.dll.so' (0x413a3000)
No debug information in 32bit DLL 'C:\Program Files\Kazaa Lite\KazaaLite.kpp' (0x400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40060000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x408e0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x40b10000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40aa0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40990000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40b90000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSVCRT.DLL' (0x78000000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x772d0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x41320000)
Unhandled exception: illegal instruction in 32-bit code (0x000f0043).
In 32-bit mode.
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0033 GS:0000
EIP:000f0043 ESP:408a26a0 EBP:408a26ac EFLAGS:00010286( R- 00 I S - -P1 )
EAX:4141afc5 EBX:4141da34 ECX:4038001c EDX:41401c87
ESI:3c07a6f
Stack dump:
0x408a26a0 (NTDLL.DLL.sqrt+0x54caa0): 413cdb78 4141af6c 40015dec 408a26bc
0x408a26b0 (NTDLL.DLL.sqrt+0x54cab0): 413b93ba 4000cf39 40015dec 408a270c
0x408a26c0 (NTDLL.DLL.sqrt+0x54cac0): 4000ca61 00000002 bfffd914 bfffd920
0x408a26d0 (NTDLL.DLL.sqrt+0x54cad0): 4036e810 00000000 40015aec 00000449
0x408a26e0 (NTDLL.DLL.sqrt+0x54cae0): 000004fc 0000033b 00000000 40015fe0
0x408a26f0 (NTDLL.DLL.sqrt+0x54caf0): 00000000 bfffd914 00000002 3c07a6f8
0x408a2700 (NTDLL.DLL.sqrt+0x54cb00):8 EDI:bfffd914
Backtrace:
=>0 0x000f0043 (ebp=408a26ac)
1 0x413b93ba (_init+0x1a in shell32.dll.so) (ebp=408a26bc)
2 0x4000ca61 (_end+0x400b315 in ld-linux.so.2) (ebp=408a270c)
3 0x40325812 (NTDLL.DLL.memcpy+0x98342 in libc.so.6) (ebp=408a278c)
4 0x4000c816 (_end+0x400b0ca in ld-linux.so.2) (ebp=408a288c)
5 0x4032527f (NTDLL.DLL.memcpy+0x97daf in libc.so.6) (ebp=408a28ec)
6 0x4036f00b (NTDLL.DLL.sqrt+0x1940b in libdl.so.2) (ebp=408a290c)
7 0x4000c816 (_end+0x400b0ca in ld-linux.so.2) (ebp=408a2a0c)
8 0x4036f416 (NTDLL.DLL.sqrt+0x19816 in libdl.so.2) (ebp=408a2a3c)
9 0x4036efb4 (NTDLL.DLL.sqrt+0x193b4 in libdl.so.2) (ebp=408a2a5c)
10 0x4011b7e6 (wine_dlopen+0x2a(filename=0x3c0791d8, flag=0x2, error=0x408a2ae0, errorsize=0x100) [loader.c:577] in libwine.so.1) (ebp=408a2a78)
11 0x4011b1ca (dlopen_dll+0x106(name=0x408a2c00, error=0x408a2ae0, errorsize=0x100, test_only=0x0) [loader.c:156] in libwine.so.1) (ebp=408a2aa4)
12 0x4011b6a2 (wine_dll_load+0x62(filename=0x408a2c00, error=0x408a2ae0, errorsize=0x100) [loader.c:391] in libwine.so.1) (ebp=408a2acc)
13 0x400b0ccf (BUILTIN32_dlopen+0x37(name=0x408a2c00, handle=0x408a2bfc) [builtin32.c:63] in libntdll.dll.so) (ebp=408a2bec)
14 0x400b10bf (BUILTIN32_LoadLibraryExA+0xa7(path=0x403d8de0, flags=0x0, pwm=0x408a2cac) [builtin32.c:171] in libntdll.dll.so) (ebp=408a2c2c)
15 0x400c755b (load_dll+0x3ff(libname=0x7fe2d32a, flags=0x0, pwm=0x408a2cac) [loader.c:959] in libntdll.dll.so) (ebp=408a2c80)
16 0x400c6277 (import_dll+0x2f(module=0x7fe10000, descr=0x7fe2be48) [loader.c:234] in libntdll.dll.so) (ebp=408a2cbc)
17 0x400c655d (PE_fixup_imports+0xc5(wm=0x403d8cd0) [loader.c:332] in libntdll.dll.so) (ebp=408a2ce8)
18 0x4008df38 (PE_CreateModule+0x2d0(hModule=0x7fe10000, filename=0x403d89d8,
flags=0x0, hFile=0x40, builtin=0x0) [pe_image.c:334] in libntdll.dll.so) (ebp=408a2d78)
19 0x4008e13f (PE_LoadLibraryExA+0x53(name=0x403d89d8, flags=0x0, pwm=0x408a2e0c) [pe_image.c:364] in libntdll.dll.so) (ebp=408a2da0)
20 0x400c75a6 (load_dll+0x44a(libname=0x403d8788, flags=0x0, pwm=0x408a2e0c) [loader.c:954] in libntdll.dll.so) (ebp=408a2df4)
21 0x400c7711 (LdrLoadDll+0x41(path_name=0x0, flags=0x0, libname=0x408a2e44, hModule=0x408a2e40) [loader.c:1021] in libntdll.dll.so) (ebp=408a2e24)
22 0x4008d4c3 (LoadLibraryExA+0x43(libname=0x5cf700, hfile=0x0, flags=0x0) [module.c:856] in libntdll.dll.so) (ebp=408a2e58)
23 0x4008d5e8 (LoadLibraryA+0x1c(libname=0x5cf700) [module.c:908] in libntdll.dll.so) (ebp=408a2e70)
24 0x0072b3c7 (KazaaLite.kpp..text+0x3c7 in C:\Program Files\Kazaa Lite\KazaaLite.kpp) (ebp=0057920c)
25 0x400c2ce4 (NTDLL.DLL.RtlUnwind in libntdll.dll.so) (ebp=00000000)
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Original Poster
Rep:
Another thing.....I still don't know why I'm doing this...I think it's an environment variable of some sort that I'm setting...but to get wine to even work....I have to type in this command:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.