[Mono-dev] Mono reflection seems a bit broken.

2010-02-09 Thread PFJ

Hi,

This code works fine under .NET 3.5 but dies miserably with Mono 2.6.1

using System;
using System.Reflection;
using System.IO;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
using System.Resources;

amespace molarity
{
/// summary
/// Description of periodic.
/// /summary
public partial class periodic : Form
{
public periodic()
{
//
// The InitializeComponent() call is required for 
Windows Forms designer
support.
//
InitializeComponent();

//
// TODO: Add constructor code after the 
InitializeComponent() call.
//

}

/* load the element from the xml file using xmlhander */

void displaytheelement(object sender, EventArgs e)
{
int m = ((Label)sender).TabIndex - 1;
xmlhandler xml = new xmlhandler();
xml.dotheread(m);
es.Text = xml.element_structure;
atmass.Text = xml.element_weight.ToString();
atno.Text = xml.element_number.ToString();
name.Text = xml.element_name;
symbol.Text = xml.element_symbol;
Assembly executingAssembly = 
Assembly.GetExecutingAssembly();
try
{
Stream resourceStream =
executingAssembly.GetManifestResourceStream(xml.picname);
pictureBox1.Image = new Bitmap(resourceStream);
}
catch (System.ArgumentException)
{
MessageBox.Show(Unable to find element picture, Picture
not found, MessageBoxButtons.OK);
}
}

}
}

The resources are set to be embedded into the binary. I run the executable
this comes from and it does what it should (the displaytheelement method
gets the information for the data (stored in xmlhandler xml), then uses
reflector to grab the embedded image and display in pictureBox1. If the
picture isn't found, the message box appears but the application doesn't
fall over dead.

Under Mono 2.6.1, it doesn't matter which element I click, I always get the
message box and the application quits with no throwback. Under .NET, I click
on the element, the information appears, the picture appears and if the
picture isn't there, the message box appears, but then the application
continues.

Is the code wrong or am I?

I can upload the full source if it will help identify a bug.

TTFN

Paul
-- 
View this message in context: 
http://old.nabble.com/Mono-reflection-seems-a-bit-broken.-tp27514082p27514082.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono reflection seems a bit broken.

2010-02-09 Thread Rodrigo Kumpera
On Tue, Feb 9, 2010 at 9:51 AM, PFJ pjohns...@uclan.ac.uk wrote:



 The resources are set to be embedded into the binary. I run the executable
 this comes from and it does what it should (the displaytheelement method
 gets the information for the data (stored in xmlhandler xml), then uses
 reflector to grab the embedded image and display in pictureBox1. If the
 picture isn't found, the message box appears but the application doesn't
 fall over dead.

 Under Mono 2.6.1, it doesn't matter which element I click, I always get the
 message box and the application quits with no throwback. Under .NET, I
 click
 on the element, the information appears, the picture appears and if the
 picture isn't there, the message box appears, but then the application
 continues.

 Is the code wrong or am I?

 I can upload the full source if it will help identify a bug.


Please fill a bug report with enough source code attached so we can
reproduce the bug.

mono-project.com/Bugs

Thanks,
Rodrigo
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Language of message errors in monodevelop

2010-02-09 Thread javier
Hi,

Someone knows how to set the language of message errors in MonoDevelop?

I'm using mono in my work. My pc have windows XP in spanish (I can't
change this)

This kind of message (plus my horrible English) makes difficult for me ask
for help about these errors.

c:\Dev\proyectos.mono\CSDataBase\Codigo\CSDataBase\fCancelQuery.cs(14,14):
Error CS1061: 'CSDataBase.fCancelQuery' no contiene una definici¢n de
'lbDescript' ni se encontr¢ ning£n m‚todo de extensi¢n 'lbDescript' que
acepte un primer argumento de tipo 'CSDataBase.fCancelQuery' (¨falta una
directiva using o una referencia de ensamblado?) (CS1061) (CSDataBase)

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono.Simd AltiVec port

2010-02-09 Thread Sergei Dyshel
Hi,
Now I'm stuck with another problem on PPC. For multiplication of floats
Altivec has only a fuse-add instruction which does a*b+c. So in order to
implement OP_MULPS I need to assure c==0. The only solution which comes to
mind is:
XZERO D
MULADD D = S1, S2, D

Where MULADD is the instruction and D, S1, S2 are ins-dreg, sreg1, sreg2.
But this solution won't work with cases in which S1=D or S2=D since D would
be zeroed before use. So 2 possibilities remain:
1) Make sure that D  S1 and D  S2 and then previously-mentioned solution
will work.
2) Allocate and additional (vector) register for MULPS and somehow store it
inside MonoInst structure.

