Help me please...

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Memorex
Newbie
Newbie
Posts: 2
Joined: Sat Feb 23, 2008 8:06 am
Location: Bulgaria,Pleven
Contact:

Help me please...

Post by Memorex » Sat Feb 23, 2008 8:07 am

Help me how to config wine on slackware 11?

L. Rahyen
Moderator
Moderator
Posts: 328
Joined: Fri Feb 22, 2008 9:13 pm
Contact:

Help me please...

Post by L. Rahyen » Sat Feb 23, 2008 9:07 am

On Saturday February 23 2008 13:07:44 Memorex wrote:
> Help me how to config wine on slackware 11?

        Did you try to install package for Slackware that can be downloaded from [1] (or you may use this direct download link to download it [2]). If not you can try this now. To install it on Slackware it is enough to run this command (as root):

installpkg wine-0.9.55-i486-1kjz.tgz

        I'm not familiar with Slackware but I think this should work out-of-the-box (if this is not the case please describe what exactly doesn't work for you).
If you still have problems feel free to ask additional questions; in this case don't forget to give more details about your problem.

[1] http://www.winehq.com/site/download
[2]
http://heanet.dl.sourceforge.net/source ... 6-1kjz.tgz

austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm
Contact:

Help me please...

Post by austin987 » Sat Feb 23, 2008 12:22 pm

On Sat, Feb 23, 2008 at 8:01 AM, L. Rahyen <research@science.su> wrote:
On Saturday February 23 2008 13:07:44 Memorex wrote:
Help me how to config wine on slackware 11?
Did you try to install package for Slackware that can be downloaded from
http://www.winehq.com/site/download ? Or you may use this direct download
link to download it [1].
Also you may find useful "Installing and Configuring Software under Slackware
Linux" article [2], especially section related to WINE [3]. However please
note that this article may be somewhat out of date.
If you still have problems feel free to ask additional questions.

[1]
http://heanet.dl.sourceforge.net/source ... 6-1kjz.tgz
[2] http://www.eskimo.com/~meik/linux/confi ... tware.html
[3] http://www.eskimo.com/~meik/linux/confi ... .html#wine

Run 'winecfg' in terminal.

Memorex
Newbie
Newbie
Posts: 2
Joined: Sat Feb 23, 2008 8:06 am
Location: Bulgaria,Pleven
Contact:

...

Post by Memorex » Mon Feb 25, 2008 9:50 am

