[Mono-list] Mono and Local Date Format

2004-02-21 Thread Tracy Barlow
On Microsoft Windows running an app under Mono elicits the following 
information

CultureInfo.CurrentCulture.DisplayName = English (Australia)
CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern = d/MM/yy
On Linux (Mandrake 9.2) under Mono elicits the following information

CultureInfo.CurrentCulture.DisplayName = Invariant Language (Invariant 
Country)
CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern = MM/dd/

The Linux installation, Country - Region and Language is set to

Local:
Country Australia
Languages English GB (the only othe choice is English US)
Time & Dates
TimeFormat PH:MM:SS AMPM
DateFormat SHORTWEEKDAY, dD SHORTMONTH 
ShortDateFormat DD/MM/
First Day of Week Monday
--

Regards

Tracy Barlow

Phone:  07 4124 5092
Mobile: 0146 00 38 61
mail:   [EMAIL PROTECTED]
Website:www.tracyannesoftware.com
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Socket code.

2004-02-21 Thread Jonathan Gilbert
At 04:31 PM 21/02/2004 -0800, you wrote:
>I have some socket code that looks something like this:
>
>byte[] bytes = new byte[1448];
>do {
>   len = sock.Read(bytes, 0, (int)1448);
>   s = Encoding.ASCII.GetString(bytes);
>   buf.Append(s.Substring(0,len));
>   if (len < 1448)
>   break;
>} while (len > 0);
>
>The key thing is this used to work with a socket size of 1460, now it is
>down to 1448.  If I don't set the buffer size exactly then all the data
>available is not read.  Is there a property to get the packet size of a
>socket?

The property 'Available' returns the number of bytes which are waiting. In
general, you can't assume anything about the MTU, though it is reasonable
to assume that it won't be much larger than 1500, since this limit is
enforced by the underlying data transport. However, you have to keep in
mind that TCP is a stream-oriented protocol. It isn't based on the concept
of packets. Multiple packets could arrive between two calls to sock.Read().
In addition, TCP packets can exceed the data layer MTU; they will be
automatically fragmented, and then reassembled by the operating system
before your code ever sees them. Thus, you can atomically see an increase
in available bytes of more than the MTU.

Your loop looks roughly correct, except that for the Encoding function, you
should be using an overload which allows you to specify the amount of data
to translate. It just so happens that Encoding.ASCII defines a 1-to-1
correspondence between bytes and characters, but you cannot assume this.
This leads to another problem as well; a character might be split across
packet boundaries, in which case it would not decode properly. To properly
handle this, you need to collect the byte[] values until you have as much
data as you expected, and only then translate them to a string. Here is how
I would do it:

