Re: [Mono-list] Jay download

2012-03-05 Thread Lee Fisher

edited excerpt:

Jay, mono/mcs/jay
GPGP, http://gppg.codeplex.com/
cslex, http://www.cybercom.net/~zbrad/DotNet/Lex/Lex.htm


Besides Jay, GPGP, anc cslex (hi Brad), some others to examine:
http://gplex.codeplex.com/
http://himeparser.codeplex.com/
http://irony.codeplex.com/
http://sf.net/projects/csflex/

And there a handful of multi-language tools (ANTLR, Coco, etc.) that 
have support C#.


It appears cslex, csflex are both >half a decade old, so older C# 
versions supported only. Personally, I'd try to use the stuff Mono uses 
(Jay), or the stuff John Gough maintains(GP*).


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


Re: [Mono-list] Mono/Apache Filter

2011-10-10 Thread Lee Fisher
Hi,

1) Search around for AprSharp, there are some wrappers to APR. There are 
a few versions of it, some are dead, some are used with Svn wrappers.

2) Back in June, a "Mono/C# for Apache" thread on mono-devel-list, 
someone might be using the old mod_hadyn sample.

I have an uncompleted, unpublished Apache module that wraps both .NET 
and Mono, with a goal of targetting managed HTTPd filters and managed 
APR apps, no ASP.NET/XSP involved (i.e. no overlap with mod_mono). I 
suck, and need to complete and publish this. :-(
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Suitability of Mono

2011-05-20 Thread Lee Fisher
Open source GPL edition aside, open source community health aside, 
technical suitability aside, and Xamian busiess model aside, what about 
legal suitability for commercial Mono-based ISVs, and the customers of 
their products?

Previously, Novell was an OIN member, and had some agreements with 
Microsoft in some areas (for some non-ECMA components).

Now, Attachmate owns things, Xamian isn't an OIN member [in case that 
matters], and it seems ISVs may now be more vulnerable to Microsoft lawyers.

What about current legal protection, now that Xamian isn't benefiting 
from other non-Mono Novell IP/lawyers?

Are the previous agreements that Microsoft made with Novell w/r/t Mono 
being reissued with Xamian?

Does Attachmate own Mono, or does Xamian? Is Xamian able to renew the 
custom licenses to Mono, so downstream ISVs don't have to revert to GPL 
for their products?

I have some startup friends that look at recent Attachmate activity as a 
reason to abandon .NET to other FOSS solutions. Any positive news on 
this, please?

Thanks.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Regex Exception - Discrepancy between .NET and Mono

2009-02-16 Thread Matt Lee
Dear All,
The simple class below throws an exception, but under .NET
an ArgumentNullException is thrown, whereas under Mono
a NullReferenceException is thrown.

using System.Text.RegularExpressions;

public class Program
{
public static void Main(string[] args)
{
var r = new Regex("");
r.Match(null);
}
}

I spotted this because the stack trace contained line references that
weren't on my machine:

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
  at System.Text.RegularExpressions.Regex.Match (System.String input, Int32
startat) [0x0]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.2\mcs\build\common\Consts.cs:1
  at System.Text.RegularExpressions.Regex.Match (System.String input)
[0x0]
in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.2\mcs\class\System\System.Text.RegularExpressions\Regex.cs:337
  at Program.Main (System.String[] args) [0x0]

For reference the .NET stack trace is below:

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at System.Text.RegularExpressions.Regex.Match(String input)
   at Program.Main(String[] args)

Should I file a bug about this? Or do we not really!

Thanks,
Matt
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mono Trunk in OpenSUSE11.1 i586

2009-02-07 Thread william lee
Hi,I'm trying to get the trunk version of mono to test my app, but failed to
add the repository.
I found there is a trunk binay download at:
http://mono.ximian.com/monobuild/snapshot/download-trunk/
to tell me to add into software repository.  I added
http://mono.ximian.com/monobuild/snapshot/download-trunk/suse-110-i586
in my OpenSUSE 11.1  Yast.  But it complains "unable to create Repository
from..".
I guess it only work out for SUSE11.0, right?

Can I get the trunk build without build from source any way, for 11.1?   I
appreciate it.

Thanks,
William L.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] AOT with 2.0.1

2009-02-06 Thread william lee
I got the same error.mono --aot=full /usr/lib/mono/2.0/mscorlib.dll
Got a seg fault.

Mono 2.2 OpenSUSE11.1

Thanks,
William L.

On Fri, Feb 6, 2009 at 11:09 PM, tcmichals  wrote:

>
> I was trying out aot. using the instructions on the web site:
> # Do a full AOT:
> $ mono --aot=full mscorlib.dll
> $ mono --aot=full sample.exe
>
> # Run, but request that Mono never tries to JIT:
> $ mono --full-aot sample.exe
>
> I tried  mono --aot=full /usr/lib/mono/1.0/mscorlib.dll
> and get a segfault, I'm doing something wrong?
>
> --
> View this message in context:
> http://www.nabble.com/AOT-with-2.0.1-tp21874279p21874279.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Reporting tool

2008-12-05 Thread Lee Jenkins
Steve Harp wrote:
> Hi All,
> 
>  
> 
> I know this has been discussed many times in recent years but I’m 
> wondering what you guys are using.  My dream is to find something like 
> ActiveReports which will work with Mono on Linux.  I’d like to have a 
> banded report writer with a WYSIWYG designer.  Is there such a project 
> underway?  If not, what are you guys using for reports in Winform and 
> ASP.NET applications under Linux?
> 

Steve,

I'm not sure if it runs on Mono, but this one is .net based, written 100% in C# 
managed code targeting .net 2.0.

I currently use the Delphi VCL based version and love it.  I'm planning on 
using 
their .net version when I start on .net development again after the first of 
the 
year.

--
Warm Regards,

Lee


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


[Mono-list] Does mono 2.0.1 support Windows Remote Registry access?

2008-12-04 Thread william lee
Hi,
I'd like to know if mono support remote read/write Windows Registry from a
Linux box? We need to create a utility tool to gather people's OS info.
Most of them are Windows Vista or XP, but the tool should be able to run on
Linux and Windows.
If mono support remote Registery access, that will be great.
I also notice mono use xml file as "Registry" on Linux/Mac, does it also
support remote access?

Thanks,
William Lee
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Windows Installer and services in XP

2008-10-20 Thread william lee
This is clear. One more question, does mono-service work on Mac OS X?
Thanks,
William L.

On Mon, Oct 20, 2008 at 8:50 PM, Kornél Pál <[EMAIL PROTECTED]> wrote:

> The question was related to the services of Mono itself rather than your
> own services.
>
> mono-service lets you run service applications created using .NET
> ServiceBase calsses on Linux. As far as I know mono-service only works on
> Linux and Mono currently has no support for services on Windows.
>
> Kornél
>
> william lee wrote:
>
>> what about mono-service?
>> Is that a Windows service port to Linux?
>>
>> Thanks,
>> William L.
>>
>> On Mon, Oct 20, 2008 at 6:59 PM, Kornél Pál <[EMAIL PROTECTED] > [EMAIL PROTECTED]>> wrote:
>>
>>Mono aims to provide the same functionality as .NET Framework so you
>>don't need .NET Framework but they can work side-by-side.
>>
>>Mono currently has no services (and has no plans for them).
>>
>>Kornél
>>
>>gatomono wrote:
>> > The windows installer of Mono install mono  putting windows
>>services?, or the
>> > installer install a enviroment selft contained of mono?
>> > Mono dont require Net framework to function?
>> > I search by the site of mono, by now, i dont find anything only the
>> > requeriment of  hardware.
>>___
>>Mono-list maillist  -  Mono-list@lists.ximian.com
>><mailto:Mono-list@lists.ximian.com>
>>http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Windows Installer and services in XP

2008-10-20 Thread william lee
what about mono-service?
Is that a Windows service port to Linux?
Thanks,
William L.