root@memorex:~# winecfg
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.
wine: creating configuration directory '/root/.wine'...
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.
wine: Unhandled page fault on write access to 0x003ffd80 at address 0x60998103 (thread 0009), starting debugger...
wine: glibc >= 2.3 without NPTL or TLS is not a supported combination.
It will most likely crash. Please upgrade to a glibc with NPTL support.
Unhandled exception: page fault on write access to 0x003ffd80 in 32-bit code (0x60998103).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0000
EIP:60998103 ESP:0033e7f8 EBP:0033eb60 EFLAGS:00210212( - 00 - RIA1)
EAX:0033ec90 EBX:6099fff4 ECX:609972e0 EDX:00000001
ESI:003ffbe0 EDI:60017020
Stack dump:
0x0033e7f8: 0033e838 6099e85c 0033e838 0033e834
0x0033e808: 00000000 00000000 0000eb58 00000005
0x0033e818: 00001000 00000001 0000ee5c 60017020
0x0033e828: 609a01b4 609a01b8 0033eab8 0000001e
0x0033e838: 46203123 53206972 31207065 3a313020
0x0033e848: 353a3834 44432032 30322054 60003630
0200: sel=1007 base=7ffd8000 limit=00003fff 32-bit rw-
Backtrace:
=>1 0x60998103 pthread_initialize+0x293() in libpthread.so.0 (0x0033eb60)
2 0x6099e7d5 __do_global_ctors_aux+0x25() in libpthread.so.0 (0x0033eb70)
3 0x60993aa2 _init+0x12() in libpthread.so.0 (0x0033eb78)
4 0x6000c3af _dl_init+0x25f() in ld-linux.so.2 (0x0033ebc8)
5 0x60244f90 dl_open_worker+0x3e0() in libc.so.6 (0x0033ec68)
6 0x6000c07e _dl_catch_error+0x6e() in ld-linux.so.2 (0x0033ed58)
7 0x60245978 __GI__dl_open+0x98() in libc.so.6 (0x0033edc8)
8 0x60275d0d GLIBC_2+0xd0d() in libdl.so.2 (0x0033ede8)
9 0x6000c07e _dl_catch_error+0x6e() in ld-linux.so.2 (0x0033eed8)
10 0x6027632b _dlerror_run+0xbb() in libdl.so.2 (0x0033ef18)
11 0x60275d5d GLIBC_2+0xd5d() in libdl.so.2 (0x0033ef48)
12 0x6001db4f wine_get_es+0xd07() in libwine.so.1 (0x0033ef78)
13 0x607f45cf in winex11 (+0x345cf) (0x0033efe8)
14 0x607f5584 X11DRV_setup_opengl_visual+0x124() in winex11 (0x0033f0c8)
15 0x6080a646 in winex11 (+0x4a646) (0x0033f218)
16 0x60819e04 in winex11 (+0x59e04) (0x0033f248)
17 0x602b95a5 call_dll_entry_point+0x15() in ntdll (0x0033f268)
18 0x602bad9a in ntdll (+0x2ad9a) (0x0033f2e8)
19 0x602bb37d in ntdll (+0x2b37d) (0x0033f318)
20 0x602bc997 LdrLoadDll+0x87() in ntdll (0x0033f348)
21 0x603cca2e in kernel32 (+0x3ca2e) (0x0033f598)
22 0x603ccbc2 LoadLibraryExW+0x42() in kernel32 (0x0033f5b8)
23 0x603cccd4 LoadLibraryExA+0x34() in kernel32 (0x0033f5d8)
24 0x603ccd00 LoadLibraryA+0x20() in kernel32 (0x0033f5f8)
25 0x6062b0ed in gdi32 (+0x1b0ed) (0x0033f768)
26 0x606270bf CreateDCW+0x5f() in gdi32 (0x0033fa08)
27 0x6051226e CreateIconFromResourceEx+0x37e() in user32 (0x0033fa88)
28 0x60512b76 in user32 (+0x32b76) (0x0033fb18)
29 0x60513b46 LoadImageW+0x2e6() in user32 (0x0033fb98)
30 0x60514070 LoadImageA+0x40() in user32 (0x0033fc88)
31 0x605143f7 LoadCursorA+0x67() in user32 (0x0033fcc8)
32 0x60509997 in user32 (+0x29997) (0x0033fcf8)
33 0x605099fe in user32 (+0x299fe) (0x0033fd08)
34 0x6057292e in user32 (+0x9292e) (0x0033fd78)
35 0x60585ef4 in user32 (+0xa5ef4) (0x0033fda8)
36 0x602b95a5 call_dll_entry_point+0x15() in ntdll (0x0033fdc8)
37 0x602bad9a in ntdll (+0x2ad9a) (0x0033fe48)
38 0x602bb37d in ntdll (+0x2b37d) (0x0033fe78)
39 0x602bb2c2 in ntdll (+0x2b2c2) (0x0033fea8)
40 0x602bdb78 LdrInitializeThunk+0x278() in ntdll (0x0033ff08)
41 0x603da85c in kernel32 (+0x4a85c) (0x0033ffe8)
42 0x6001f707 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x60998103 pthread_initialize+0x293 in libpthread.so.0: movl %eax,0x1a0(%esi)
Modules:
Module Address Debug info Name (35 modules)
ELF 60000000-60018000 Export ld-linux.so.2
ELF 60018000-6012c000 Export libwine.so.1
ELF 60136000-6013f000 Deferred libsm.so.6
ELF 6013f000-60144000 Deferred libxxf86vm.so.1
ELF 60147000-60275000 Export libc.so.6
ELF 60275000-60279000 Export libdl.so.2
ELF 60279000-60316000 Export ntdll<elf>
\-PE 60290000-60316000 \ ntdll
ELF 60316000-60339000 Deferred libm.so.6
ELF 60339000-60343000 Deferred libnss_compat.so.2
ELF 60343000-60359000 Deferred libnsl.so.1
ELF 60359000-60363000 Deferred libnss_nis.so.2
ELF 60363000-6036e000 Deferred libnss_files.so.2
ELF 6036e000-6048d000 Export kernel32<elf>
\-PE 60390000-6048d000 \ kernel32
ELF 604b9000-604cd000 Deferred rundll32<elf>
\-PE 604c0000-604cd000 \ rundll32
ELF 604cd000-605f7000 Export user32<elf>
\-PE 604e0000-605f7000 \ user32
ELF 605f7000-60687000 Export gdi32<elf>
\-PE 60610000-60687000 \ gdi32
ELF 60687000-606ce000 Deferred advapi32<elf>
\-PE 60690000-606ce000 \ advapi32
ELF 606e8000-60752000 Deferred libfreetype.so.6
ELF 60752000-60764000 Deferred libz.so.1
ELF 60764000-6078b000 Deferred libfontconfig.so.1
ELF 6078b000-607ab000 Deferred libexpat.so.0
ELF 607ab000-60836000 Export winex11<elf>
\-PE 607c0000-60836000 \ winex11
ELF 60836000-6084e000 Deferred libice.so.6
ELF 6084e000-6085c000 Deferred libxext.so.6
ELF 6085c000-60929000 Deferred libx11.so.6
ELF 60929000-60990000 Deferred libgl.so.1
ELF 60990000-609e3000 Export libpthread.so.0
ELF 7bf00000-7bf07000 Deferred <wine-loader>
Threads:
process tid prio (all id:s are in hex)
00000008 (D) c:\windows\system32\rundll32.exe
00000009 0 <==
0000000a
0000000b 0
Backtrace:
=>1 0x60998103 pthread_initialize+0x293() in libpthread.so.0 (0x0033eb60)
2 0x6099e7d5 __do_global_ctors_aux+0x25() in libpthread.so.0 (0x0033eb70)
3 0x60993aa2 _init+0x12() in libpthread.so.0 (0x0033eb78)
4 0x6000c3af _dl_init+0x25f() in ld-linux.so.2 (0x0033ebc8)
5 0x60244f90 dl_open_worker+0x3e0() in libc.so.6 (0x0033ec68)
6 0x6000c07e _dl_catch_error+0x6e() in ld-linux.so.2 (0x0033ed58)
7 0x60245978 __GI__dl_open+0x98() in libc.so.6 (0x0033edc8)
8 0x60275d0d GLIBC_2+0xd0d() in libdl.so.2 (0x0033ede8)
9 0x6000c07e _dl_catch_error+0x6e() in ld-linux.so.2 (0x0033eed8)
10 0x6027632b _dlerror_run+0xbb() in libdl.so.2 (0x0033ef18)
11 0x60275d5d GLIBC_2+0xd5d() in libdl.so.2 (0x0033ef48)
12 0x6001db4f wine_get_es+0xd07() in libwine.so.1 (0x0033ef78)
13 0x607f45cf in winex11 (+0x345cf) (0x0033efe8)
14 0x607f5584 X11DRV_setup_opengl_visual+0x124() in winex11 (0x0033f0c8)
15 0x6080a646 in winex11 (+0x4a646) (0x0033f218)
16 0x60819e04 in winex11 (+0x59e04) (0x0033f248)
17 0x602b95a5 call_dll_entry_point+0x15() in ntdll (0x0033f268)
18 0x602bad9a in ntdll (+0x2ad9a) (0x0033f2e8)
19 0x602bb37d in ntdll (+0x2b37d) (0x0033f318)
20 0x602bc997 LdrLoadDll+0x87() in ntdll (0x0033f348)
21 0x603cca2e in kernel32 (+0x3ca2e) (0x0033f598)
22 0x603ccbc2 LoadLibraryExW+0x42() in kernel32 (0x0033f5b8)
23 0x603cccd4 LoadLibraryExA+0x34() in kernel32 (0x0033f5d8)
24 0x603ccd00 LoadLibraryA+0x20() in kernel32 (0x0033f5f8)
25 0x6062b0ed in gdi32 (+0x1b0ed) (0x0033f768)
26 0x606270bf CreateDCW+0x5f() in gdi32 (0x0033fa08)
27 0x6051226e CreateIconFromResourceEx+0x37e() in user32 (0x0033fa88)
28 0x60512b76 in user32 (+0x32b76) (0x0033fb18)
29 0x60513b46 LoadImageW+0x2e6() in user32 (0x0033fb98)
30 0x60514070 LoadImageA+0x40() in user32 (0x0033fc88)
31 0x605143f7 LoadCursorA+0x67() in user32 (0x0033fcc8)
32 0x60509997 in user32 (+0x29997) (0x0033fcf8)
33 0x605099fe in user32 (+0x299fe) (0x0033fd08)
34 0x6057292e in user32 (+0x9292e) (0x0033fd78)
35 0x60585ef4 in user32 (+0xa5ef4) (0x0033fda8)
36 0x602b95a5 call_dll_entry_point+0x15() in ntdll (0x0033fdc8)
37 0x602bad9a in ntdll (+0x2ad9a) (0x0033fe48)
38 0x602bb37d in ntdll (+0x2b37d) (0x0033fe78)
39 0x602bb2c2 in ntdll (+0x2b2c2) (0x0033fea8)
40 0x602bdb78 LdrInitializeThunk+0x278() in ntdll (0x0033ff08)
41 0x603da85c in kernel32 (+0x4a85c) (0x0033ffe8)
42 0x6001f707 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
wine: wineprefixcreate failed while creating '/root/.wine'.
root@memorex:~# wineserver: could not save registry branch to /root/.wine-gx1Io5/system.reg : No such file or directory
wineserver: could not save registry branch to /root/.wine-gx1Io5/user.reg : No such file or directory