static byte[] ReadFully(Socket socket, int numBytes)
{
  byte[] ret = new byte[numBytes];
  int offset = 0;

  while (numBytes > 0)
  {
int received = socket.Receive(ret, offset, numBytes, SocketFlags.None);
if (received <= 0)
  throw new SocketException("Connection closed by peer or network error
occurred");
offset += received;
numBytes -= received;
  }

  return ret;
}

static string ReadString(Socket socket, int expectedBytes)
{
  byte[] bytes = ReadFully(socket, expectedBytes);

  return Encoding.ASCII.GetString(bytes);
}

With this code, if you have a string that you expect to be 10,000 bytes
long, simply pass 10,000 as the parameter to 'ReadString'. Packets will be
automatically collected and put back together as appropriate.

If you are expecting TCP to allow the receiving end to Receive() the same
chunks that the sending end Send()'s, this is a flawed assumption. As I
mentioned earlier, TCP is a stream-based protocol. You can't any more
expect to automatically Receive() the same chunks that were sent using
Send() than you can expect to automatically be able to determine the size
of each Write() to a file after the file has been written. Just think of
the TCP stream as a non-packet-oriented stream of bytes. In this context,
if you have a variable-length string, you need to either send the length of
the string explicitly before you send the string, or decide on a specific
terminator. If you chose to use a terminator, then you will need a
substantially more complicated routine than the one above. Here is a
routine which I have used in the past:

static string ReadToCRLF(Socket socket)
{
  ArrayList buffers = new ArrayList();
  byte[] buffer = new byte[1000];
  int offset = 0;
  bool cr = false;

  while (true)
  {
int bytesToReceive = ((offset + 1 < buffer.Length) && !cr) ? 2 : 1;
int count = socket.Receive(buffer, offset, bytesToReceive,
SocketFlags.None);

offset += count;

if (cr)
  if (buffer[offset - count] == 10)
break;
  else
cr = false;

if ((count == 2) && (buffer[offset - 2] == 13) && (buffer[offset - 1]
== 10))
  break;

if (buffer[offset - 1] == 13)
  cr = true;

if (offset == buffer.Length)
{
  buffers.Add(buffer);
  buffer = new byte[1000];
  offset = 0;
}
  }

  int totalBytes = buffers.Count * 1000 + offset - 2; /* remove the CRLF */

  byte[] bytes = new byte[totalBytes];

  int remaining = totalBytes;
  offset = 0; /* re-using this variable */
  while (remaining > 0)
  {
byte[] source;

if (buffers.Count > 0) /* this is required because there might be a
CRLF spanning the boundary between the last two buffers */
{
  source = (byte[])buffers[0];
  buffers.RemoveAt(0); /* performance might increase slightly by using
an index instead of erasing buffers, but it shouldn't be a big issue */
}
else
  source = buffer; /* the last buffer */

int numBytes = buffer.Length;
if (numBytes > remaining)
  numBytes = remaining;

Array.Copy(source, 0, bytes, offset, numBytes);

offset += numBytes;
remaining -= n

Re: [Mono-list] Mono and Gentoo

2004-02-21 Thread Gustavo Ramos
Hello,



> Anybody using Mono and Gentoo?  I am currently installing the OS and I am
> curious what the base requirements are to run mono under Gentoo?  Do I need
> to install Gnome or just GTK?  

Works very smoothly... zero pain installation (of mono, gtk-sharp,
gtksourceview-sharp, monodoc, etc.). You maybe have to deal with the OS 
a bit, but it's the best thing i've ever used to stay up to date with
heavy development projects. i.e. You are always with the latest OS
version, and will never have to do a major upgrade (as opposed to the
painful 8.x to 9.x traditional path).

emerge will install what is needed, you don't have to care about it. I
mean, you don't have to worry about whether you'll have to install gtk,
gnome or whatever else libs you'll need.

Before you go updating live, do the same emerge command but using the
-pv options, as this will tell you what it will download, what will be
installed and what configure options will be used. If it happens that
you don't need an option (e.g. because it would otherwise download a lot
of things), simply deactivate:

USE="-unwantedoptionname" emerge -upvk mypackage

or to include a feature

USE="wantedoptionname" emerge -upvk gtk-sharp

Once you are satisfied with the things that will take place, remove the
p option:

USE="wanted -notwanted otherwanted -othernotwanted" emerge -uvk pkgname

For setting your options to default, change the USE line in make.conf,
but see make.conf(5) first.

Regards,

Gustavo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Socket code.

2004-02-21 Thread Gonzalo Paniagua Javier
El dom, 22-02-2004 a las 01:31, George Farris escribió:
> I have some socket code that looks something like this:
> 
> byte[] bytes = new byte[1448];
> do {
>   len = sock.Read(bytes, 0, (int)1448);
>   s = Encoding.ASCII.GetString(bytes);
>   buf.Append(s.Substring(0,len));
>   if (len < 1448)
>   break;
> } while (len > 0);
> 
> The key thing is this used to work with a socket size of 1460, now it is
> down to 1448.  If I don't set the buffer size exactly then all the data
> available is not read.  Is there a property to get the packet size of a
> socket?

If this doesn't work, it's a bug. Please file a bug report in bugzilla
and attach a simple test case to reproduce the problem.

Thanks.

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] A Problem with XSP

2004-02-21 Thread Gonzalo Paniagua Javier
El vie, 20-02-2004 a las 16:50, Filip Brčić escribió:
> Hi!
> I am building some web service using Ximian Mono.NET (0.29). After a
> system crash, I get a problem with running xsp. And the problem is not
> related only to my web service, but to every asp site ran by xsp
> (including the included test pages). In particular, I get the
> following error when I point my browser to localhost:8080: 
> System.ComponentModel.Win32Exception: Some sort of w32 error occurred: 0
> in <0x00308> System.Diagnostics.Process:Start_common 
> (System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process)
> in <0x00016> System.Diagnostics.Process:Start ()
> in <0x0005d> (wrapper remoting-invoke-with-check) 
> System.Diagnostics.Process:Start ()
> in <0x001fd> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch 
> (System.CodeDom.Compiler.CompilerParameters,string[],bool)
> in <0x00305> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch 
> (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
> in <0x00059> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom 
> (System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
> in <0x00130> System.Web.Compilation.CachingCompiler:Compile 
> (System.Web.Compilation.BaseCompiler)
> in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType ()
> in <0x0012d> System.Web.Compilation.AspGenerator:GetCompiledType ()
> in <0x0003b> System.Web.UI.PageParser:CompileIntoType ()
> in <0x0001e> System.Web.UI.TemplateControlParser:GetCompiledInstance ()
> in <0x0004a> System.Web.UI.PageParser:GetCompiledPageInstance 
> (string,string,System.Web.HttpContext)
> in <0x00013> System.Web.UI.PageHandlerFactory:GetHandler 
> (System.Web.HttpContext,string,string,string)
> in <0x001aa> System.Web.HttpApplication:CreateHttpHandler 
> (System.Web.HttpContext,string,string,string)
> in <0x0011f> .CreateHandlerState:Execute ()
> in <0x00076> .StateMachine:ExecuteState 
> (System.Web.HttpApplication/IStateHandler,bool&)
> I have recompiled the whole mono suite several times with different
> options but nothing happens. Now I am running mono with
> --disable-shared-handles options (in configure), but before I did that
> I got the error that sounded something like this: "cannot load shared
> libraries, falling back to static". I realy don't know what is the
> problem. I suspect that the system crash did something to some library
> that is being used by mono, but I haven't got a clue which one it is
> (all the other programs work just fine). I can reinstall that library,
> but I would like to know which one (or at least a clue that would help
> me find out which libraries to reinstall), because I wouldn't like to
> reinstall the whole system.

Shared handles must be enable for Process class to work. That class is
used to run 'mcs' when compiling ASP.NET pages. So, 'mcs' must be in
your PATH.

-Gonzalo


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Socket code.

2004-02-21 Thread George Farris
I have some socket code that looks something like this:

byte[] bytes = new byte[1448];
do {
len = sock.Read(bytes, 0, (int)1448);
s = Encoding.ASCII.GetString(bytes);
buf.Append(s.Substring(0,len));
if (len < 1448)
break;
} while (len > 0);

The key thing is this used to work with a socket size of 1460, now it is
down to 1448.  If I don't set the buffer size exactly then all the data
available is not read.  Is there a property to get the packet size of a
socket?

-- 
George Farris <[EMAIL PROTECTED]>

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Local Date Format

2004-02-21 Thread Marco Canini
On Sat, 2004-02-21 at 23:37, Tracy Barlow wrote:
> I have an application that displays dates. I have tested it on both 
> Microsoft Windows and Linux.
> 
> When running on Microsoft Windows it displays the date string correctly, 
> according to the Local date format , in this case Australian Date Format 
> dd/mm/.
> 
> When running it on Linux (Mandrake 9.2 set correctly for Australia 
> local) it displays the date string in US date format mm/dd/
> 
> Is this a Mono issue or a Linux issue.

try to see if current locale is picked up correctly in mono

-- 
Marco Canini <[EMAIL PROTECTED]>

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and Local Date Format

2004-02-21 Thread Tracy Barlow
I have an application that displays dates. I have tested it on both 
Microsoft Windows and Linux.

When running on Microsoft Windows it displays the date string correctly, 
according to the Local date format , in this case Australian Date Format 
dd/mm/.

When running it on Linux (Mandrake 9.2 set correctly for Australia 
local) it displays the date string in US date format mm/dd/

Is this a Mono issue or a Linux issue.

--

Regards

Tracy Barlow

Phone:  07 4124 5092
Mobile: 0146 00 38 61
mail:   [EMAIL PROTECTED]
Website:www.tracyannesoftware.com
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Bug related to operator += and instance fields

2004-02-21 Thread Rodolfo Campero
Thanks Marcus!

El sáb, 21 de 02 de 2004 a las 22:09, Marcus escribió:
> It appears to be a mono runtime bug. Note that it disappears with -O=all or 
> using the Mono interpreter (mint) instead. I filed a bug report: 
> 
> 
> http://bugs.ximian.com/show_bug.cgi?id=54710
> 
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Gentoo

2004-02-21 Thread Carlos Alberto Cortez Guevara
Hi,

Based on the site specifications:

* For Mono

1) GLib (Base Library for Gtk+)
2) Pkgconfig (If you are installing from sources)
3) Gcc, Make, etc (normal stuff)