On Mon, Oct 20, 2008 at 6:59 PM, Kornél Pál <[EMAIL PROTECTED]> wrote:

> Mono aims to provide the same functionality as .NET Framework so you
> don't need .NET Framework but they can work side-by-side.
>
> Mono currently has no services (and has no plans for them).
>
> Kornél
>
> gatomono wrote:
> > The windows installer of Mono install mono  putting windows services?, or
> the
> > installer install a enviroment selft contained of mono?
> > Mono dont require Net framework to function?
> > I search by the site of mono, by now, i dont find anything only the
> > requeriment of  hardware.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Convert a .NET dev to a mono dev

2008-10-20 Thread william lee
I seriously suggest you change to openSUSE. You can get latest mono support
with that.
Regards,
William L.

On Mon, Oct 20, 2008 at 3:52 PM, mashcaster <[EMAIL PROTECTED]>wrote:

>
> Thanks for the replies.  I am an Ubuntu user and I already have mono 1.9
> something installed with MonoDevevelop.  What kind of project do I create
> which will work on all platforms?
> --
> View this message in context:
> http://www.nabble.com/Convert-a-.NET-dev-to-a-mono-dev-tp20031476p20064839.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Configuration file location on windows [OT]

2008-05-06 Thread Lee Jenkins
A little OT, sorry.

Can anyone point me to a definitive article on configuration files 
placement/location on Windows systems?  Not user specific data like 
preferences, 
but data the application requires for all users such as database 
configuration/connection information.

My guess is either

CSIDL_LOCAL_APPDATA
or
CSIDL_COMMON_DOCUMENTS

Thanks,

-- 

Warm Regards,

Lee

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


Re: [Mono-list] Cross-platform GUI Applications

2008-03-20 Thread Lee Jenkins
Alan McGovern wrote:
> 
> Aren't WinForms based on Wine?  How does that work for you in terms of
> deployment and performance?
> 
> 
> Nope, it's written in managed code: 
> http://www.mono-project.com/WinForms#History
> 
> Alan
> 

Ah, thanks for that Alan.  My earlier research was out of date I see.

-- 
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to 
door."
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Cross-platform GUI Applications

2008-03-20 Thread Lee Jenkins
Tom Opgenorth wrote:
> FWIW, I'm doing a bit of experimenting in this too.  I think that the
> route I will take is to stick with WinForms.  So far, for all of the
> very simple stuff I'm doing, I haven't encountered any real issues.  I
> base this decision on the fact that I already know WinForms and I'm
> not up to speed on GTK#.
> 

Aren't WinForms based on Wine?  How does that work for you in terms of 
deployment and performance?

Just curious.

Thanks


-- 
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to 
door."
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Cross-platform GUI Applications

2008-03-20 Thread Lee Jenkins

Hi all,

I'm considering moving from a different language/platform for development to 
.net/Mono and I'm unsure as to what path GUI/Windowed application will take 
from 
now on.  I've done a little development with .net/mono over the last couple of 
years, but not enough to consider myself "comfortable" with the platform.

I want to write GUI applications that are portable between Windows (.net) and 
Linux (mono), but I'm unsure of what the best route would be.

WinForms?  WPF?

I don't mind developing to the least common denominator for GUI controls and 
such, but I am unsure as to which technology is

1) Most portable between .net/Windows and Mono/Linux.
2) Most enduring for the next few years?
3) Actually works ;)

Are developers successfully deploying substantive GUI applications between 
Windows/linux with Mono?

Thanks for your help and input.

-- 
Warm Regards,

Lee
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Using Windows Forms ListViewControl in the Mono 1.2.5.1 Environment

2007-10-28 Thread Lee Rivers


I am developing a project that uses Mono 1.2.5.1 to convert C#.NET
applications to run in OpenSuSe10.2. The application is currently not
working in mono, but of course works fine in the windows environment.  Can
anybody out there help in accomplishing this task?


Any and all help is greatly appreciated.


-Lee A. Rivers
IT Specialist___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SPAM-LOW: Deployment assistance

2006-11-03 Thread Lee
 

 
> Having never had a Windows machine, can someone point me in 
> the direction of how I can deploy my mono-gtk# apps on 
> Windows.  Is it possible to associate the mono runtime with 
> the *.exe in XP so that the users do not have to fire up the 
> mono console?  Links and advice appreciated.
> 
> Rodney

I would recommand InnoSetup if your looking for a setup compiler:
http://www.jrsoftware.org/isinfo.php

Written in Delphi with source available.  This is my preferred setup
builder.  

I think you have to use a batch file or something to get it to run or create
a link (inno will do it for you) that points to your exe to place on the
startmenu or desktop.

I'm new to mono myself...sorry couldn't be more help.

---
Warm Regards,

Lee


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


[Mono-list] ASP 2.0 Question

2006-10-21 Thread Lee Jenkins (DataTrakPOS)

Curious if mono supports uploading of files as does ASP 2.0?

Thank you,

Warm Regards,
Lee


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


[Mono-list] ASP 2.0 File Uploads?

2006-10-19 Thread Lee
Curious if mono supports uploading of files as does ASP 2.0?

Thank you,

Warm Regards,
Lee


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


Re: [Mono-list] SPAM-LOW: ASP.NET Mono/Apache CentOS Tutorial

2006-10-16 Thread Lee
 

> I have a little tutorial here 
> http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx
> its based on Suse and I think some of the apache config 
> settings are out of date. 
> 
> Specifically, quoting a previous message on this list: 
> 
> Starting with 1.1.17, mod_mono expects that the config 
> directive 'MonoServerPath' is pointing to a native executable.
> 
> Check your Apache config and remove or change MonoServerPath 
> to point to /usr/bin/mod-mono-server.
> 
> 
> Still it may help some. I assume you have also seen the 
> documentation here:
> http://www.mono-project.com/Mod_mono 
> 
> Hope it helps,
> 
> Joe
> 

Nice.  Thanks for posting, Joe.

Lee


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


Re: [Mono-list] SPAM-LOW: ASP.NET Mono/Apache CentOS Tutorial

2006-10-16 Thread Lee
> Subject: SPAM-LOW: [Mono-list] ASP.NET Mono/Apache CentOS Tutorial
> 
> Hello,
> 
> I'm trying to setup mod_mono on CentOS and would appreciate 
> any information that may lead to a good tutorial for 
> beginners. Thanks in advance.
> 
>  

I would like to see something like this as well.  I'm a windows programmer
for almost 10 years now, but am new to linux/mono.  A step by step would be
nice to see.

Lee


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


[Mono-list] ASP.NET 2.0 as binaries?

2006-10-11 Thread Lee

Hi all, 

I am about to start a asp.net 2.0 project and I was wondering if mono
supports delivering websites as binary assemblies instead of distributing
the actual .aspx files with code behind?

I'm asking because this is a commercial application and I would like to use
obfustication with it.

There will not be that many concurrent users (20 or less at peak) so I was
thinking about using XSP.

Thanks for any suggestions or guidance.

---
Lee


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


[Mono-list] Asp.net 2.0 & Mono

2006-09-25 Thread Lee

Hi all,

I had a chance to play with mono a while back when I wrote a small tcp
server app to handle requests from a delphi/windows app.  I am now
interested in writing an asp.net application to run on a CentOS box.

I have only VS2005 and was wondering if I would have any problems tageting
mod_mono for asp.net 2.0 to run on CentOS/Apache.  I need:

* Basic Server Controls
* Basic Gridview display (manually filled)
* FirebirdSQL access


I've been using the following FirebirdSQL client:
http://firebird.sourceforge.net/index.php?op=devel&sub=netprovider

As you can see, nothing very complicated, but was wondering if I should be
aware of any gotchas before proceeding...  Thanks for any input.


Lee

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


Re: [Mono-list] System.Diagnostics.Process

2006-07-23 Thread Lee
 