Please help me ..

Alan McKinnon

Help me please...

Post by Alan McKinnon » Mon Feb 25, 2008 10:57 am

On Monday 25 February 2008, Memorex wrote:
root@memorex:~# winecfg
wine: glibc >= 2.3 without NPTL or TLS is not a supported
combination. It will most likely crash. Please upgrade to a glibc
with NPTL support.
Well there you go, that's your problem and the reason for the continual
crashes. You are running a glibc that does not have NPTL or TLS, and
you will need to upgrade glibc to a version that does have such
support. Or, configure the system correctly so that those libraries are
properly detected and used.

This is not a wine issue, it is a Slackware one. You stand a better
chance of finding out how to fix it by asking on the slack user
forums/lists
wine: creating configuration directory
'/root/.wine'...
Do not run wine as root
Do not run wine as root
Do not run wine as root

It opens the door to incredible amounts of destrucction and devastation
from Windows programs when they go wrong

I can't think of any valid reason, not even a debugging one, to run wine
as root.



--
Alan McKinnon
alan dot mckinnon at gmail dot com

David Gerard

Help me please...

Post by David Gerard » Mon Feb 25, 2008 11:07 am

On 25/02/2008, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
Do not run wine as root
Do not run wine as root
Do not run wine as root
Is there any code in Wine to detect running as root and refuse to?
Should there be?