* For Gtk#, Monodoc

4) Gtk+ Library stuff (Gtk+, Pango, etc); some packages are optional

Regards,
Carlos.

El sáb, 21-02-2004 a las 10:57, Nick Berardi escribió:
> Anybody using Mono and Gentoo?  I am currently installing the OS and I am
> curious what the base requirements are to run mono under Gentoo?  Do I need
> to install Gnome or just GTK?  
> 
> Nick
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> e
-- 
--
/* The definition of myself */
using Cortez;
using GeniusIntelligence;

public class Carlos : Human, IGenius, ILinuxUser {

static void Main () {
Me.Think();
}

}

--
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Bug related to operator += and instance fields

2004-02-21 Thread Marcus
It appears to be a mono runtime bug. Note that it disappears with -O=all or 
using the Mono interpreter (mint) instead. I filed a bug report: 


http://bugs.ximian.com/show_bug.cgi?id=54710
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Bug related to operator += and instance fields

2004-02-21 Thread Brice Carpentier
Rodolfo Campero wrote:

Hello everybody,
Hi

I've found a bug, but I'm not sure about how to report it (I mean I 
can't find a suitable subject and other info):

The following source code compiles but its execution results in 
incorrect behavior:


using System;
namespace Test {
 public class A {
   public static void Main () {
 A a = new A ();
I'm not sure...but isn't that a bit weird to put the previous line in 
A's constructor ?
I dunno a lot about C# so I may be wrong, of course.
I think doing that you enter a recursive infinit loop.

 a.Test ();
   }
   public void Test ()
   {
 A a = new A ();
Same comment...

 // the following is the problematic line
 _intValue += a.Value + a.Value / 2;
 Console.WriteLine (_intValue);
   }
   private int _intValue;
   public readonly int Value = 100;
 }
}

The actual result is 50 but I think it should be 150.

I need someone to give me instructions about the affected product 
(Mono/Compilers or Mono/Runtime or ...) and a suitable subject if 
possible, or to tell me that this is not a bug and I'm plain wrong :-)

If someone can file the bug report for me it's ok too.

TIA,

Rodolfo

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
Sincerely yours,

--
Brice Carpentier aka Br|ce
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Bug related to operator += and instance fields

2004-02-21 Thread Rodolfo Campero
Hello everybody,

I've found a bug, but I'm not sure about how to report it (I mean I can't 
find a suitable subject and other info):

The following source code compiles but its execution results in incorrect 
behavior:


using System;
namespace Test {
 public class A {
   public static void Main () {
 A a = new A ();
 a.Test ();
   }
   public void Test ()
   {
 A a = new A ();
 // the following is the problematic line
 _intValue += a.Value + a.Value / 2;
 Console.WriteLine (_intValue);
   }
   private int _intValue;
   public readonly int Value = 100;
 }
}

The actual result is 50 but I think it should be 150.

I need someone to give me instructions about the affected product 
(Mono/Compilers or Mono/Runtime or ...) and a suitable subject if possible, 
or to tell me that this is not a bug and I'm plain wrong :-)

If someone can file the bug report for me it's ok too.

TIA,

Rodolfo

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Environment.TickCount not as documented by MS (was: A mono bug)?

2004-02-21 Thread Paolo Molaro
On 02/19/04 Iain McCoy wrote:
> On Thu, 2004-02-19 at 02:16, Lawrence Oluyede wrote:
> > I've written a simple script to compute the uptime of the machine.
> > It works well on MS.NET on Win2k (i tried to compare the output with 
> > some other similar utilities) but on Mono 0.29 on my Gentoo box it fails 
> > (the procps uptime tells me another time instead of the one that i get 
> > with my uptime). Maybe I'm wrong or maybe Mono is wrong... anyway I 
> > can't install Mono 0.30 cause it doesn't compile on Gentoo and on 
> > Windows it doesn't run :(
> > 
> It seems that for Environment.TickCount mono returns basically the same
> thing as it returns for DateTime.Ticks.
> 
> Environment.TickCount's icall looks like this:
> res = (gint32) gettimeofday (&tv, &tz);
> 
> if (res != -1)
> res = (gint32) ((tv.tv_sec & 0xF) * 1000 +
> (tv.tv_usec / 1000));
> return res;
> 
> while the DateTime_GetNow icall does this:
> if (gettimeofday (&tv, NULL) == 0) {
> res = (((gint64)tv.tv_sec + EPOCH_ADJUST)* 100 +
> tv.tv_usec)*10;
> return res;
> }
> 
> 
> These are rather more similar than makes sense, in any case.
> 
> Anyway, Environment.TickCount is documented by MS (at
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemEnvironmentClassTickCountTopic.asp)
>  as "containing the amount of time in milliseconds that has passed since the last 
> time the computer was started". I think mono's implementation should probably do 
> something similar, although I'm not yet sure what the correct way to do that 
> something similar would be.

We may change TickCount to return the time since the computer started
in the future, but it's sure not a priority. That said, anyone who uses
Environment.TickCount to get the uptime of a system is writing very
buggy code. Hint:
[EMAIL PROTECTED]:~$ w
 19:44:02 up 139 days,  2:45,  1 user,  load average: 1.29, 1.15, 1.11

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Error compiling current cvs mono

2004-02-21 Thread Paolo Molaro
On 02/20/04 Varga Zoltan wrote:
>This problem seems to be caused by the usage of the __thread 
> keyword in mono which was recently added. It can be turned
> off by
> passing the --with-nptl=no option to configure.
> 
> I would be grateful if somebody could track down the cause
> of this
> problem, and either:
> - provide a fix
> - provide a small test program which exibits this problem,
> so I could add
>it as an additional configure check.

A test could be to build a shared library with a __thread in it and try
to access it. It's not easy to build test shared libraries from
configure, I think (it would need to use libtool etc).
I think the issue is in the gentoo toolchain, so it's better if they fix
their system.

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Gentoo

2004-02-21 Thread Kurt V. Hindenburg
On Saturday 21 February 2004 11:57 am, Nick Berardi wrote:
| Anybody using Mono and Gentoo?  I am currently installing the OS
| and I am
 curious what the base requirements are to run mono under
| Gentoo?  Do I need to install Gnome or just GTK?

% emerge mono gtk-sharp -pv

If you want the latest :
% ACCEPT_KEYWORDS="~x86" emerge mono gtk-sharp -pv

Kurt

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Gentoo

2004-02-21 Thread Kelly Ray Jensen
You should be able to use it with Gnome or KDE (with GTK installed).  

I just checked the mono-0.30.0.ebuild and it does not depend on any
widget toolkit (GTK or QT) to be installed.

I personally am using Gnome and GTK# for developing applications.

Works great!

Kelly

On Sat, 2004-02-21 at 08:57, Nick Berardi wrote:
> Anybody using Mono and Gentoo?  I am currently installing the OS and I am
> curious what the base requirements are to run mono under Gentoo?  Do I need
> to install Gnome or just GTK?  
> 
> Nick

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Gentoo

2004-02-21 Thread Lawrence Oluyede
Nick Berardi wrote:

Anybody using Mono and Gentoo?  I am currently installing the OS and I am
curious what the base requirements are to run mono under Gentoo?  Do I need
to install Gnome or just GTK?  
I use mono 0.30.1 under Gentoo linux and it works fine. I've also 
installed Gtk#, Monodoc but not Mono debugger (it doesn't compile on 
gentoo).