> I've just started using Mono on Ubuntu moving from .net on 
> Windows. I've installed mono and monodevelop, however I can't 
> seem to use System.Diagnostics.Process in a program. Do I 
> have to add a reference to it?
> I'm just told Process doesn't exist in the namespace. Using 
> code completion I can only see a few entries in the namespace.
> 
> Any ideas? I'm sure its something pretty simple that I've 
> forgotten/missed.
> 

Hi, 

I am using that namespace in a mono application on CentOS 4 and it works
fine for me.  I wrote and compiled the app in VS IDE however.  Mono does
support that namespace, at least System.Diagnostics.Process.Start.

Sorry I couldn't be more help.

Lee

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


Re: [Mono-list] SPAM-LOW: An idea for MonoDevelop new Logo ?!

2006-07-13 Thread Lee
 

> Hi all,
> what do you think about this idea:
> 
> http://laas.altervista.org/md_logo.php
> 
> to make new graphics for MD in order to enhance its "appeal" ?
> 


I like it.  Nice clean design, but also distinctive and identifiable.

Lee

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


Re: [Mono-list] FAQs

2006-07-08 Thread Lee
 


You wrote:
-
The mono site is run off mediawiki no?  Why not make an FAQ that is
editable by anyone?  Hopefully people could post their own questions and
answers as they get them.

Probably this is starry-eyed optimism that it would work out, but it
might.

--

Either way, I think something like that would be great.  Many people that
are coming from MS/VS would appreciate a nice FAQ.  

Lee

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


Re: [Mono-list] SPAM-LOW: Getting a service to start automatically

2006-06-28 Thread Lee
 
Hi Nikki, 

Please see my response below.

> 
> Let me get this straight.
> 
> You have a shell script, containing the following text...
> 
> #!/bin/sh 
>  
> /opt/mono-1.1.15/bin/mono-service /path/to/my/exe 
> 
> If you execute that script, nothing happens (you get back to 
> the prompt, and the service isn't running).
> 
> However, if you type 
> 
> /opt/mono-1.1.15/bin/mono-service /path/to/my/exe 
> 
> at a command prompt, the service starts running.
> 
> That's wierd!

Yes, that is correct.

 
> You didn't edit the script using a Windows/DOS editor, which 
> put carriage returns at the end of each line, did you?
> 

Nope, I wrote it using nano connected to my linux box via putty.


> #!/bin/sh
> ls /
> 
> Will that run? What output does it give?

I changed the script here:
http://lists.ximian.com/pipermail/mono-list/2005-November/029295.html

And edited it so that in the CASE select branch uses these (instead of call
to mono-service):

start) nohup /path/to/application > /dev/null &
stop) killall myAppName.exe

And it works nicely, even on OS boot.

Thanks again,

Lee

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


Re: [Mono-list] favorite IDE ?

2006-06-28 Thread Lee
 

LOL.

> 
> At 09:53 AM 28/06/2006 -0400, you wrote:
> [snip]
> >My hat's off to the notepad/vim guys.  I'm just not that good, LOL.
> 
> Do you really laugh out loud all the time? Your co-workers 
> must find you kind of scary... :-)
> 
> Jonathan Gilbert
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-list

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


Re: [Mono-list] favorite IDE ?

2006-06-28 Thread Lee


I love Borland Delphi 6, but when it came to .Net development, I figured MS
would be the ticket as far as C# goes.  I also have Chrome
(www.chromesville.com) add-in for VS for when I get homesick for Object
Pascal.  

Eitherway, I could not do without many of the features that we take for
granted in a full blown IDE such as code completion which make my work so
much faster.

My hat's off to the notepad/vim guys.  I'm just not that good, LOL.

Lee


> 
> I develop with my Borland Developer Studio (BDS) 2006 with Delphi.NET.
> And well... it just works perfectly fine for me.
> 
> I like my refactoring enhacements in the IDE, I like my 
> visual web-forms designer, I love the property inspector and 
> most I love live-data in the IDE.
> 
> Just not mentioning the editor features like code snippets 
> and self-configurable code templates that just pop up when I 
> need them.
> 
> Overall I'm definetly more productive with an IDE that offers 
> me such features, because the whole code hacking can be done 
> much faster. And I'm not payed for the code hacking but for 
> thinking about the code to hack in ;-)
> 
> Greetings,
> 
>Sebastian

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


Re: [Mono-list] SPAM-LOW: Getting a service to start automatically

2006-06-28 Thread Lee
 

Hi Nikki, 

It does work.  I could always use that or since the mono-service seems to be
in the path, I could also just use:

mono-service /path/to/my/exe

Lee



> 
> I use CentOS too, so maybe I can help.
>  
> OK. Step 1 - from the command line, type in exactly what you 
> have in the script - i.e.
> 
> /opt/mono-1.1.15/bin/mono-service /path/to/my/exe
> 
> Does it run now?
> 

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


Re: [Mono-list] SPAM-LOW: Getting a service to start automatically

2006-06-27 Thread Lee
Hi Peter, 

Thanks for responding.  I'm new to linux and I am using CentOS which I
believe is based on Redhat.

The thing that I cannot understand is why the service will not run in  a
script.  Foget about placing the script inside init.d, the service will not
run in ANY script.

If I run:
$mono-service /path/to/my/exe

The service runs fine as it should.

However, if I create a script such as:

#!/bin/sh

/opt/mono-1.1.15/bin/mono-service /path/to/my/exe

... it does not run.

If I do the same thing with a standard console app, the app starts
regardless if I invoke from commandline or through script.

Thanks again,

Lee 

> 
> Lee wrote:
> > Hi all,
> >
> > Sorry to beat a dead horse to death, but I cannot get my service to 
> > start at system startup.  I've tried the script that I 
> mentioned below to no avail.
> >   
> I've not really been following this, so if this has been said 
> before, my apologies to the list.
> 
> The script you refer to worked fine for me under SuSE 9.3.  
> I'm not familiar with your distribution, but is it LSB 
> compliant?  Does it have the same procedure for starting 
> services as SuSE does?  I believe Robert's script is 
> LSB-centric.  He will no doubt correct me if I'm wrong.
> 
> If I'm going in the right direction, then you may need to 
> look at how your distribution goes about starting daemons at 
> startup, and modify things in the script to suit.
> 
> If it's any help, I work by putting the calls to mono-service 
> into an ordinary script and calling it manually (as it were) 
> until it starts and stops the service correctly.  Then I copy 
> it to the init.d directory and let the SuSE insserve command 
> do its work.  However I believe that that command is specific 
> to SuSE, so other distributions will vary.
> 
> If you want a more coherent description of what I did, go to 
> http://www.peredur.uklinux.net/msc/ and download the pdf file 
> of my DS.  
> I describe the process on page 54.  You won't want to read 
> any more of it than that unless you suffer very badly from insomnia.
> 
> Again, apologies if this has all already been said.
> 
> 
> Peter
> 

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


Re: [Mono-list] SPAM-LOW: Getting a service to start automatically

2006-06-27 Thread Lee

Hi all, 

Sorry to beat a dead horse to death, but I cannot get my service to start at
system startup.  I've tried the script that I mentioned below to no avail.

I have for 3 days now to get my service to run automatically at start up.
The problem is that calling mono-service from a script will not work.

To test, I wrote a small console app that outputs a simple line then exits.

I then wrote a simple script like this:

=
#!/bin/sh

/etc/testMono.exe
=

And then ran:

$service starttest

And the app ran correctly.

Yet doing the same thing or even using the script detailed here:
http://lists.ximian.com/pipermail/mono-list/2005-November/029295.html

and it will just not work.  No errors that I can see and no service either,
LOL.

I even tried creating a cron job in crontab using the keyword "@reboot" and
that will work either.  

Having the app start at os start up is crucial and if I can't get it to
work, I will have to scrap all the work that I have done and use something
else other than mono/C#, which I do not want to do, LOL.

Thanks again,

Lee

