Diego Iastrubni | 13 May 2004 21:08
Favicon

winelib install problems

Hi all,

I am trying to package winelib, and I got into problems. I am making my rpms 
as a normal user, and I dont have write access to /usr/lib. 

However, the "make install" script tyies to write into those areas:

_list="winelib"; for i in $_list; do (cd $i; make install) || exit 1; done
make[1]: Entering directory `/home/cuco/rpm/BUILD/winelib-0.2/winelib'
_list="winelib.exe.so "; for i in $_list; do install $i /usr/lib; done
install: cannot create regular file `/usr/lib/winelib.exe.so': Permission 
denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/cuco/rpm/BUILD/winelib-0.2/winelib'
make: *** [install] Error 1
error: Bad exit status from /home/cuco/rpm/tmp/rpm-tmp.78276 (%install)

Any ideas how can I fix this?
building it as root will not work, since it modifies the root dir.
Apparently I have to put this code in the post install script of the package. 

What code should I use? how do I disable this option from the "make install"?

--

-- 

diego, kde-il translation team

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Free MS-Office replacement for most platforms
(Continue reading)

Peter Dennis Bartok | 13 May 2004 18:16

Re: winelib install problems

Chnage your prefix to an area where you have rights. You then also need to
compile wine with the same prefix and mono and mcs with the same prefix.

Peter

-----Original Message-----
From: "Diego Iastrubni" <elcuco <at> kdemail.net>
To: <mono-winforms-list <at> lists.ximian.com>
Date: 13 May, 2004 10:10
Subject: [Mono-winforms-list] winelib install problems