What is the traditional way to do such things? I really need to solve this
problem, any help will be greatly appreciated!

Thanks,
Sergei


On Thu, Feb 4, 2010 at 02:59, Rodrigo Kumpera kump...@gmail.com wrote:

 Hi Sergei,

 On Tue, Feb 2, 2010 at 6:59 AM, Sergei Dyshel qyron.priv...@gmail.comwrote:

 Hello all,

 I'm currently working on PowerPC port of Mono which utilizes AltiVec SIMD
 instructions. During the development I've encountered an alignment
 problem:

 As far as I understood from running Mono's JIT, stack-allocated
 Mono.Simd.Vector* types are always aligned by 16 byte bound, but global
 ones aren't (such as static class members). This is not a problem for SSE
 which has unaligned load/stores but AltiVec doesn't have them. Instead of
 implementing misaligned loads/stores for AltiVec I think it's better to
 force alignment in global variables, as it done in the case of stack.


 No, the JIT doesn't align all Vector types to 16 bytes. There are places,
 like spill, code that
 still doesn't do it correctly. Not a lot of work to get there, but still
 not done.


 If by global variables you mean statics, then making them properly aligned
 is possible with some trickery.
 The only issue alignment issue we can't currently fix are heap objects due
 to how our GC works.
 Our new GC might eventually gain the ability to properly align such
 objects, but this is something
 for the far future.



 Can somebody help me with that (e.g. point at relevant places in
 'mini-ppc.c')?


 To fix the alignment of stack variables you need to mess with a bunch of
 places:

 -The spill code from mini-codegen.c
 -The var allocation code in mono_allocate_stack_slots (mini.c)

 To fix the static storage alignment you need to change the code that
 allocate the statics area
 to use the proper alignment.

 This is the same problem as with objects as it uses a gc routine to
 allocate the memory blob.
 Fixing this requires boing deep into the GC, which is not something simple.



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building Mono trunk on FreeBSD

2010-02-09 Thread Zoltan Varga
Hi,

  I'm pretty sure mono requires GNU make, and might not work with bsd's own
make.

   Zoltan