--
Lawrence
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and Gentoo

2004-02-21 Thread Nick Berardi
Anybody using Mono and Gentoo?  I am currently installing the OS and I am
curious what the base requirements are to run mono under Gentoo?  Do I need
to install Gnome or just GTK?  

Nick

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problem whit installing applications for mono

2004-02-21 Thread manuel kaderli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I try to install some mono application, e.g. gtksourceview-sharp(from the IDE 
thread). 
But when i try to configure whit ./configure i get an error

/*error
Perhaps you should add the directory containing `mono.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mono' found

configure: error: Library requirements (mono >= 0.28) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them.
*/

I searched whit "locate mono.pc" but i could not find it. 

Is there a package i must have installed?


kind regards
manuel

My System:
Debian Sid
Installed whit apt-get.

Installed mono stuff:
mono
mono-jit
mono-debugger
mono-xsp
mono-assemblies-arch
mono-utils
gtk-sharp

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAN4Gwk3ycFnrKFaoRApb/AKDJ/AnZ0CZE1Qmg77A2lJcN3pupHACgqNZO
TB9tTUBQpUcUYMMLq25lAVQ=
=egeh
-END PGP SIGNATURE-

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] IDE for mono/linux

2004-02-21 Thread Sergio Blanco Cuaresma
El sáb, 21-02-2004 a las 14:55, Patrik Olterman escribió:
> If anyone is interested I have an IDE that is working ok called eZsharp
> its a simple editor with syntax highlighting and a compile and run
> fuction it can be downloaded with 