>Hi all,
>
>I am trying to package winelib, and I got into problems. I am making my
rpms
>as a normal user, and I dont have write access to /usr/lib.
>
>However, the "make install" script tyies to write into those areas:
>
>_list="winelib"; for i in $_list; do (cd $i; make install) || exit 1;
done
>make[1]: Entering directory `/home/cuco/rpm/BUILD/winelib-0.2/winelib'
>_list="winelib.exe.so "; for i in $_list; do install $i /usr/lib; done
>install: cannot create regular file `/usr/lib/winelib.exe.so': Permission
>denied
>make[1]: *** [install] Error 1
>make[1]: Leaving directory `/home/cuco/rpm/BUILD/winelib-0.2/winelib'
>make: *** [install] Error 1
>error: Bad exit status from /home/cuco/rpm/tmp/rpm-tmp.78276 (%install)
>
(Continue reading)

Juergen Moeller | 18 May 2004 14:59
Picon

SWF.Label is upside-down

Hello,

i have tried a very little "swf-hello world" application:

-------
using System;
using System.Windows.Forms;

namespace helloworldapp 
{
	class MainForm : System.Windows.Forms.Form
	{
		private System.ComponentModel.IContainer components;
		private System.Windows.Forms.Label label;

		public MainForm()
		{
			InitializeComponent();
		}
	
		void InitializeComponent() {
			this.components = new System.ComponentModel.Container();
			this.label = new System.Windows.Forms.Label();
			this.label.Text = "Hello World!"; 
			this.label.Name = "label";
			this.Controls.Add(this.label);
			this.Name = "MainForm";
			this.Text = "Hello World!";
		}
			
(Continue reading)

Mathieu PASQUET | 18 May 2004 15:41
Picon

probleme to execute winforms applications


i try to get working out System.windows.winforms but when i try to execute  a simple apllication,  i get a
semgmenation error ! 
WHY ????

Wine is working perfectly, winelib is installed and mono too... not the winelib.exe.so error and mono is
working fine alone.

i ve mono compiled from source on a debian system

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Peter Dennis Bartok | 18 May 2004 18:05

Re: probleme to execute winforms applications

How about posting the stack trace?

Peter

-----Original Message-----
From: "Mathieu PASQUET" <kiorky <at> wanadoo.fr>
To: <mono-winforms-list <at> lists.ximian.com>
Date: 18 May, 2004 07:43
Subject: [Mono-winforms-list] probleme to execute winforms applications

>
>
>i try to get working out System.windows.winforms but when i try to
execute  a simple apllication,  i get a semgmenation error !
>WHY ????
>
>Wine is working perfectly, winelib is installed and mono too... not the
winelib.exe.so error and mono is working fine alone.
>
>
>i ve mono compiled from source on a debian system
>
>
>_______________________________________________
>Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>

_______________________________________________
(Continue reading)

Peter Dennis Bartok | 18 May 2004 18:06

Re: SWF.Label is upside-down

What version of Wine?
What version of Mono?
What OS?

Peter

-----Original Message-----
From: "Juergen Moeller" <juergen.moeller <at> elektrobude.de>
To: <mono-winforms-list <at> lists.ximian.com>
Date: 18 May, 2004 06:59
Subject: [Mono-winforms-list] SWF.Label is upside-down

>Hello,
>
>i have tried a very little "swf-hello world" application:
>
>-------
>using System;
>using System.Windows.Forms;
>
>namespace helloworldapp
>{
> class MainForm : System.Windows.Forms.Form
> {
> private System.ComponentModel.IContainer components;
> private System.Windows.Forms.Label label;
>
> public MainForm()
> {
> InitializeComponent();
(Continue reading)

Juergen Moeller | 19 May 2004 08:59
Picon

Re: SWF.Label is upside-down

Tuesday 18 May 2004 18:06 Peter Dennis Bartok wrote:
> What version of Wine?
> What version of Mono?
> What OS?

Mono 0.91.99 build from cvs.
Wine 20040408-1
Wine-devel 20040408-1
Winelib 0.2-0.ximian.8.2
Suse 9.0 
2.4. Kernel

Greetings
Juergen
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Juergen Moeller | 21 May 2004 10:55
Picon

Re: SWF.Label is upside-down

Wednesday 19 May 2004 08:59  Juergen Moeller wrote:
> Tuesday 18 May 2004 18:06 Peter Dennis Bartok wrote:
> > What version of Wine?
> > What version of Mono?
> > What OS?
>
> Mono 0.91.99 build from cvs.
> Wine 20040408-1
> Wine-devel 20040408-1
> Winelib 0.2-0.ximian.8.2
> Suse 9.0
> 2.4. Kernel

I thought of some misinstallations... and i've reinstalled everything from 
cvs. now i don't have any problems with the labels... now i have new 
problems ;)

regards
juergen
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Juergen Moeller | 24 May 2004 10:27
Picon

MessageBox is working.. WinForms not

Hello,

after a completely new installation of mono, I tried to build a very little 
SWF-Application...

the code:

using System;
using System.Windows.Forms;

namespace MyFormTest 
{
	class SWFTest : System.Windows.Forms.Form
	{
		public static void Main(string[] args)
		{
			MessageBox.Show("msgbox...");
			Application.Run(new SWFTest());
		}
	}			
}

The MessageBox is shown! But after clicking the OK-Button of the 
MessageBox, I get the following error:

Unhandled Exception: System.ArgumentException: Invalid Parameter. A null 
reference or invalid value was found.
in <0x0007d> System.Drawing.GDIPlus:CheckStatus (System.Drawing.Status)
in <0x0004b> System.Drawing.Bitmap:.ctor 
(int,int,System.Drawing.Imaging.PixelFormat)
(Continue reading)

Peter Dennis Bartok | 24 May 2004 15:45

Re: MessageBox is working.. WinForms not

Sounds like a mismatch of libraries between system.drawing and libgdiplus.

peter

-----Original Message-----
From: "Juergen Moeller" <juergen.moeller <at> elektrobude.de>
To: <mono-winforms-list <at> lists.ximian.com>
Date: Monday, 24 May, 2004 02:26
Subject: [Mono-winforms-list] MessageBox is working.. WinForms not

>Hello,
>
>after a completely new installation of mono, I tried to build a very little
>SWF-Application...
>
>the code:
>
>using System;
>using System.Windows.Forms;
>
>namespace MyFormTest
>{
> class SWFTest : System.Windows.Forms.Form
> {
> public static void Main(string[] args)
> {
> MessageBox.Show("msgbox...");
> Application.Run(new SWFTest());
> }
> }
(Continue reading)


Gmane