On Tue, Feb 9, 2010 at 6:19 PM, pablosantosl...@terra.es 
pablosantosl...@terra.es wrote:

 Hi there,

 I'm trying to build trunk on FreeBSD.

 Here's what I got. I'm not an expert on FreeBSD so I might be doing
 something wrong.

 $ uname -a
 FreeBSD freebox.codicesoftware.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2
 #0: Tue Jan  5 16:02:27 UTC 2010
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386




 (cd .libs  rm -f libMonoSupportW.la  ln -s ../libMonoSupportW.la
 libMonoSupportW.la)
 Making all in data
 Making all in net_2_0
 Making all in Browsers
 Making all in runtime
 d=`cd ../support  pwd`;  sed
 's,target=libMonoPosixHelper[^]*,target='$d/libMonoPosixHelper.la','
 ../data/config
  etc/mono/configt
 if test -z ; then :; else  sed 's,configuration, dllmap
 dll=gdiplus.dll target= /,' etc/mono/configt  etc/mono/configtt;
 mv -f etc/mono/configtt etc/mono/configt; fi
 mv -f etc/mono/configt etc/mono/config
 /bin/sh ../mkinstalldirs _tmpinst/bin
 mkdir -p -- _tmpinst/bin
 cp mono-wrapper _tmpinst/bin/mono
 echo '#! /bin/sh'  _tmpinst/bin/ilasm ;  r=`pwd`; m=`cd ../../mcs 
 pwd`;  echo 'exec '$r/_tmpinst/bin/mono' '$m/ilasm/ilasm.exe'
 $@'  _tmpinst/bin/ilasm ;  chmod +x _tmpinst/bin/ilasm
 echo '#! /bin/sh'  _tmpinst/bin/gmcs ;  r=`pwd`; m=`cd ../../mcs 
 pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
 '$m/class/lib/net_2_0/gmcs.exe' $@'  _tmpinst/bin/gmcs ;  chmod
 +x _tmpinst/bin/gmcs
 echo '#! /bin/sh'  _tmpinst/bin/al2 ;  r=`pwd`; m=`cd ../../mcs 
 pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
 '$m/class/lib/net_2_0/al.exe' $@'  _tmpinst/bin/al2 ;  chmod +x
 _tmpinst/bin/al2
 if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
 cd ../../mcs  make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5
 net_2_1_raw  ' CC='gcc' all-profiles
 Makefile, line 66: Need an operator
 Makefile, line 68: Need an operator
 Makefile, line 70: Need an operator
 Makefile, line 72: Need an operator
 build/rules.make, line 45: Need an operator
 build/rules.make, line 47: Need an operator
 build/rules.make, line 55: Need an operator
 build/rules.make, line 56: Need an operator
 build/rules.make, line 57: Need an operator
 build/rules.make, line 58: Need an operator
 build/rules.make, line 59: Need an operator
 build/rules.make, line 60: Need an operator
 build/rules.make, line 61: Need an operator
 build/rules.make, line 62: Need an operator
 build/rules.make, line 63: Need an operator
 build/rules.make, line 64: Need an operator
 build/rules.make, line 65: Need an operator
 build/rules.make, line 66: Need an operator
 Error expanding embedded variable.
 *** Error code 2

 Stop in /usr/home/pablo/monosrc/mono/runtime.
 *** Error code 1

 Stop in /usr/home/pablo/monosrc/mono.
 *** Error code 1

 Stop in /usr/home/pablo/monosrc/mono.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building Mono trunk on FreeBSD

2010-02-09 Thread Απόστολος Συρόπουλος




 I'm trying to build trunk on FreeBSD.

 

 Here's what I got. I'm not an expert on FreeBSD so I might be doing

 something wrong.


Are you sure you are using GNU make? Mono is a Linux only thing and

so you need GNU make, GNU ls, GNU cp, etc. And if anyone thinks

this is an exaggeration, let me say that I have tried to compile it

on OpenSolaris but I have to build first version 1.X.Y and then to

compile version 2.6.1. And of course the resulting thing does not

really work since I cannot compile gtk# which is needed for moonlight.



A.S.


--
Apostols Syropoulos
Xanthi, Greece
  
_
Hotmail: Αξιόπιστο email με την ισχυρή προστασία ενάντια στην ανεπιθύμητη 
αλληλογραφία που παρέχει η Microsoft.
https://signup.live.com/signup.aspx?id=60969___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Building Mono trunk on FreeBSD

2010-02-09 Thread pablosantosl...@terra.es
Using gmake it went much further but...

Creating the per profile list
../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources ...
./../../tools/gensources.sh net_2_0_System.ServiceModel.Web.dll.sources
  ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources
env: bash: No such file or directory
Creating
../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.response ...
Creating
../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.makefrag ...
gmake[7]: Leaving directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
gmake[7]: Entering directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
Creating ../../build/deps/net_2_0_System.ServiceModel.Web.dll.makefrag ...
gmake[7]: Leaving directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
gmake[7]: Entering directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
gmake all-local
gmake[8]: Entering directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
MCS [net_2_0] System.ServiceModel.Web.dll
error CS2008: No files to compile were specified
gmake[8]: *** [../../class/lib/net_2_0/System.ServiceModel.Web.dll] Error 1
gmake[8]: Leaving directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
gmake[7]: *** [do-all] Error 2
gmake[7]: Leaving directory
`/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
gmake[6]: *** [all-recursive] Error 1
gmake[6]: Leaving directory `/usr/home/pablo/monosrc/mcs/class'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/usr/home/pablo/monosrc/mcs'
gmake[4]: *** [profile-do--net_2_0--all] Error 2
gmake[4]: Leaving directory `/usr/home/pablo/monosrc/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/usr/home/pablo/monosrc/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/usr/home/pablo/monosrc/mono/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/pablo/monosrc/mono'
gmake: *** [all] Error 2




On 09/02/2010 21:17, pablosantosl...@terra.es wrote:
 Ok, I'll give it a try
 
 On 09/02/2010 20:04, Zoltan Varga wrote:
 Hi,

   I'm pretty sure mono requires GNU make, and might not work with bsd's
 own make.

Zoltan

 On Tue, Feb 9, 2010 at 6:19 PM, pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es wrote:

 Hi there,

 I'm trying to build trunk on FreeBSD.

 Here's what I got. I'm not an expert on FreeBSD so I might be doing
 something wrong.

 $ uname -a
 FreeBSD freebox.codicesoftware.com
 http://freebox.codicesoftware.com 8.0-RELEASE-p2 FreeBSD
 8.0-RELEASE-p2
 #0: Tue Jan  5 16:02:27 UTC 2010
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386




 (cd .libs  rm -f libMonoSupportW.la  ln -s ../libMonoSupportW.la
 libMonoSupportW.la)
 Making all in data
 Making all in net_2_0
 Making all in Browsers
 Making all in runtime
 d=`cd ../support  pwd`;  sed
 's,target=libMonoPosixHelper[^]*,target='$d/libMonoPosixHelper.la','
 ../data/config
  etc/mono/configt
 if test -z ; then :; else  sed 's,configuration, dllmap
 dll=gdiplus.dll target= /,' etc/mono/configt  etc/mono/configtt;
 mv -f etc/mono/configtt etc/mono/configt; fi
 mv -f etc/mono/configt etc/mono/config
 /bin/sh ../mkinstalldirs _tmpinst/bin
 mkdir -p -- _tmpinst/bin
 cp mono-wrapper _tmpinst/bin/mono
 echo '#! /bin/sh'  _tmpinst/bin/ilasm ;  r=`pwd`; m=`cd ../../mcs 
 pwd`;  echo 'exec '$r/_tmpinst/bin/mono' '$m/ilasm/ilasm.exe'
 $@'  _tmpinst/bin/ilasm ;  chmod +x _tmpinst/bin/ilasm
 echo '#! /bin/sh'  _tmpinst/bin/gmcs ;  r=`pwd`; m=`cd ../../mcs 
 pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
 '$m/class/lib/net_2_0/gmcs.exe' $@'  _tmpinst/bin/gmcs ;  chmod
 +x _tmpinst/bin/gmcs
 echo '#! /bin/sh'  _tmpinst/bin/al2 ;  r=`pwd`; m=`cd ../../mcs 
 pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
 '$m/class/lib/net_2_0/al.exe' $@'  _tmpinst/bin/al2 ;  chmod +x
 _tmpinst/bin/al2
 if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
 cd ../../mcs  make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5
 net_2_1_raw  ' CC='gcc' all-profiles
 Makefile, line 66: Need an operator
 Makefile, line 68: Need an operator
 Makefile, line 70: Need an operator
 Makefile, line 72: Need an operator
 build/rules.make, line 45: Need an operator
 build/rules.make, line 47: Need an operator
 build/rules.make, line 55: Need an operator
 build/rules.make, line 56: Need an operator
 build/rules.make, line 57: Need an operator
 build/rules.make, line 58: Need an operator
 build/rules.make, line 59: Need an operator
 build/rules.make, line 60: Need an operator
 build/rules.make, line 61: Need an operator
 build/rules.make, line 62: Need an operator
 build/rules.make, line 63: Need an 

Re: [Mono-dev] Building Mono trunk on FreeBSD

2010-02-09 Thread Zoltan Varga
Hi,

  Its possible that we depend on the behavior of some system utils as well,
I don't known which, since the file list is stored in a file and read from
there.

 Zoltan

On Wed, Feb 10, 2010 at 12:29 AM, pablosantosl...@terra.es 
pablosantosl...@terra.es wrote:

 Using gmake it went much further but...

 Creating the per profile list
 ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources ...
 ./../../tools/gensources.sh net_2_0_System.ServiceModel.Web.dll.sources
   ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources
 env: bash: No such file or directory
 Creating
 ../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.response ...
 Creating
 ../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.makefrag ...
 gmake[7]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[7]: Entering directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 Creating ../../build/deps/net_2_0_System.ServiceModel.Web.dll.makefrag ...
 gmake[7]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[7]: Entering directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake all-local
 gmake[8]: Entering directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 MCS [net_2_0] System.ServiceModel.Web.dll
 error CS2008: No files to compile were specified
 gmake[8]: *** [../../class/lib/net_2_0/System.ServiceModel.Web.dll] Error 1
 gmake[8]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[7]: *** [do-all] Error 2
 gmake[7]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[6]: *** [all-recursive] Error 1
 gmake[6]: Leaving directory `/usr/home/pablo/monosrc/mcs/class'
 gmake[5]: *** [all-recursive] Error 1
 gmake[5]: Leaving directory `/usr/home/pablo/monosrc/mcs'
 gmake[4]: *** [profile-do--net_2_0--all] Error 2
 gmake[4]: Leaving directory `/usr/home/pablo/monosrc/mcs'
 gmake[3]: *** [profiles-do--all] Error 2
 gmake[3]: Leaving directory `/usr/home/pablo/monosrc/mcs'
 gmake[2]: *** [all-local] Error 2
 gmake[2]: Leaving directory `/usr/home/pablo/monosrc/mono/runtime'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/home/pablo/monosrc/mono'
 gmake: *** [all] Error 2




 On 09/02/2010 21:17, pablosantosl...@terra.es wrote:
  Ok, I'll give it a try
 
  On 09/02/2010 20:04, Zoltan Varga wrote:
  Hi,
 