It doesn't work for me (I have installed the gtksourceview version of
your svn):

-
./eZsharp.exe
 
** (:13301): WARNING **: Missing method Init in assembly
./eZsharp.exe typeref index 5
The application failed because:
 
System.NullReferenceException: A null value was found where an object
instance was required
in (unmanaged) eZsharp.Hilite:.ctor ()
in <0x0002b> eZsharp.App:Main (string[])
 

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in <0x00119> eZsharp.App:Main (string[])
-

And I cannot compile (maybe the compilation needs something else):

-
mcs ezsharp.cs  -r:System.Drawing -r:gdk-sharp -r:gtk-sharp -r:gtk-sharp
-r:gtksourceview-sharp
ezsharp.cs(86) error CS0103: The name `GtkSourceView.Init' could not be
found in `eZsharp.Hilite'
Compilation failed: 1 error(s), 0 warnings
-

Sergio.

-- 

[aka Marble]
 Web Personal  <>  http://www.marblestation.com
 Registered LiNUX user #140941  <>  http://counter.li.org/
 Socio #3274 de HispaLinux  <>  http://www.hispalinux.es
 Miembro de GPL URV  <>  http://www.gplurv.org
 GnuPG key: 0x0ED2CF9D  <>  hkp://pgp.escomposlinux.org
