[Mono-winforms-list] Mono and Wine

Kevin Jones kjones@develop.com
Sat, 20 Mar 2004 19:43:25 +0000


Peter,

thanks again. However I still can't get it to work.

Again, I've un-installed wine and wine-devel. I've re-installed wine,
wine is in /usr/lib/wine. mono is in /usr/bin.

I do what you say

./configure --with-wine=/usr -prefix=/usr
make
make install

I see winform.exe.so in /usr/lib and again all the links seem to be correct.

However when i run the app I now get

Could not stat /nt (No such file or directory), ignoring drive E:
Could not stat /home/kevinj/.wine/${HOME} (No such file or directory), ignoring drive F:
Warning: could not find wine config [Drive x] entry for current working directory /home/kevinj/temp/winforms; starting in windows directory.
Warning: L"/usr/lib/winelib.exe.so" not accessible from a configured DOS drive
Warning: L"/usr/lib/winelib.exe.so" not accessible from a configured DOS drive
wine: cannot find '/usr/lib/winelib.exe.so'

Any thing else you can offer?

Thanks

Kevin Jones

On Sat, 2004-03-20 at 18:44, Peter Dennis Bartok wrote:
> When configuring winelib, you *must* specify --with-wine=<wine prefix>
> and -prefix=<prefix> unless you have both wine and mono installed into
> /usr/local.
> 
> For example, if you have the wine dlls in /usr/lib/wine and mono in
> /usr/bin, you would do the following sequence:
> 
> cd winelib
> ./configure --with-wine=/usr -prefix=/usr
> make
> make install
> 
> The winelib binary contains a reference to itself, and when it is being
> compiled it must get the right path compiled in.
> 
> Cheers,
>  Peter