- d.

Alan McKinnon

Help me please...

Post by Alan McKinnon » Mon Feb 25, 2008 12:07 pm

On Monday 25 February 2008, David Gerard wrote:
On 25/02/2008, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
Do not run wine as root
Do not run wine as root
Do not run wine as root
Is there any code in Wine to detect running as root and refuse to?
No
Should there be?
No. Wine runs on *nix.

For 37 years *nix has worked on the basic assumption that users are
intelligent, they are not idiots and there is no need to protect them
from themselves. You are not supposed to do stupid things on *nix.

In short, running Wine as root is a deliberate action.
Solution: Just don't run the command that way.

--
Alan McKinnon
alan dot mckinnon at gmail dot com

austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm
Contact:

Help me please...

Post by austin987 » Mon Feb 25, 2008 12:53 pm

On Mon, Feb 25, 2008 at 11:02 AM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
On Monday 25 February 2008, David Gerard wrote:
On 25/02/2008, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
Do not run wine as root
Do not run wine as root
Do not run wine as root
Is there any code in Wine to detect running as root and refuse to?
Sort of. Wine detects if you run as a user different than the current
owner of the registry files. See also bug 10324:
http://bugs.winehq.org/show_bug.cgi?id=10324
Should there be?
Maybe. However, some stuff requires being run as root (ICMP/etc). Most
of the time, you shouldn't but there are rare cases where it is
needed. Unless you know better than wine/your computer (and you
probably don't), then you shouldn't run wine as root (or anything else
not needing root privileges).

-Austin

John R. Sowden

Help me please...

Post by John R. Sowden » Mon Feb 25, 2008 1:23 pm

Alan McKinnon wrote:
On Monday 25 February 2008, David Gerard wrote:
On 25/02/2008, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
Do not run wine as root
Do not run wine as root
Do not run wine as root
Is there any code in Wine to detect running as root and refuse to?
No

Should there be?
No. Wine runs on *nix.

For 37 years *nix has worked on the basic assumption that users are
intelligent, they are not idiots and there is no need to protect them
from themselves. You are not supposed to do stupid things on *nix.

In short, running Wine as root is a deliberate action.
Solution: Just don't run the command that way.

Of course, times have changed and more of the 'rest of us' are using
linux, with a lower barrier of entry than the older *nixes. In my
case, I got my Computer Science Degree out of the same Cracker Jack box
that my Law Degree and Medical License came from.

John

Alan McKinnon

Help me please...

Post by Alan McKinnon » Mon Feb 25, 2008 3:34 pm

On Monday 25 February 2008, John R. Sowden wrote:
Alan McKinnon wrote:
In short, running Wine as root is a deliberate action.
Solution: Just don't run the command that way.
Of course, times have changed and more of the 'rest of us' are using
linux, with a lower barrier of entry than the older *nixes. In my
case, I got my Computer Science Degree out of the same Cracker Jack
box that my Law Degree and Medical License came from.
'rest of us'? Hmm.

So by implication, that seems to mean that most users in the last 37
years were smart enough to understand how *nix works, and most users
nowadays are not?

I'm afraid I disagree. You see, my day job is showing these very users
how *nix works. Guess what? They all get it. Except the occasional one,
but they are the ones that still can't tie their own shoelaces. You
only need to do two things to pull off this spectacular feat:

1. Assume that they can do it when shown
2. Actually SHOW THEM

I know it's an amazing leap of faith to go from wherever the world is
now to seeing that users really can think and understand stuff, but I
heartily recommend giving it a try.

This 'barrier to entry' of which you speak is, in my not so humble and
quite knowledgeable opinion, a purely fictitious one and is likely to
remain so for quite some time.

I'll switch my sarcasm-o-meter off now.


--
Alan McKinnon
alan dot mckinnon at gmail dot com

James McKenzie

Help me please...

Post by James McKenzie » Mon Feb 25, 2008 8:05 pm

David Gerard wrote:
On 25/02/2008, Alan McKinnon <alan.mckinnon@gmail.com> wrote:

Do not run wine as root
Do not run wine as root
Do not run wine as root
Is there any code in Wine to detect running as root and refuse to?
Should there be?
There is an ehancement for this. However, you should NEVER run a user
program as root. Many BAD things can and do happen if you do.

I don't expect much to happen prior to 1.0 to fix this situation.

James

User avatar
FatButtLarry
Level 3
Level 3
Posts: 70
Joined: Sat Feb 23, 2008 1:08 pm
Location: 13032
Contact:

Help me please...

Post by FatButtLarry » Tue Feb 26, 2008 8:36 pm

Not to interrupt the ranting, but I thought I remember wine complaining
about root once.

Nonetheless, it does do some checking...

For the sudoers out there, you'll get:
wine: /home/tfino/.wine is not owned by you

Close enough if you ask me. :)


-Tres

On Mon, Feb 25, 2008 at 8:04 PM, James McKenzie <jjmckenzie51@sprintpcs.com>
wrote:
David Gerard wrote:
On 25/02/2008, Alan McKinnon <alan.mckinnon@gmail.com> wrote:

Do not run wine as root
Do not run wine as root
Do not run wine as root
Is there any code in Wine to detect running as root and refuse to?
Should there be?
There is an ehancement for this. However, you should NEVER run a user
program as root. Many BAD things can and do happen if you do.

I don't expect much to happen prior to 1.0 to fix this situation.

James


--
- Tres.Finocchiaro@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm

Locked