> 
> 
> Hi all, 
> 
> I've have tried unsuccessfully to get a service that I wrote 
> to startup automatically via an init.d script.  I have tried 
> about every combination that I can think of, but to no avail. 
>  As it is most of the time, there has to be something that 
> I'm doing wrong, but just cannot figure out what it may be.
> 
> I've been at it for about 6 hours today and I'm done trying 
> to guess how to do this.  Travis on this list sent me a 
> script link (and eventually a script template via private 
> email) but I am unable to get either to run correctly. 
> 
> http://lists.ximian.com/pipermail/mono-list/2005-November/029295.html
> 
> I did get as far as seeing the script executed when linux 
> (CentOS 4) starts up, but the service that it is supposed to 
> start does not start at all and the script generates a bunch 
> of errors concerning rc.local not being found, etc.
> 
> Thanks for any help,
> 
> Lee
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-list

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


Re: [Mono-list] Getting a service to start automatically

2006-06-27 Thread Lee
 

Thanks for responding, Nikki.

My concern was that there still might be something mono specific that I was
not doing, especially considering that mono-service was required to run a
mono service application.

Thanks again,

Lee


> Subject: Re: [Mono-list] Getting a service to start automatically
> 
> Lee wrote:
> > I've have tried unsuccessfully to get a service that I wrote to 
> > startup automatically via an init.d script.
> 
> Assuming you can get the service to start OK manually, then I 
> suggest you ask this question in a list or group dedicated to 
> your particular Linux distro, as it is a Linux question, and 
> the best answer depends on your distro.
> 
> -- 
> Nikki Locke, Trumphurst Ltd.  PC & Unix consultancy & programming
> http://www.trumphurst.com/

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


[Mono-list] Running System Processes or external executables

2006-06-26 Thread Lee Jenkins (DataTrakPOS)

Can someone provide a sample of calling an external application from within
a C# app?

I've tried a vew simple things like:

System.Diagnostics.Process.Start("shutdown -r now");

I have also tried placing escapted quotes around the command such as this:

System.Diagnostics.Process.Start(""\shutdown -r now"\");

Either way, I get "Can't find specified file".

Thank you,

Lee

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


[Mono-list] Getting a service to start automatically

2006-06-25 Thread Lee


Hi all, 

I've have tried unsuccessfully to get a service that I wrote to startup
automatically via an init.d script.  I have tried about every combination
that I can think of, but to no avail.  As it is most of the time, there has
to be something that I'm doing wrong, but just cannot figure out what it may
be.

I've been at it for about 6 hours today and I'm done trying to guess how to
do this.  Travis on this list sent me a script link (and eventually a script
template via private email) but I am unable to get either to run correctly. 

http://lists.ximian.com/pipermail/mono-list/2005-November/029295.html

I did get as far as seeing the script executed when linux (CentOS 4) starts
up, but the service that it is supposed to start does not start at all and
the script generates a bunch of errors concerning rc.local not being found,
etc.

Thanks for any help,

Lee


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


Re: [Mono-list] SPAM-LOW: Console app start at start up?

2006-06-24 Thread Lee
 

LOL, yes.  

> > 
> > It appears that I had written the loop to read from the socket 
> > incorrectly, LOL yet it worked in Windows!  It's difficult 
> to pin down 
> > exactly because I ended up writing the routine a few 
> different times.
> > 
> > Lee
> 
> As good old Homer would say: Doh!  :-)
> 
> Jim
> -- 
>  _\|/_
>  (o o)
> +oOO-{_}-OOo-+
> |  You roll an 18 in Dex and see if you  |
> |  don't end up with a girlfriend|
> |  JimD - Central FL, USA, Earth, Sol|
> ++
> 

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


[Mono-list] Running System processes from within mono

2006-06-24 Thread Lee
Can someone provide a sample of calling an external application from within
a C# app?

I've tried a vew simple things like:

System.Diagnostics.Process.Start("shutdown -r now");

I have also tried placing escapted quotes around the command such as this:

System.Diagnostics.Process.Start(""\shutdown -r now"\");

Either way, I get "Can't find specified file".

Thank you,

Lee

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


Re: [Mono-list] SPAM-LOW: Console app start at start up?

2006-06-24 Thread Lee


It appears that I had written the loop to read from the socket incorrectly,
LOL yet it worked in Windows!  It's difficult to pin down exactly because I
ended up writing the routine a few different times.

Lee


 

> -Original Message-
> From: JimD [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 24, 2006 10:59 AM
> To: Lee
> Cc: mono-list@lists.ximian.com
> Subject: Re: [Mono-list] SPAM-LOW: Console app start at start up?
> 
> Lee wrote:
> > 
> > Got it working (TcpListener), thanks all.
> > 
> > Lee
> 
> Out of curiosity, what was the issue/solution?
> 
> Jim

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


Re: [Mono-list] SPAM-LOW: Console app start at start up?

2006-06-23 Thread Lee


Got it working (TcpListener), thanks all.

Lee


> > I have had a bit of difficulty in implementing a socket server as a 
> > service application with mono and have been asked to enter 
> a report in 
> > bugzilla which I have done.  Must I use a service 
> application to have 
> > a program run at startup?
> > 
> > Can a console app be made to start up automatically?  Does 
> that even 
> > make sense to do?
> > 
> > I looked into using xinet.d but it seems that the line buffer is 
> > limited to
> > 255 bytes and I will be sending xml packets back and forth 
> that will 
> > exceed that easily.
> > 
> 

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


Re: [Mono-list] SPAM-LOW: Console app start at start up?

2006-06-23 Thread Lee
 

Something else came to mind.  Do I need to give the executable file (on
linux) any other permission than execute (chmod +x my.exe) ???

I have re-written my prototype to use ansynchronous sockets instead of
TcpListener and still cannot get the socket server to run on linux (CentOS
4).  I have the firewall turned off for that computer as well.

I even tried running as a Console app and the socket server still will not
run. 

It can't be this difficult, LOL.

Thanks again for any help or advice.

Lee


> 
> 
> I have had a bit of difficulty in implementing a socket 
> server as a service application with mono and have been asked 
> to enter a report in bugzilla which I have done.  Must I use 
> a service application to have a program run at startup?
> 
> Can a console app be made to start up automatically?  Does 
> that even make sense to do?
> 
> I looked into using xinet.d but it seems that the line buffer 
> is limited to
> 255 bytes and I will be sending xml packets back and forth 
> that will exceed that easily.
> 

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


[Mono-list] Console app start at start up?

2006-06-22 Thread Lee

I have had a bit of difficulty in implementing a socket server as a service
application with mono and have been asked to enter a report in bugzilla
which I have done.  Must I use a service application to have a program run
at startup?

Can a console app be made to start up automatically?  Does that even make
sense to do?

I looked into using xinet.d but it seems that the line buffer is limited to
255 bytes and I will be sending xml packets back and forth that will exceed
that easily.

Thanks again,

Lee

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


[Mono-list] TCPListener Service application

2006-06-22 Thread Lee Jenkins (DataTrakPOS)

Hi, I have written a prototype TCPListerner service.  It works fine on my
local XP dev box (isn't that always the case), but not on the linux box.  

I started the service with:

$ Mono-service myservice.exe

Checked with ps and ps -eaf and it says that its running.  So at this point,
I'm not sure if it's the linux box or something in my code that does not run
well in mono.

Is there anything in particular I should try?  I have attached the code that
starts the service below.

Thanks,

-- 
Lee

protected override void OnStart(string[] args)
{
System.Threading.Thread thread = new System.Threading.Thread(
  new System.Threading.ThreadStart(this.StartServe));
thread.Start();
}

private void StartServe()
{
  TcpListener SockServer = null;
  try
  {

// Setup socket server
Int32 port = 4567;
SockServer = new TcpListener(IPAddress.Any, port);
SockServer.Start();

// create buffer to read data
Byte[] bytes = new Byte[256];
string data = null;

while (true)
{
  // check to see if request is pending
  if (SockServer.Pending())
  {
TcpClient client = SockServer.AcceptTcpClient();

data = null;

NetworkStream stream = client.GetStream();

int i;

// flag for loop
bool Alldone = false;
// End of Transmission character 
char theChar = '\u0004';
string ch = theChar.ToString();

while (!Alldone)
{
  i = stream.Read(bytes, 0, bytes.Length);
  // translate stream to string data;
  data += System.Text.Encoding.ASCII.GetString(bytes);
  if ((data.Contains(ch)) || (i == 0))
Alldone = true;
}

int POS = data.IndexOf(ch);
data = data.Substring(0, POS);
// strip off EOT character


// create requestprocessing object here and hand off
RequestHandler handler = new RequestHandler(data);
string response = handler.ProcessRequest() + ch;

// send back result
byte[] ret = System.Text.Encoding.ASCII.GetBytes(response);
stream.Write(ret, 0, ret.Length);

  }
}

  }
  catch (SocketException e)
  {
  }
  finally
  {
SockServer.Stop();
  }

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


Re: [Mono-list] TCPListener problem

2006-06-21 Thread Lee

Also, I forgot to mention that if I comment out the Threading function call
in the OnStart event and place a call to a dummy method that just prints to
the log files, it works.  That appears to indicate that it is something
either with the way that it's implemented within Mono or more likely, the
way that I have implemented it.

Thanks again,

Lee


> Hello, 
> 
> I have done what Martin suggested which was the following:
> 
> Specifically use localhost 127.0.0.1 as the local address and 
> check netstat.
> It appears that the socket does not start because it is not 
> showing up in netstat.
> 
> As I mentioned in a prior post, I have placed logging 
> routines at various points in the code:
> 
> OnStart event
> OnStop event
> Beginning of the StartServ() method
> 
> When I used:
> SockServer = new TcpListener(IPAddress.Any, port);
> 
> Both the OnStart and OnStop events were firing without the 
> socket server listing.
> 
> When I changed to:
> IPAddress addr = IPAddress.Parse("127.0.0.1"); SockServer = 
> new TcpListener(addr, port); ...only the OnStart event 
> appears to fire.
> 
> Again, If I run the socket server (both in and out of VS IDE) 
> on Windows the server works fine with no problems.  Could it 
> be that there is a difference in the implementation of 
> sockets namespace in Mono has a difference that I need to account for?
> 
> Thanks again,
> 
> Lee
> 
> 
> > 
> > 
> > Hi, I have written a prototype TCPListerner service.  It 
> works fine on 
> > my local XP dev box (isn't that always the case), but not 
> on the linux 
> > box.

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


Re: [Mono-list] TCPListener problem

2006-06-21 Thread Lee
 

Hello, 

I have done what Martin suggested which was the following:

Specifically use localhost 127.0.0.1 as the local address and check netstat.
It appears that the socket does not start because it is not showing up in
netstat.

As I mentioned in a prior post, I have placed logging routines at various
points in the code:

OnStart event
OnStop event
Beginning of the StartServ() method

When I used:
SockServer = new TcpListener(IPAddress.Any, port);

Both the OnStart and OnStop events were firing without the socket server
listing.

When I changed to:
IPAddress addr = IPAddress.Parse("127.0.0.1");
SockServer = new TcpListener(addr, port);
...only the OnStart event appears to fire.

Again, If I run the socket server (both in and out of VS IDE) on Windows the
server works fine with no problems.  Could it be that there is a difference
in the implementation of sockets namespace in Mono has a difference that I
need to account for?

Thanks again,

Lee


> 
> 
> Hi, I have written a prototype TCPListerner service.  It 
> works fine on my local XP dev box (isn't that always the 
> case), but not on the linux box.  
> 
> I started the service with:
> 
> $ Mono-service myservice.exe
> 
> Checked with ps and ps -eaf and it says that its running.  So 
> at this point, I'm not sure if it's the linux box or 
> something in my code that does not run well in mono.
> 
> Is there anything in particular I should try?  I have 
> attached the code that starts the service below.
> 
> Thanks,
> 
> --
> Lee
> 
> protected override void OnStart(string[] args) { 
> System.Threading.Thread thread = new System.Threading.Thread(
>   new System.Threading.ThreadStart(this.StartServe));
> thread.Start();
> }
> 
> private void StartServe()
> {
>   TcpListener SockServer = null;
>   try
>   {
> 
> // Setup socket server
> Int32 port = 4567;
> SockServer = new TcpListener(IPAddress.Any, port);
> SockServer.Start();
> 
> // create buffer to read data
> Byte[] bytes = new Byte[256];
> string data = null;
> 
> while (true)
> {
>   // check to see if request is pending
>   if (SockServer.Pending())
>   {
> TcpClient client = SockServer.AcceptTcpClient();
> 
> data = null;
> 
> NetworkStream stream = client.GetStream();
> 
> int i;
> 
> // flag for loop
> bool Alldone = false;
> // End of Transmission character 
> char theChar = '\u0004';
> string ch = theChar.ToString();
> 
> while (!Alldone)
> {
>   i = stream.Read(bytes, 0, bytes.Length);
>   // translate stream to string data;
>   data += System.Text.Encoding.ASCII.GetString(bytes);
>   if ((data.Contains(ch)) || (i == 0))
> Alldone = true;
> }
> 
> int POS = data.IndexOf(ch);
> data = data.Substring(0, POS);
> // strip off EOT character
> 
> 
> // create requestprocessing object here and hand off
> RequestHandler handler = new RequestHandler(data);
> string response = handler.ProcessRequest() + ch;
> 
> // send back result
> byte[] ret = 
> System.Text.Encoding.ASCII.GetBytes(response);
> stream.Write(ret, 0, ret.Length);
> 
>   }
> }
> 
>   }
>   catch (SocketException e)
>   {
>   }
>   finally
>   {
> SockServer.Stop();
>   }
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-list

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


[Mono-list] TCPListener problem

2006-06-20 Thread Lee

Hi, I have written a prototype TCPListerner service.  It works fine on my
local XP dev box (isn't that always the case), but not on the linux box.  

I started the service with:

$ Mono-service myservice.exe

Checked with ps and ps -eaf and it says that its running.  So at this point,
I'm not sure if it's the linux box or something in my code that does not run
well in mono.

Is there anything in particular I should try?  I have attached the code that
starts the service below.

Thanks,

--
Lee

protected override void OnStart(string[] args) { System.Threading.Thread
thread = new System.Threading.Thread(
  new System.Threading.ThreadStart(this.StartServe));
thread.Start();
}

private void StartServe()
{
  TcpListener SockServer = null;
  try
  {

// Setup socket server
Int32 port = 4567;
SockServer = new TcpListener(IPAddress.Any, port);
SockServer.Start();

// create buffer to read data
Byte[] bytes = new Byte[256];
string data = null;

while (true)
{
  // check to see if request is pending
  if (SockServer.Pending())
  {
TcpClient client = SockServer.AcceptTcpClient();

data = null;

NetworkStream stream = client.GetStream();

int i;

// flag for loop
bool Alldone = false;
// End of Transmission character 
char theChar = '\u0004';
string ch = theChar.ToString();

while (!Alldone)
{
  i = stream.Read(bytes, 0, bytes.Length);
  // translate stream to string data;
  data += System.Text.Encoding.ASCII.GetString(bytes);
  if ((data.Contains(ch)) || (i == 0))
Alldone = true;
}

int POS = data.IndexOf(ch);
data = data.Substring(0, POS);
// strip off EOT character


// create requestprocessing object here and hand off
RequestHandler handler = new RequestHandler(data);
string response = handler.ProcessRequest() + ch;

// send back result
byte[] ret = System.Text.Encoding.ASCII.GetBytes(response);
stream.Write(ret, 0, ret.Length);

  }
}

  }
  catch (SocketException e)
  {
  }
  finally
  {
SockServer.Stop();
  }

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


[Mono-list] Auto Running Processeses

2006-06-19 Thread Lee


Hi all, 

I apologize for the basic question here, but I am new to linux.  To make
things a bit easier on myself, I'm using VS2005 for my development since I
use that for windows development as well.  I am writing a TCP socket server
and want it to run as an automatic process.  

Should that be written as a console app or as a Service app?

Again, sorry for the basic question.

Thanks,

Lee

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


RE: [Mono-list] Working with Files

2006-06-15 Thread Lee
> > 
> > Are there any caveats or issues that I should be aware of
> that anyone
> > can comment on?  Thanks for your help and guidance.
> 
> Quickly I can see some issues:
>   Authentication;
>   Authorization;
>   Confidentiality;
>   Auditing
> and a caveat:
>   lack of security will result in very "bad things"(tm).

Thank you for replying.  I should have been more specific..my apologies.  I
am coming from a Windows coding back ground (Delphi and recently C#/VS) and
I was wondering in that particular context, if there was anything that I
should be aware of.  I could have sworn I had mentioned that in my first
post although I obviously did not.  Again, sorry about that.

Actually, now that I think of it, there are some specific questions I'd like
to query as well:

1. Is there a command/class in mono that I can use to invoke specific
applications on the local linux box?  I only want to invoke specific
applications such as the sox app I referred to in my first post or restart
the linux box.  LOL, I will not be giving clients carte blanche on executing
*any* application on the linux box.

2. In copying or moving files in mono/linux, is it the same as with
.net/windows with the exception of the linux/windows differences in
specifying paths?

Thanks again,

Warm Regards,

Lee

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


[Mono-list] Working with Files

2006-06-15 Thread Lee

Hi Everyone, 

I need to write a small TCP socket server to run on a linux box using a
simple xml based request/response protocol.  The socket server will need to:

1. Be able to replace existing .conf files on the linux box based on
requests from the client.

2. Be able to shell out to utility executables.  An example would be running
the following:

sox foo.wav -r 8000 foo.gsm resample -ql

Are there any caveats or issues that I should be aware of that anyone can
comment on?  Thanks for your help and guidance.

Warm Regards,

Lee Jenkins

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


RE: SPAM-LOW: Re: [Mono-list] preferate build tool ?

2006-06-12 Thread Lee
 


> For ASP.NET there is no practical alternative, IMHO.
> 

I'm curious.  How have you found the ASP.net in mono?  OS specifics aside
(paths, etc) is it pretty much out of the box?

Thanks 

Lee

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


[Mono-list] Anyone using FirebirdSQL Embedded?

2006-06-12 Thread Lee Jenkins (DataTrakPOS)


I was wondering if anyone has successfully used the firebird data provider
with embedded with mono/*ix?

Thank you!

Lee Jenkins

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


RE: [Mono-list] Running EXE's without "Mono" preamble

2006-06-01 Thread Lee
 

Hi Alexandre, 

>From that command, I get:

nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   binfmt_misc
nodev   usbfs
nodev   usbdevfs
nodev   futexfs
nodev   tmpfs
nodev   pipefs
nodev   eventpollfs
nodev   devpts
ext2
nodev   ramfs
nodev   hugetlbfs
iso9660
nodev   relayfs
nodev   mqueue
ext3
nodev   rpc_pipefs
nodev   autofs


Lee

A cat /proc/filesystems would be better to check that.


On 6/1/06, Lee <[EMAIL PROTECTED]> wrote: 



David,

Thank you for responding, I appreciate the help.  I am
running CentOS 4.3x
and that command (which I have become all too familiar with,
LOL) produces
the following:

mount: binfmt_misc already mounted or
/proc/sys/fs/binfmt_misc busy
mount: according to mtab, none is already mounted on 
/proc/sys/fs/binfmt_misc

Thank you,

        Lee

> This could be a kernel config issue, if you build your own
> kernels check that you have BINFMT_MISC - (under
'Executable
> file formats' in 
> menuconfig) set to be build either as a module, or built
into
> the kernel.
>
> If you are using a stock kernel, check if the command
>
>   mount binfmt_misc -t binfmt_misc
/proc/sys/fs/binfmt_misc 
>
> runs, if so you have it built into your kernel already,
and
> can proceed to the next step.
>
> David.
>
>
> Lee wrote:
> >
> > Hello,
> >
> > But when running
> >
> > Modprobe binfmt
> >
> > I get "FATAL Module binfmt not found" and I cannot go
further.
> >
> > Any assistance would be greatly appreciated. 
> >
> > Warm Regards,
>
>

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





-- 
Alexandre Gomes, Portugal 


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


RE: [Mono-list] Running EXE's without "Mono" preamble

2006-06-01 Thread Lee
 

David, 

Thank you for responding, I appreciate the help.  I am running CentOS 4.3x
and that command (which I have become all too familiar with, LOL) produces
the following:

mount: binfmt_misc already mounted or /proc/sys/fs/binfmt_misc busy
mount: according to mtab, none is already mounted on
/proc/sys/fs/binfmt_misc

Thank you,

Lee

> This could be a kernel config issue, if you build your own 
> kernels check that you have BINFMT_MISC - (under 'Executable 
> file formats' in
> menuconfig) set to be build either as a module, or built into 
> the kernel.
> 
> If you are using a stock kernel, check if the command
> 
>   mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
> 
> runs, if so you have it built into your kernel already, and 
> can proceed to the next step.
> 
> David.
> 
> 
> Lee wrote:
> > 
> > Hello,
> > 
> > But when running
> > 
> > Modprobe binfmt
> > 
> > I get "FATAL Module binfmt not found" and I cannot go further. 
> > 
> > Any assistance would be greatly appreciated.
> > 
> > Warm Regards,
> 
> 

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


[Mono-list] Running EXE's without "Mono" preamble

2006-05-31 Thread Lee


Hello,

I am starting to write some apps with C# on mono and I need to be able to
call the executeable directly instead of as "mono myapp.exe".

I have tried running the example commands on:
http://www.mono-project.com/Running_your_first_Mono_application
(Running your first mono application)

But when running 

Modprobe binfmt

I get "FATAL Module binfmt not found" and I cannot go further. 

Any assistance would be greatly appreciated.

Warm Regards,

Lee

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


[Mono-list] MySql connector

2006-04-23 Thread Lee Connell
I can't seem to get MySql connector to show up in the GAC.  I've used 
gacutil -i MySql.Data.dll and it says it put it in the GAC however it's not 
showing up.


I look in monodevelop about -> version and it is not in there.  I'm using md 
0.10.


I try to reference Mysql.Data.dll from command line and it says it can't 
find it.


Anyone able to successfully do this?

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: [Mono-list] StreamReader

2006-04-03 Thread Lee Connell
I want to execute a process and read it's output which may be asking user 
intuitive questions in which i want to write these back to the program and 
then read the next streamed output from the process and continue.


I guess I'm confused as how this is suppose to work and looking at it wrong. 
 How do I accomplish the above?




From: Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] StreamReader
Date: Mon, 03 Apr 2006 14:21:54 -0400

On Fri, 2006-03-31 at 20:17 -0500, Lee Connell wrote:
> I am using System.Diagnostics.Process to execute an external process.  
When
> I set RedirectStandardOutput = true and attempt to read the entire 
stream
> either with ReadToEnd(); or looping with ReadLine(); the application 
freezes

> on the last read.
>
> This happens in linux and windows so I'm assuming it's by design and I'm
> doing something wrong.
>
> What do I need to do to read the whole stream and continue with the
> application?

The program you're running has to end for that stream to reach EOF.

-Gonzalo


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


_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: [Mono-list] StreamReader

2006-04-03 Thread Lee Connell
I want to execute a process and read it's output which may be asking user 
intuitive questions in which i want to write these back to the program and 
then read the next streamed output from the process and continue.


I guess I'm confused as how this is suppose to work and looking at it wrong. 
 How do I accomplish the above?




From: Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
To: mono-list@lists.ximian.com
Subject: Re: [Mono-list] StreamReader
Date: Mon, 03 Apr 2006 14:21:54 -0400

On Fri, 2006-03-31 at 20:17 -0500, Lee Connell wrote:
> I am using System.Diagnostics.Process to execute an external process.  
When
> I set RedirectStandardOutput = true and attempt to read the entire 
stream
> either with ReadToEnd(); or looping with ReadLine(); the application 
freezes

> on the last read.
>
> This happens in linux and windows so I'm assuming it's by design and I'm
> doing something wrong.
>
> What do I need to do to read the whole stream and continue with the
> application?

The program you're running has to end for that stream to reach EOF.

-Gonzalo


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


_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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


[Mono-list] StreamReader

2006-03-31 Thread Lee Connell
I am using System.Diagnostics.Process to execute an external process.  When 
I set RedirectStandardOutput = true and attempt to read the entire stream 
either with ReadToEnd(); or looping with ReadLine(); the application freezes 
on the last read.


This happens in linux and windows so I'm assuming it's by design and I'm 
doing something wrong.


What do I need to do to read the whole stream and continue with the 
application?


   String data;
   Process proc = new Process();
   proc.StartInfo.UseShellExecute = false;
   proc.StartInfo.CreateNoWindow = true;
   proc.StartInfo.FileName = "cmd.exe";
   proc.StartInfo.RedirectStandardInput = true;
   proc.StartInfo.RedirectStandardOutput = true;
   proc.Start();

   StreamWriter input = proc.StandardInput;
   StreamReader output = proc.StandardOutput;

   input.AutoFlush = true;
   input.Write("dir" + System.Environment.NewLine);
   data = output.ReadLine();

   while (output.EndOfStream == false)
   {
   Debug.WriteLine("--- " + data + " ---");
   data = output.ReadLine(); 
<<-- when the last read in 
the loop occurs the program halts.

   }

   input.Write("exit" + System.Environment.NewLine);
   data = output.ReadLine();
   Debug.WriteLine("--- " + data + " ---");

   //Debug.WriteLine(data);

   input.Close();
   output.Close();
   proc.Close();

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


[Mono-list] Handling external programs

2006-03-25 Thread Lee Connell
Is there any articles/tutorials out that explains how to execute external 
programs from mono. I want to grab stdout and write to stdin.


thanks!

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


RE: [Mono-list] Installing Mono on Debian

2006-03-24 Thread Lee Connell
There are also packages from ubuntu that may work?  but again that may cause 
inconsistent issues with the sarge release.


look at packages.ubuntu.com.  Have a look also on google for any debian 
packages for mono, I'm sure someone has some out.




From: "Redefined Horizons" <[EMAIL PROTECTED]>
To: mono-list@lists.ximian.com
Subject: [Mono-list] Installing Mono on Debian
Date: Fri, 24 Mar 2006 13:15:38 -0800

I'm realtively new to Linux and Mono, so please be patient if I ask
something obvious. :]

I'd like to get Mono installed on my Debian Linux box. I'm running the
stable version of Debian Sarge. Should I try to use a Debian package for
Mono, or can I use the installer provided here?:

http://www.mono-project.com/Downloads

I'm not sure which is the best way to go. I think I might have problems if 
I
use the installer and circumvent the Debian Package system. Any 
suggestions?


Thanks,

Scott Huey

P.S. - I don't have my Linux box wired to the net just yet, so I can't use
apt-get.




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


_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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


[Mono-list] mysql binding not showing up in GAC

2006-03-21 Thread Lee Connell
I have followed directions from mono-project on downloading 1.0.7 version of 
mysql connector and i also used gacutil -i MySql.Data.Dll and it said it 
installed it properly,.


However I don't see it in MonoDevelop -> Help -> About -> Version tab.

I also tried without MonoDevelop just using mcs and referencing the mysql 
and it cannot find it.


I did check and I see MySql.Data in the /usr/lib/gac.

What is wrong? What steps can I try to debug?  Anything?

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


[Mono-list] MySql.Data.Dll & GAC

2006-03-19 Thread Lee Connell
I have followed directions from mono-project on downloading 1.0.7 version of 
mysql connector and i also used gacutil -i MySql.Data.Dll and it said it 
installed it properly,.


However I don't see it in MonoDevelop -> Help -> About -> Version tab.

I also tried without MonoDevelop just using mcs and referencing the mysql 
and it cannot find it.


I did check and I see MySql.Data in the /usr/lib/gac.

What is wrong?

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


[Mono-list] Webservice problem

2006-03-16 Thread Bryan Lee

Hi,

not sure if any1 here can help me. i installed a webservice to
do some tests on

http://203.81.56.66/test/test/MyService.asmx

run: execute | test form | invoke

it tells me:

The remote server returned an error: (500) Internal Server Error.
Could not find file "/usr/lib/xsp/test\new.Maestro".

Where do i change this to fix the path?

this is myservice.cs:

namespace Default {
   using System;
   using System.IO;
   using Decisio.Orchestration;
   using Decisio.Orchestration.Data;
   using Decisio.Orchestration.Models.Decision;
   using System.Web.Services;

   public class MyService : System.Web.Services.WebService {

   static DecisionExecutionEngine engine;

   [WebMethod()]
   public virtual void Execute(string Subject, string PersonName) {
   Decisio.Orchestration.Data.OrchestrationData data = new 
Decisio.Orchestration.Data.OrchestrationData();

   data["Subject"] = Subject;
   data["PersonName"] = PersonName;
   DecisionExecutionEngine engine = GetEngine();
   engine.Start(data);
   }

   public virtual DecisionExecutionEngine GetEngine() {
   if(engine==null)
{
lock(this)
{
if(engine==null)
{
   // engine = new DecisionExecutionEngine(new 
FileInfo(AppDomain.CurrentDomain.BaseDirectory + "new.Maestro"));
engine = new DecisionExecutionEngine(new 
FileInfo(System.IO.Path.GetDirectoryName (Request.PhysicalPath) + 
"new.Maestro"));

}
}
}
return engine;
   }
   }
}

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


Re: [Mono-list] error CS0006: Cannot find assembly`/tmp/nobody-temp-aspnet-0/c965af2c/88566.dll'

2006-03-16 Thread Bryan Lee

Cool fixed rebooted help ;p

now a new err:

Description: Error compiling a resource required to service this request. 
Review your source file and modify it to fix this error.
Error message: /tmp/nobody-temp-aspnet-0/513d5b0a/62132.0.vb(106,13) : error 
BC30524: Property 'TraceModeValue' lacks a 'set' accesor 
/tmp/nobody-temp-aspnet-0/513d5b0a/62132.0.vb(59,27) : error BC30524: 
Property 'Context' lacks a 'get' accesor


File name: /usr/lib/xsp/test/test.aspx

Source File: /tmp/nobody-temp-aspnet-0/513d5b0a/62132.0.vb


- Original Message - 
From: "Jonel Rienton" <[EMAIL PROTECTED]>

To: "'Bryan Lee'" <[EMAIL PROTECTED]>
Sent: Friday, March 17, 2006 2:54 AM
Subject: RE: [Mono-list] error CS0006: Cannot find 
assembly`/tmp/nobody-temp-aspnet-0/c965af2c/88566.dll'




This happened to me last week, restarting apache didn't help, after a
reboot, it started working again, odd tho.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryan Lee
Sent: Thursday, March 16, 2006 10:42 AM
To: MonoList
Subject: [Mono-list] error CS0006: Cannot find
assembly`/tmp/nobody-temp-aspnet-0/c965af2c/88566.dll'

Hi,

I can't seem to load any .aspx and i get this error msg:

Compilation Error
Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.
Error message: (0,0) : error CS0006: Cannot find assembly
`/tmp/nobody-temp-aspnet-0/c965af2c/88566.dll'

It didnt happen before, what should i do

help appreciated, cheers.

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.4/282 - Release Date: 3/15/2006





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


[Mono-list] error CS0006: Cannot find assembly `/tmp/nobody-temp-aspnet-0/c965af2c/88566.dll'

2006-03-16 Thread Bryan Lee

Hi,

I can't seem to load any .aspx and i get this error msg:

Compilation Error
Description: Error compiling a resource required to service this request. 
Review your source file and modify it to fix this error.
Error message: (0,0) : error CS0006: Cannot find assembly 
`/tmp/nobody-temp-aspnet-0/c965af2c/88566.dll'


It didnt happen before, what should i do

help appreciated, cheers. 


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


Re: [Mono-list] path.combine problem

2006-03-01 Thread Bryan Lee

Hi Paolo,

I'm new to this list, how could i post a test case.

ty.

- Original Message - 
From: "Paolo Molaro" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, March 01, 2006 8:57 PM
Subject: Re: [Mono-list] path.combine problem



On 02/28/06 Bryan Lee wrote:

Can someone help with this? posted in a few forums,
no one was able to help, wonder if someone can
assist in this.. thanks, appreciated ->

--

I did a quick webservice and ran it below..

http://203.81.56.67/test/test/MyService.asmx?page=op&op=Execute&; 
bnd=MyServiceSoap&tab=test


However i had an error after entering "subject" and "person name", anyone 
familiar to fix this?


The remote server returned an error: (500) Internal Server Error.
Could not find file "/usr/lib/xsp/test\new.Maestro".


Please post a complete test case so we can check where the error is.

lupus

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



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


[Mono-list] path.combine problem

2006-02-27 Thread Bryan Lee



Hi,
 
Can someone help with this? posted in a few 
forums,
no one was able to help, wonder if someone can
assist in this.. thanks, appreciated ->
 
--
I did a quick webservice and ran it below.. 
  http://203.81.56.67/test/test/MyService.asmx?page=op&op=Execute& 
bnd=MyServiceSoap&tab=test   
However i had an error after entering "subject" and "person name", anyone 
familiar to fix this?   The remote server returned an error: (500) 
Internal Server Error. Could not find file "/usr/lib/xsp/test\new.Maestro". 
    1. The slash is wrong, how(where) do i fix it.. 2. 
How do i see the full stack trace?   is path.combine broken, how do 
i fix this?unix dir is /../ and not \
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] path.combine problem.

2006-02-24 Thread Bryan Lee

Hey guys,

Can anyone assist in the problem i have:

I did a quick webservice and ran it below..

http://203.81.56.67/test/test/MyService.asmx?page=op&op=Execute&; 
bnd=MyServiceSoap&tab=test


However i had an error after entering "subject" and "person name", anyone 
familiar to fix this?


The remote server returned an error: (500) Internal Server Error.
Could not find file "/usr/lib/xsp/test\new.Maestro".


1. The slash is wrong, how(where) do i fix it..
2. How do i see the full stack trace?

is path.combine broken here?
unix dir is /../ and not \

help appreciated 


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


[Mono-list] stacktrace and path.combine

2006-02-21 Thread Bryan Lee

Hey guys,

I did a quick webservice and ran it below..

http://203.81.56.67/test/test/MyService.asmx?page=op&op=Execute&; 
bnd=MyServiceSoap&tab=test


However i had an error after entering "subject" and "person name", anyone 
familiar to fix this?


The remote server returned an error: (500) Internal Server Error.
Could not find file "/usr/lib/xsp/test\new.Maestro".


1. The slash is wrong, how(where) do i fix it..
is path.combine broken?

2. How do i see the full stack trace?



cheerios.


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


[Mono-list] webservice errors.

2006-02-18 Thread Bryan Lee

Hey all,

i'm fairly to new to this, have seen the docs and online
guides to setup webservices and asp.net on my FC4
linux machine. I'm running apache2 and trying to
load my webservice tho it doesnt to work:

This is what i added to httpd.conf:

LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so
Alias /test2 "/home/admin/test"
AddMonoApplications default "/test2:/home/admin/test"

  SetHandler mono



The error i got was:
The requested URL /test2/MyService.asmx was not found on this server.


What lines do i need to add into httpd.conf (apache2) in order for my 
webservice below to work, here are my files


drwxr-xr-x  2 admin admin  4096 Feb 14 23:59 bin
-rw-r--r--  1 admin admin   526 Feb 15 00:02 businesstimespan.config
-rw-r--r--  1 admin admin   617 Feb 15 00:02 DeploymentInfo.config
-rw-r--r--  1 admin admin  2247 Feb 15 00:02 log4net.config
-rw-r--r--  1 admin admin90 Feb 15 00:02 MyService.asmx
-rw-r--r--  1 admin admin  1139 Feb 15 00:02 MyService.cs
-rw-r--r--  1 admin admin  5520 Feb 15 00:02 new.Maestro
-rw-r--r--  1 admin admin 12839 Feb 15 00:02 Primary.model
-rw-r--r--  1 admin admin 0 Feb 15 00:02 project.Deployed
-rw-r--r--  1 admin admin   353 Feb 15 00:02 properties.config
drwxr-xr-x  2 admin admin  4096 Feb 14 23:59 reports
-rw-r--r--  1 admin admin  4933 Feb 15 00:02 web.config

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


RE: Re: [Mono-list] I give up / Mac OS X PPC support

2004-04-09 Thread Lee Malatesta
Steve Mentzer wrote:
> No offense to the mono team, but you should either drop support
> for PPC entirely or actually concentrate on getting it as stable
> as x86/linux.
I think that this is exactly what the good folks on the mono team are 
doing and I, for one, applaud their efforts. The mono project on the 
PPC platform has come a long way and it should only continue to get 
better. Perhaps the work isn't coming along as fast as I would like, 
but this is mostly true of all software projects I've been interested 
in whether open or proprietary. Good coding takes time.

Regards,

Lee

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


[Mono-list] Mac OS X and Windows.Forms

2004-03-19 Thread Lee Malatesta
Do I read the release notes for 0.31 correctly that Wine (and not just 
winelib) must be installed for Windows.Forms to work? If so, this would 
preclude from Windows.Forms working on Mac OS as Wine doesn't run on OS 
X, no?

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


[Mono-list] Compile Fails Under RedHat 9

2003-08-06 Thread Lee Mehlhorn



This problem has probably been reported before, 
however I couldn't find anything on the list to resolve it. I downloaded the 
latest mono tarball and attempted to install it using the steps outlined on the 
download page.
 
./configure --prefix=/usr/local
However the compile fails with the following 
output:
 
checking size of void *... 4checking for 
pkg-config... /usr/bin/pkg-configPackage glib-2.0 was not found in the 
pkg-config search path.Perhaps you should add the directory containing 
`glib-2.0.pc'to the PKG_CONFIG_PATH environment variableNo package 
'glib-2.0' foundPackage glib-2.0 was not found in the pkg-config search 
path.Perhaps you should add the directory containing `glib-2.0.pc'to the 
PKG_CONFIG_PATH environment variableNo package 'glib-2.0' foundchecking 
for glib-2.0 >= 1.3.11... Package glib-2.0 was not found in the pkg-config 
search path.Perhaps you should add the directory containing 
`glib-2.0.pc'to the PKG_CONFIG_PATH environment variableNo package 
'glib-2.0' found
 
configure: error: Library requirements (glib-2.0 
>= 1.3.11) not met; consider adjusting the PKG_CONFIG_PATH environment 
variable if your libraries are in a nonstandard prefix so pkg-config can find 
them.
 
First I checked my rpm database for glib using rpm 
-qa | grep 'glib'. As you can see below I have version 2.3.2-27.9 along with the 
devel version.  I also tried setting the PKG_CONFIG_PATH env var to 
/usr/lib still nothing..
 
glib-1.2.10-10glib2-2.2.1-1glibc-kernheaders-2.4-8.10glibc-common-2.3.2-27.9glibc-2.3.2-27.9glibc-devel-2.3.2-27.9
 
Any ideas why this is failing on the compile?  
Thanks