-- 

[aka Marble]
 Web Personal  <>  http://www.marblestation.com
 Registered LiNUX user #140941  <>  http://counter.li.org/
 Socio #3274 de HispaLinux  <>  http://www.hispalinux.es
 Miembro de GPL URV  <>  http://www.gplurv.org
 GnuPG key: 0x0ED2CF9D  <>  hkp://pgp.escomposlinux.org


signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada	digitalmente


Re: [Mono-list] IDE for mono/linux

2004-02-21 Thread Patrik Olterman
If anyone is interested I have an IDE that is working ok called eZsharp
its a simple editor with syntax highlighting and a compile and run
fuction it can be downloaded with 

svn co http://www.olterman.se:8080/repos/mono

or surf to http://www.olterman.se:8080/repos/mono/ezsharp/

to compile you need a working gtksourceview-sharp that can be checked
out from the mono anonymous CVS

Regards Patrik Olterman

On Sat, 2004-02-21 at 09:53, Todd Berman wrote:
> I'll chime in real fast.
> 
> We have been working on a C# ide called MonoDevelop. We will be
> releasing a 0.1 next week.
> 
> Right now you can compile and use snapshots from
> http://devservices.go-mono.com/MonoDevelop/ however its dependency tree
> is a bit heavy right now.
> 
> --Todd
> 
> On Sat, 2004-02-21 at 03:33, Brice Carpentier wrote:
> > Manish Chakravarty wrote:
> > 
> > >Does the anjuta ide not support C#?
> > >For the docs you will have to consult the LDP .. i guess.. the docs with
> > >emacs itself are good though
> > >Regards
> > >Manish
> > >
> > >
> > >___
> > >Mono-list maillist  -  [EMAIL PROTECTED]
> > >http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >  
> > >
> > Hi
> > Anjuta supports C# for syntax coloration purpose, but it doesn't afaik
> > support C# projects and so on.
> > KDevelop may be ok for this.
> > Sincerely yours,
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list


signature.asc
Description: This is a digitally signed message part


[Mono-list] [ANN] Firebird .NET Data Provider 1.5 released

2004-02-21 Thread Carlos Guzmán Álvarez
Hello:

Firebird .NET Data Provider 1.5 available for download.

Thanks very much to all the people that has been helping during the 
development stage.

---

You can read the Changelog at:

https://sourceforge.net/project/shownotes.php?release_id=216995

You can download binarys for .NET 1.0 at:

http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.5-NET1.0.exe?download

You can download binarys for .NET 1.1 at:

http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.5-NET1.1.exe?download

You can download sources at:

http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.5-Src.zip?download

You can download documentation at:

http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.5-Doc.zip?download



CVS Tag: NP_1_5_0



--
Best regards
Carlos Guzmán Álvarez
Vigo-Spain






___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] IDE for mono/linux

