[Mono-winforms-list] problem with beta2 and wine
Peter Dennis Bartok
peter@novonyx.com
Wed, 2 Jun 2004 09:39:33 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_01B1_01C44885.82AEA3B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Attached the complete earlier post that explains that you cannot symlink.
Wash your mouth.
-----Original Message-----
From: "KiOrKY" <kiorky@goddess-gate.com>
To: "Peter Dennis Bartok" <peter@novonyx.com>;
<mono-winforms-list@lists.ximian.com>
Date: Wednesday, 02 June, 2004 08:40
Subject: Re: [Mono-winforms-list] problem with beta2 and wine
>ok it s path problem.
>i have symlinkk to /usr/lib ( my wine installation is in non default path)
>and its works...
>
>but i cannot run apolications : i have a segmentation fault.... However the
notepad and winmine run , them, !
>fuck
>need help,
>best regards
>
>
>Peter Dennis Bartok <peter@novonyx.com> a écrit :
>
>> >From an earlier post to this list:
>>
>> If mono complains that it cannot find winelib.exe.so chances are it does
>> find it but cannot resolve dependencies. The mono versions built after
>> May 6th have an option where they you can enable more detailed errors
>> when loading a dependency if you 'export MONO_DEBUG=1' before running
>> mono. This should help diagnose the issue a bit.
>>
>>
>> -----Original Message-----
>> From: "KiOrKY" <kiorky@goddess-gate.com>
>> To: <mono-winforms-list@lists.ximian.com>
>> Date: Wednesday, 02 June, 2004 07:27
>> Subject: [Mono-winforms-list] problem with beta2 and wine
>>
>>
>> >hello,
>> >can someone help me to soleve the probleme
>> >my configuration is
>> >can someone help me solve this problem? i cant use winforms
aplications
>> >here is my configuration:
>> >icu 2.8 =========> ALL FROM SOURCES
>> >debian sid
>> >kernel 2.4.26
>> >libgdiplus 0.8
>> >wine 20040505
>> >mono o.95 cvs (beta2)
>> >cairo 1.23
>> >winelib 0.3
>> >
>> >
>> >but i cant use winforms:
>> >
>> >
>> >doldit100:/usr/local/lib# mono /home/kiorky/test_mono/winform.exe
>> >Compat mode: the request from /home/kiorky/test_mono/winform.exe to
load
>> System.Windows.Forms was remapped
(http://www.go-mono.com/remap.html)Could
>> not load winelib.exe.so
>> >Unhandled Exception: System.TypeInitializationException: An exception
>> was
>> thrown by the type initializer for System.Windows.Forms.Win32 --->
>> System.DllNotFoundException: winelib.exe.so
>> >in <0x00053> (wrapper managed-to-native)
>> System.Windows.Forms.Win32:WineLoadLibrary (string)
>> >in <0x003f4> System.Windows.Forms.Win32:.cctor ()
>> >--- End of inner exception stack trace ---
>> >
>> >in (unmanaged) System.Windows.Forms.Win32:MessageBoxA
>> (intptr,string,string,uint)
>> >in <0x00026> System.Windows.Forms.MessageBox:Show (string)
>> >in <0x0000f> HelloWindowsForms:Main ()
>> >
>> >regards
>> >--
>> >----------------------------
>> >- Gloire au monde libre -
>> >----------------------------
>> > I{ i () r |{ Y
>> > Debian User
>> >---------------------------------------------
>> >-- Mathieu PASQUET
>> >-- Testeur Debian SID
>> >-- irc: #debian-fr / irc.freenode.net port: 6667
>> >-- Site: www.fr.debian.org
>> >---------------------------------------------
>> >
>> >
>> >_______________________________________________
>> >Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
>> >http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>> >
>> >
>
>--
>----------------------------
>- Gloire au monde libre -
>----------------------------
> I{ i () r |{ Y
> Debian User
>---------------------------------------------
>-- Mathieu PASQUET
>-- Testeur Debian SID
>-- irc: #debian-fr / irc.freenode.net port: 6667
>-- Site: www.fr.debian.org
>---------------------------------------------
>
>
>_______________________________________________
>Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>
------=_NextPart_000_01B1_01C44885.82AEA3B0
Content-Type: message/rfc822;
name="Re Fw [Mono-winforms-list] question about winelib.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Re Fw [Mono-winforms-list] question about winelib.eml"
X-Auth-No:
Return-Path: <mono-winforms-list-admin@lists.ximian.com>
Received: from lists.ximian.com not authenticated [130.57.169.17] by mail.novonyx.com with NetMail SMTP Agent $Revision: 3.89 $ on Linux via secured & encrypted transport (TLS); Fri, 28 May 2004 15:37:13 -0600
Received: from headcheese.ximian.com (localhost [127.0.0.1]) by lists.ximian.com (Postfix) with ESMTP id B4CFC1243D4; Fri, 28 May 2004 17:37:04 -0400 (EDT)
Received: by lists.ximian.com (Postfix, from userid 38) id 5628B1243CE; Fri, 28 May 2004 17:36:58 -0400 (EDT)
Received: from mail.novonyx.com (mail.novonyx.com [130.57.1.40]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "mail.novonyx.com", Issuer "mail.novonyx.com" (not verified)) by lists.ximian.com (Postfix) with ESMTP id 79ACA124112 for <mono-winforms-list@lists.ximian.com>; Fri, 28 May 2004 17:36:30 -0400 (EDT)
Received: from [137.65.171.200] Peter [137.65.171.200] by mail.novonyx.com with NetMail SMTP Agent $Revision: 3.89 $ on Linux via secured & encrypted transport (TLS); Fri, 28 May 2004 15:36:12 -0600
Message-ID: <40B7B067.1050503@novonyx.com>
From: "Peter Dennis Bartok" <peter@novonyx.com>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040502)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Pekus Cons. e Desenvolvimento" <pekus@pekus.com.br>
Cc: <mono-winforms-list@lists.ximian.com>
Subject: Re: Fw: [Mono-winforms-list] question about winelib
References: <066501c444f8$8600e400$1501ffb4@DOMAINPEKUS.pekusserver>
In-Reply-To: <066501c444f8$8600e400$1501ffb4@DOMAINPEKUS.pekusserver>
Content-Type: text/plain;
format=flowed;
charset="us-ascii"
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, hits=-25.7 required=5.0tests=EMAIL_ATTRIBUTION,IN_REP_TO,MAILTO_TO_SPAM_ADDR, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,USER_AGENTversion=2.53
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)
Sender: <mono-winforms-list-admin@lists.ximian.com>
Errors-To: mono-winforms-list-admin@lists.ximian.com
X-BeenThere: mono-winforms-list@lists.ximian.com
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help: <mailto:mono-winforms-list-request@lists.ximian.com?subject=help>
List-Post: <mailto:mono-winforms-list@lists.ximian.com>
List-Subscribe: <http://lists.ximian.com/mailman/listinfo/mono-winforms-list>,<mailto:mono-winforms-list-request@lists.ximian.com?subject=subscribe>
List-Id: Mono Winforms distribution list <mono-winforms-list.lists.ximian.com>
List-Unsubscribe: <http://lists.ximian.com/mailman/listinfo/mono-winforms-list>,<mailto:mono-winforms-list-request@lists.ximian.com?subject=unsubscribe>
List-Archive: <http://lists.ximian.com/archives/public/mono-winforms-list/>
Date: Fri, 28 May 2004 15:34:31 -0600
It is not possible to simply move, copy or symbolic-link winelib into a
location. It needs to be compiled with the specific locations of wine
and mono. It compiles references to those into the binary (no easy other
way, sorry)
That means that if you are using winelib from the precompiled packages
you need to have wine and mono in prefix=/usr.
If you have a mix, you need to get the sources for winelib and
specifically configure it with --prefix= and --with-wine=
If mono complains that it cannot find winelib.exe.so chances are it does
find it but cannot resolve dependencies. The mono versions built after
May 6th have an option where they you can enable more detailed errors
when loading a dependency if you 'export MONO_DEBUG=1' before running
mono. This should help diagnose the issue a bit. But you need either
build the CVS version or a prepackaged version built after that date.
Cheers,
peter
Pekus Cons. e Desenvolvimento wrote:
> Matt,
>
> I had a similar problem with glib. The solution was to use /usr instead of
> /usr/local. I got this trick with another developer in this newsgroup (Marco
> Ridoni), but he said that this solution is related mainly with RedHat
> distribution, I hope that helps you.
>
> Baccarin.
>
> ----- Original Message -----
> From: "matt" <mz392@nyu.edu>
> To: <mono-winforms-list@lists.ximian.com>
> Sent: Thursday, May 27, 2004 12:31 PM
> Subject: [Mono-winforms-list] question about winelib
>
>
>
>>Hello,
>>
>>I recently installed winelib into /usr/local/winelib.
>>
>>When trying to run SWF applications, I get this error:
>>System.DllNotFoundException: winelib.exe.so
>>
>>I even tried putting a symbolic link in /usr/lib for winelib.exe.so but
>
> this didn't help.
>
>>What can I do to make mono find winelib.exe.so?
>>
>>--Matt
>>_______________________________________________
>>Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>
>
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
_______________________________________________
Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
------=_NextPart_000_01B1_01C44885.82AEA3B0--