I'm pretty sure mono requires GNU make, and might not work with bsd's
  own make.
 
 Zoltan
 
  On Tue, Feb 9, 2010 at 6:19 PM, pablosantosl...@terra.es
  mailto:pablosantosl...@terra.es pablosantosl...@terra.es
  mailto:pablosantosl...@terra.es wrote:
 
  Hi there,
 
  I'm trying to build trunk on FreeBSD.
 
  Here's what I got. I'm not an expert on FreeBSD so I might be doing
  something wrong.
 
  $ uname -a
  FreeBSD freebox.codicesoftware.com
  http://freebox.codicesoftware.com 8.0-RELEASE-p2 FreeBSD
  8.0-RELEASE-p2
  #0: Tue Jan  5 16:02:27 UTC 2010
  r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  i386
 
 
 
 
  (cd .libs  rm -f libMonoSupportW.la  ln -s ../libMonoSupportW.la
  libMonoSupportW.la)
  Making all in data
  Making all in net_2_0
  Making all in Browsers
  Making all in runtime
  d=`cd ../support  pwd`;  sed
 
 's,target=libMonoPosixHelper[^]*,target='$d/libMonoPosixHelper.la','
  ../data/config
   etc/mono/configt
  if test -z ; then :; else  sed 's,configuration, dllmap
  dll=gdiplus.dll target= /,' etc/mono/configt 
 etc/mono/configtt;
  mv -f etc/mono/configtt etc/mono/configt; fi
  mv -f etc/mono/configt etc/mono/config
  /bin/sh ../mkinstalldirs _tmpinst/bin
  mkdir -p -- _tmpinst/bin
  cp mono-wrapper _tmpinst/bin/mono
  echo '#! /bin/sh'  _tmpinst/bin/ilasm ;  r=`pwd`; m=`cd ../../mcs
 
  pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
 '$m/ilasm/ilasm.exe'
  $@'  _tmpinst/bin/ilasm ;  chmod +x _tmpinst/bin/ilasm
  echo '#! /bin/sh'  _tmpinst/bin/gmcs ;  r=`pwd`; m=`cd ../../mcs 
  pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
  '$m/class/lib/net_2_0/gmcs.exe' $@'  _tmpinst/bin/gmcs ;
  chmod
  +x _tmpinst/bin/gmcs
  echo '#! /bin/sh'  _tmpinst/bin/al2 ;  r=`pwd`; m=`cd ../../mcs 
  pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
  '$m/class/lib/net_2_0/al.exe' $@'  _tmpinst/bin/al2 ;  chmod
 +x
  _tmpinst/bin/al2
  if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
  cd ../../mcs  make NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5
  net_2_1_raw  ' CC='gcc' all-profiles
  Makefile, line 66: Need an operator
  Makefile, line 68: Need an operator
  Makefile, line 70: Need an operator
  Makefile, line 72: Need an operator
  build/rules.make, line 45: Need an operator
  build/rules.make, line 47: Need an operator
  build/rules.make, line 55: Need 

Re: [Mono-dev] Building Mono trunk on FreeBSD

2010-02-09 Thread pablosantosl...@terra.es
Actually the problem was that the script for webbrowser assumes
/bin/bash but in FreeBSD it's /usr/local/bin/bash... ouch!

On 10/02/2010 0:36, Zoltan Varga wrote:
 Hi,
 
   Its possible that we depend on the behavior of some system utils as
 well, I don't known which, since the file list is stored in a file and
 read from there.
 
  Zoltan
 
 On Wed, Feb 10, 2010 at 12:29 AM, pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es wrote:
 
 Using gmake it went much further but...
 
 Creating the per profile list
 ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources ...
 ./../../tools/gensources.sh net_2_0_System.ServiceModel.Web.dll.sources
   ../../build/deps/net_2_0_System.ServiceModel.Web.dll.sources
 env: bash: No such file or directory
 Creating
 ../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.response ...
 Creating
 ../../build/deps/System.ServiceModel.Web_test_net_2_0.dll.makefrag ...
 gmake[7]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[7]: Entering directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 Creating
 ../../build/deps/net_2_0_System.ServiceModel.Web.dll.makefrag ...
 gmake[7]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[7]: Entering directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake all-local
 gmake[8]: Entering directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 MCS [net_2_0] System.ServiceModel.Web.dll
 error CS2008: No files to compile were specified
 gmake[8]: *** [../../class/lib/net_2_0/System.ServiceModel.Web.dll]
 Error 1
 gmake[8]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[7]: *** [do-all] Error 2
 gmake[7]: Leaving directory
 `/usr/home/pablo/monosrc/mcs/class/System.ServiceModel.Web'
 gmake[6]: *** [all-recursive] Error 1
 gmake[6]: Leaving directory `/usr/home/pablo/monosrc/mcs/class'
 gmake[5]: *** [all-recursive] Error 1
 gmake[5]: Leaving directory `/usr/home/pablo/monosrc/mcs'
 gmake[4]: *** [profile-do--net_2_0--all] Error 2
 gmake[4]: Leaving directory `/usr/home/pablo/monosrc/mcs'
 gmake[3]: *** [profiles-do--all] Error 2
 gmake[3]: Leaving directory `/usr/home/pablo/monosrc/mcs'
 gmake[2]: *** [all-local] Error 2
 gmake[2]: Leaving directory `/usr/home/pablo/monosrc/mono/runtime'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/home/pablo/monosrc/mono'
 gmake: *** [all] Error 2
 
 
 
 
 On 09/02/2010 21:17, pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es wrote:
  Ok, I'll give it a try
 
  On 09/02/2010 20:04, Zoltan Varga wrote:
  Hi,
 
I'm pretty sure mono requires GNU make, and might not work with
 bsd's
  own make.
 
 Zoltan
 
  On Tue, Feb 9, 2010 at 6:19 PM, pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es
  mailto:pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es
  mailto:pablosantosl...@terra.es
 mailto:pablosantosl...@terra.es wrote:
 
  Hi there,
 
  I'm trying to build trunk on FreeBSD.
 
  Here's what I got. I'm not an expert on FreeBSD so I might be
 doing
  something wrong.
 
  $ uname -a
  FreeBSD freebox.codicesoftware.com
 http://freebox.codicesoftware.com
  http://freebox.codicesoftware.com 8.0-RELEASE-p2 FreeBSD
  8.0-RELEASE-p2
  #0: Tue Jan  5 16:02:27 UTC 2010
 
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
 
 
 
 
  (cd .libs  rm -f libMonoSupportW.la  ln -s
 ../libMonoSupportW.la
  libMonoSupportW.la)
  Making all in data
  Making all in net_2_0
  Making all in Browsers
  Making all in runtime
  d=`cd ../support  pwd`;  sed
 
 's,target=libMonoPosixHelper[^]*,target='$d/libMonoPosixHelper.la','
  ../data/config
   etc/mono/configt
  if test -z ; then :; else  sed 's,configuration, dllmap
  dll=gdiplus.dll target= /,' etc/mono/configt 
 etc/mono/configtt;
  mv -f etc/mono/configtt etc/mono/configt; fi
  mv -f etc/mono/configt etc/mono/config
  /bin/sh ../mkinstalldirs _tmpinst/bin
  mkdir -p -- _tmpinst/bin
  cp mono-wrapper _tmpinst/bin/mono
  echo '#! /bin/sh'  _tmpinst/bin/ilasm ;  r=`pwd`; m=`cd
 ../../mcs 
  pwd`;  echo 'exec '$r/_tmpinst/bin/mono'
 '$m/ilasm/ilasm.exe'
  $@'  _tmpinst/bin/ilasm ;  chmod +x _tmpinst/bin/ilasm
  echo 

Re: [Mono-dev] Language of message errors in monodevelop

2010-02-09 Thread Michael Hutchinson
On Tue, Feb 9, 2010 at 8:20 AM,  jav...@crowsoft.com.ar wrote:
 Hi,

 Someone knows how to set the language of message errors in MonoDevelop?

 I'm using mono in my work. My pc have windows XP in spanish (I can't
 change this)

 This kind of message (plus my horrible English) makes difficult for me ask
 for help about these errors.

 c:\Dev\proyectos.mono\CSDataBase\Codigo\CSDataBase\fCancelQuery.cs(14,14):
 Error CS1061: 'CSDataBase.fCancelQuery' no contiene una definici¢n de
 'lbDescript' ni se encontr¢ ning£n m‚todo de extensi¢n 'lbDescript' que
 acepte un primer argumento de tipo 'CSDataBase.fCancelQuery' (¨falta una
 directiva using o una referencia de ensamblado?) (CS1061) (CSDataBase)

Please file a bug against MonoDevelop..

-- 
Michael Hutchinson
http://mjhutchinson.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list