2004-02-21 Thread manuel kaderli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 21 February 2004 09:53, Todd Berman wrote:
> I'll chime in real fast.
>
> We have been working on a C# ide called MonoDevelop. We will be
> releasing a 0.1 next week.

In this case i'll wait till next week.

kind regards 
manuel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANzwsk3ycFnrKFaoRAq5lAJ4vLTa7b46UiU/yfrI1+x1OK/hMGQCgiNur
oRuZNrHKoxMeb317MeoOlhQ=
=Z0Uz
-END PGP SIGNATURE-

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Error compiling mcs 0.30.1 on windows

2004-02-21 Thread Josh Gerdes
I am attempting to successfully compile both mono and mcs (and eventually gtk-sharp 
0.16) on windows (XP SP1) with cygwin and I have had some success with a successful 
build of mono 0.30.1 by slightly modifying these instructions I found on the 
mono-devel list:
 
http://lists.ximian.com/archives/public/mono-devel-list/2004-January/003439.html
 
The snag I am having is when I try to compile the mcs 0.30.1 source.  When I run make 
I get the following error:
 
=
$ make
make[1]: Entering directory `/home/jgerdes/src/mcs-0.30.1/build'
make[1]: Leaving directory `/home/jgerdes/src/mcs-0.30.1/build'
make[1]: Entering directory `/home/jgerdes/src/mcs-0.30.1/jay'
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure
.o closure.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o error.o
 error.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o lalr.o
lalr.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o lr0.o l
r0.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o main.o
main.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o mkpar.o
 mkpar.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o output.
o output.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o reader.
o reader.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o symtab.
o symtab.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o verbose
.o verbose.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o warshal
l.o warshall.c
gcc -mno-cygwin -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -o jay closur
e.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o symtab.o verbose.o war
shall.o
main.o(.text+0x500): In function `create_file_names':
/home/jgerdes/src/mcs-0.30.1/jay/main.c:291: undefined reference to `_mkstemp'
main.o(.text+0x50d):/home/jgerdes/src/mcs-0.30.1/jay/main.c:292: undefined refer
ence to `_mkstemp'
main.o(.text+0x51a):/home/jgerdes/src/mcs-0.30.1/jay/main.c:293: undefined refer
ence to `_mkstemp'
collect2: ld returned 1 exit status
make[1]: *** [jay] Error 1
make[1]: Leaving directory `/home/jgerdes/src/mcs-0.30.1/jay'
make: *** [all-recursive] Error 1
=
 
 
I am currently just trying to get a downloadable release version of mcs compiled and I 
was wondering if anyone has seen this issue and how they went about solving it.  What 
is "_mkstemp" and how do I set the reference for it?
 
I also would suggest putting some sort of updated instructions on how to get all of 
these great tools compiled on windows on the mono site.  It would be very helpful for 
everyone trying to work with them on windows.  I will be more than happy to send on 
the instructions I have once I get them working fully.
 
Thanks,
 
Josh

 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] IDE for mono/linux

2004-02-21 Thread Todd Berman
I'll chime in real fast.

We have been working on a C# ide called MonoDevelop. We will be
releasing a 0.1 next week.

Right now you can compile and use snapshots from
http://devservices.go-mono.com/MonoDevelop/ however its dependency tree
is a bit heavy right now.

--Todd

On Sat, 2004-02-21 at 03:33, Brice Carpentier wrote:
> Manish Chakravarty wrote:
> 
> >Does the anjuta ide not support C#?
> >For the docs you will have to consult the LDP .. i guess.. the docs with
> >emacs itself are good though
> >Regards
> >Manish
> >
> >
> >___
> >Mono-list maillist  -  [EMAIL PROTECTED]
> >http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >  
> >
> Hi
> Anjuta supports C# for syntax coloration purpose, but it doesn't afaik
> support C# projects and so on.
> KDevelop may be ok for this.
> Sincerely yours,

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] IDE for mono/linux

2004-02-21 Thread Brice Carpentier
Manish Chakravarty wrote:

Does the anjuta ide not support C#?
For the docs you will have to consult the LDP .. i guess.. the docs with
emacs itself are good though
Regards
Manish
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
 

Hi
Anjuta supports C# for syntax coloration purpose, but it doesn't afaik
support C# projects and so on.
KDevelop may be ok for this.
Sincerely yours,
--
Brice Carpentier aka Br|ce
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list