[Mono-dev] Transparency from GIF files does not show up in BitmapData

2008-02-07 Thread Christian Stümpel
Hi everybody ,

my program analyzes System.Drawing.Bitmaps. Many pixel formats (all- 
non indexed, some indexed) work fine, but in BitmapData of Bitmaps  
from GIF image files which use transparent color I cannot find the  
transparency information anywhere. From the source code I guessed  
that the transparent index would get transformed into an ColorPalette  
entry which has the alpha component set correctly.  But all palette  
entries  are opaque.

A problem with the GIF decoder maybe? Any ideas?

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


Re: [Mono-dev] [PATCH] mono-service bugs - please review

2008-02-07 Thread Jörg Rosenkranz
Hi Avery,

2008/2/5, Avery Pennarun [EMAIL PROTECTED]:
 Note that it currently is implemented by polling every 500ms, which is lame
 on multiple levels (you don't want daemons waking up every 500ms on your
 laptop for no reason, as it wastes power).  I eagerly await your signal
 patch.

I knew it was ugly when I wrote this, but it seemed to be the best
solution at the time. It should have been implemented as
AutoResetEvent but that can't be used in signal handlers.
I don't think that signals are the way to go in the future. Maybe
someone takes a look at D-BUS for stearing services?

 - mono-service can overwrite its lockfile if the lockfile isn't
   lockf'ed.  This seems to be what was originally intended, but didn't
   quite get implemented correctly.

Did you have a look at bug #77340
(https://bugzilla.novell.com/show_bug.cgi?id=MONO77340)? For me it
looks like you are reopening this security hole with your patch.

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


Re: [Mono-dev] [PATCH] mono-service bugs - please review

2008-02-07 Thread Jonathan Pryor
On Thu, 2008-02-07 at 15:38 -0500, Avery Pennarun wrote:
 So I need to submit a new lockfile patch.  Any comments on the
 UserInteractive stuff?  That's actually the part I'm most suspicious
 that I did wrong.

System.Environment.SetUserInteractive() needs comments, similar to what
Mono.Runtime.GetDisplayName() has:

// Should not be removed intended for external use
// Safe to be called using reflection
// Format is undefined only for use as a string for reporting

It need not be identical to that, but it should say that this method,
even though it's private and isn't referenced anywhere else in
mscorlib.dll, is there so that mono-service.exe can execute it via
Reflection, and thus should not be modified w/o updating mono-service.

Beyond that, you should search around mcs/class to see if anything
depends on the UserInteractive property (I doubt that anyone does, but
you should check to be sure).

 - Jon


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


Re: [Mono-dev] [PATCH] mono-service bugs - please review

2008-02-07 Thread Avery Pennarun
Jörg Rosenkranz wrote:
 Avery wrote:
  - mono-service can overwrite its lockfile if the lockfile isn't
lockf'ed.  This seems to be what was originally intended, but didn't
quite get implemented correctly.

 Did you have a look at bug #77340
 (https://bugzilla.novell.com/show_bug.cgi?id=MONO77340)? For me it
 looks like you are reopening this security hole with your patch.

Oh dear. Well, my patch definitely brings back that one.  I think the
right fix is to open the existing file, lockf, unlink, and then create
a new one O_CREAT|O_EXCL|O_NOFOLLOW.  In the event that a new file is
created in between unlink and create, just give up.  If it works,
close the original file and throw it away.  Keep the new file's handle
open to preserve the lockf until the program dies.  (Same as current
behaviour.)

Of course no sensible person should leave their lock files in /tmp in
production, but that's a separate question.  I can see why it's the
default.  Another reasonable default would be $PWD.

Then Jonathan Pryor wrote:
 The UnixSignal patch was committed to head earlier this week, and I just
 migrated mono-service to use UnixSignal and UnixSignal.WaitAny() instead
 of Stdlib.signal().  Consequently the polling code has been removed with
 extreme prejudice, and we now have wonderful select(2)-based sleeping
 care of UnixSignal.WaitAny().

 This change also adds support for SIGINT, treating it identically with
 SIGTERM.

Excellent, problem solved.  And mono services will now start and stop
much faster than Microsoft ones with their arbitrary delays :)

So I need to submit a new lockfile patch.  Any comments on the
UserInteractive stuff?  That's actually the part I'm most suspicious
that I did wrong.

Thanks,

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


Re: [Mono-dev] [PATCH] mono-service bugs - please review

2008-02-07 Thread Jonathan Pryor
On Mon, 2008-02-04 at 20:32 -0500, Avery Pennarun wrote:
 On Mon, Feb 04, 2008 at 02:12:48PM -0500, Jonathan Pryor wrote:
  On Mon, 2008-02-04 at 12:14 -0500, Avery Pennarun wrote:
   1. mono-service runner doesn't catch SIGINT (it should clean up like
   SIGTERM, and this is especially important when using the --debug
   option).
  
  Not as easy as you'd think; check the archives with the Control-C
  handler subject.  To reliably catch SIGINT/SIGTERM/etc., you'll need to
  use UnixSignal, which was just added to svn-HEAD.
 
 I read that thread.  Luckily or unluckily, mono-service already catches
 various signals; SIGINT should be treated identically to SIGTERM, so making
 it work better should be a one-liner.
 
 Note that it currently is implemented by polling every 500ms, which is lame
 on multiple levels (you don't want daemons waking up every 500ms on your
 laptop for no reason, as it wastes power).

The UnixSignal patch was committed to head earlier this week, and I just
migrated mono-service to use UnixSignal and UnixSignal.WaitAny() instead
of Stdlib.signal().  Consequently the polling code has been removed with
extreme prejudice, and we now have wonderful select(2)-based sleeping
care of UnixSignal.WaitAny().

This change also adds support for SIGINT, treating it identically with
SIGTERM.

With luck I'll be able to get this into 1.9 soon.

 - Jon


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


[Mono-dev] fix for DataConverter.cs

2008-02-07 Thread Cliff Brake
In PackEnumerable(), b.i is getting incremented in two places:

--- DataConverter.cs.1  2008-02-07 16:14:01.0 -0500
+++ DataConverter.cs2008-02-07 16:18:03.0 -0500
@@ -309,7 +309,7 @@
IEnumerator enumerator = args.GetEnumerator ();
bool ok = enumerator.MoveNext ();

-   for (b.i = 0; b.i  description.Length; b.i++){
+   for (b.i = 0; b.i  description.Length; ){
object oarg;

if (ok)

Thanks,
Cliff

-- 
===
Cliff Brake
http://bec-systems.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Mono 1.9.0 Preview 1+ is out!!

2008-02-07 Thread Przemyslaw Soldacki
I could run my tests on previous versions of Mono, but...
Is there a simple way to make Mono downgrade? I use yast2 on OpenSUSE 
10.3...

- Original Message - 
From: Thomas Wiest [EMAIL PROTECTED]
To: Przemyslaw Soldacki [EMAIL PROTECTED]
Cc: Laurent Debacker [EMAIL PROTECTED]; 
mono-devel-list@lists.ximian.com
Sent: Thursday, February 07, 2008 2:36 AM
Subject: Re: [Mono-dev] Mono 1.9.0 Preview 1+ is out!!


 Przemyslaw Soldacki wrote:
 Thank you all guys.

 I am developing portal application in ASP.NET 2.0. I found several other
 bugs in Mono which existed in 1.2.5 and they still exist in 1.9. They are
 quite difficult to explain, because I use many features and is it not 
 easy
 to find out which one of them causes the problem. I hope to submit bug
 reports soon.

 Great! We look forward to your bug reports.

 Also, regressions are our top priority, so once you get a reproducible
 testcase, if you could try it out on some previous versions of Mono to
 see if it works there, your bug will get fixed much quicker (assuming it
 does, of course).

 Thanks,
 Thomas
 

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


Re: [Mono-dev] I18n and ASP.Net

2008-02-07 Thread Przemysław Sołdacki
Multilingual ASP.NET applications work very fine in Mono. It is just more 
strict. Thus, if there are no resources for certain file Mono throws exception 
while MS.NET simple omits applying resources. You can use both local and global 
resources.

Regards,

-


Hi,

 

I'm working on a application, wich will run on mono-xsp and I need to know
how to create a Multilingual WebApplication.

 

I readed about I18n ( http://www.mono-project.com/Internationalization), but
I'm not sure if it is possible with a webapplication.

 

How can I do this?

 

Regards and Thanks for your answers :=)

Rolando.

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


Re: [Mono-dev] I18n and ASP.Net (Rolando Martíne z)

2008-02-07 Thread Rolando Martinez
Hi,
Thanks for your answers,

I'm working on a application for online translation of po files (something
like a online editor of po files ) . Then I would know if I can use
something like this (http://www.mono-project.com/Internationalization) and
not the typical localization features (resources files).

Regards,


--

You are going too deep. You don't need to worry about that I18n
stuff.
Mono implements ASP.NET 2.0 and ASP.NET 2.0 has easy to
use
localization
features.
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/default.aspx



Hope it
helps,


Joe





Przemys?aw So?dacki [EMAIL PROTECTED]:





Multilingual ASP.NET applications work very fine in Mono. It is just
more
strict. Thus, if there are no resources for certain file Mono
throws
exception while MS.NET simple omits applying resources. You can use
both
local and global
resources.


Regards,








Hi,







I'm working on a application, wich will run on mono-xsp and I need to
know
how to create a Multilingual
WebApplication.






I readed about I18n ( http://www.mono-project.com/Internationalization),
but
I'm not sure if it is possible with a
webapplication.






How can I do
this?






Regards and Thanks for your answers
:=)


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


[Mono-dev] Easy way to do regression testing on Mono

2008-02-07 Thread Dennis Hayes
For 1.2.5 and (now) 1.2.6, you can use the Mono VMWear player or for 1.2.6, the 
live CD.
  Dennis
   
   I could run my tests on previous versions of Mono, but...
 Is there a simple way to make Mono downgrade? I use yast2 on OpenSUSE 
 10.3...


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] I18n and ASP.Net (Rolando Martíne z)

2008-02-07 Thread Michael Hutchinson
2008/2/7 Rolando Martinez [EMAIL PROTECTED]:
 Hi,
  Thanks for your answers,

  I'm working on a application for online translation of po files (something
 like a online editor of po files ) . Then I would know if I can use
 something like this (http://www.mono-project.com/Internationalization) and
 not the typical localization features (resources files).

Would you be interested in sharing code with MonoDevelop's translation
addin? We already have code to parse/edit/save po files, at
trunk/monodevelop/main/src/addins/MonoDevelop.Gettext/ (MIT/X11
license), and would be interested in a web based editor too :)

Using gettext from an ASP.NET app would get complicated because
libintl gets the language from the LANG environment variable, which
would obviously cause problems trying to use multiple languages within
a single process, i.e. a threaded web server. However, there's no
reason in principle why you could not hack the libintl library to
allow different 'instances' to be used from different threads, or even
port it to C# and use the current thread's .NET culture.

Once these problems were solved, you could use expressions like %#
GettextCatalog.GetString (Translate me) %. You'd also need a
scanner for find extracting translatable strings, but MonoDevelop's
gettext scanner could do that with a couple of regexes.

FWIW, the ASP.NET quickstart page claims that the localisation model
in 2.0 can be swapped out, but there doesn't seem to be much info on
this.

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


Re: [Mono-dev] worried about u.

2008-02-07 Thread Nagappan A
Hi Devi,

Chellam, I really feel bad about how I have behaved with you. I realized
after coming over here. How I was not helping you in anything. Here
everything I do on my own, like cooking, washing, then work too. So, I don't
have much time to think about sex (to be frank). More over, I started
thinking more about, how I can pay back the loan and how I can settle
Harini. My worries are, she is not clever, also me. Before coming to US, I
mean, when I was in India, I was thinking that, I could make more money, If
I go US. But that's not the case now. I'm seeing things in reality. So too
much worry about our life, infact Harini's future. Mostly thinking about,
how I must treat you, when you are here. I'm not mistaking you for any
cause, after coming over here. So no need to think about it.

I could not take care of my health, sorry about that. I wish, once you come,
I will be bit relaxed. For sure, will make myself to work in all possible
ways. These days, I have more back pain. Hope, it will go off, once I start
doing exercise and work less. Hey you also take care of your health. 100%, I
know that you are not at all wasting any money. So, no need to feel bad
about it. Please spend for what ever required. No need to worry about it.
I'm there to backup :) I really want to have more sex with you :D

Here I'm not much looking at girls, every time, I started comparing, how my
family will adjust to this situation, how I can bring Harini to good level.
Need to get a car for me, then you, then school for Harini. This is my
current requirements :)

We may not spend more money here, initially. Atleast till the time, we are
with Shankar. So, I recommend to bring some dresses from India. Including
jeans, t-shirt, sweater, umbrella etc.

Thanks
Anand

Hi Darling,
just free from hospital work. now amma is little bit
fine. anni is taking care of her nicely. here
afterwards u can make phone call to me. i will be in
the house. just left harini in the school.here every
one knows only telugu.(hospital school)some how
managing.
did ur mother talked with u for our marriage day.
we thought of going to karur by feb. end. not yet
decided. here the climate is very bad. i dont know how
iam going to manageover there.moreover it seeems i
became very lean. some are not beleiving that harini
is my daughter.some asking weather iam devi sister.
some asking weather harini is my sister.however iam 50
kg.
i thought that i dont need to bring too many dresses
for me since pant and t-shirt might be cheaper over
there. (apart from sarees.)
on that day i was about to heard one doctors programme
regarding back pain. in case of disc pro-lapse
EXERCISE is a must. oterwise careless ness may lead to
paralyises. please take the tablets regularly.
U R MORE IMPORTANT FOR US THAN UR MONEY.
PLEASE for heaven sake dont sit in the chair for more
than half an hour. just go for a walk for a while and
take some rest.

WEALTH IS LOST NOTHING IS LOST BUT HEALTH IS LOST
EVERYTHING IS LAST.

ur mother told that saranya delevired a boy baby.
2 days back i took 1000 rs. from atm. am i spending
more money?

anna is very busy in his work.today he may go to a
resort and will be back only tommorow. he told that
its better to aply for ticket only after i get the
visa. there may not be much problem.

then how about foreign girls. u didnt say anything
about them. any attempt so far from their side?
what to do. empty mans mind is devil workshop. this 5
month gap might have increased our affection. but once
if i get a chance to come over there and stayed for 1
month with u , you may get bored and tired of me.

iam unable to change myself (talking louder, saying
some unnecessary words) i can give 100% gaurantee. so
i cant expect that u should not scold me. i didnt
forget the day previous to ur departure. THAT NIGHT
INCIDENT  STILL RUNS IN MY MIND.
any how thats also good. if u havent scold me on that
day then i might have miss u a lot.ofcourse i miss u.
but still ,i dont know how to express.

any how past is past. i will try to forget about those
bad moments.lets always hope for a bright future.
once againg SORRY  if i have disappointed u.

Harini saw many babies in the hospital. she asked me
to give her one baby. i told her to ask u.because of
thinking u while sleeping i got lots of
pimples.(doctors generally say when hormones are
active  it happens)iam unable to talk with u about
these things in the phone. some thing stops me.
but what about u you have changed a lot.i can able to
find a difference in your talk.to be frank in these
five month u havent ask even a kiss from me. u r not
like this before.

it dosent mean that that u havent love me. may be that
affection and romance might have reduced.never mind. u
have got lots of duties mainly earning money ofcourse
its for me and harini. i can understand u. dont
mistake me.as u know i can share this only with u. if
u get angry with me i have no place to go.if u have
any thing to say just mail it. i may not able to talk
about 

Re: [Mono-dev] worried about u.

2008-02-07 Thread Nagappan A
Hi,

I'm really sorry about this email. Actually I have filled the email address
wrongly.

Kindly ignore this email and I request to delete it.

Thanks
Nagappan

On Feb 7, 2008 10:21 PM, Nagappan A [EMAIL PROTECTED] wrote:

 Hi Devi,

 Chellam, I really feel bad about how I have behaved with you. I realized
 after coming over here. How I was not helping you in anything. Here
 everything I do on my own, like cooking, washing, then work too. So, I don't
 have much time to think about sex (to be frank). More over, I started
 thinking more about, how I can pay back the loan and how I can settle
 Harini. My worries are, she is not clever, also me. Before coming to US, I
 mean, when I was in India, I was thinking that, I could make more money, If
 I go US. But that's not the case now. I'm seeing things in reality. So too
 much worry about our life, infact Harini's future. Mostly thinking about,
 how I must treat you, when you are here. I'm not mistaking you for any
 cause, after coming over here. So no need to think about it.

 I could not take care of my health, sorry about that. I wish, once you
 come, I will be bit relaxed. For sure, will make myself to work in all
 possible ways. These days, I have more back pain. Hope, it will go off, once
 I start doing exercise and work less. Hey you also take care of your health.
 100%, I know that you are not at all wasting any money. So, no need to feel
 bad about it. Please spend for what ever required. No need to worry about
 it. I'm there to backup :) I really want to have more sex with you :D

 Here I'm not much looking at girls, every time, I started comparing, how
 my family will adjust to this situation, how I can bring Harini to good
 level. Need to get a car for me, then you, then school for Harini. This is
 my current requirements :)

 We may not spend more money here, initially. Atleast till the time, we are
 with Shankar. So, I recommend to bring some dresses from India. Including
 jeans, t-shirt, sweater, umbrella etc.

 Thanks
 Anand

 Hi Darling,
 just free from hospital work. now amma is little bit
 fine. anni is taking care of her nicely. here
 afterwards u can make phone call to me. i will be in
 the house. just left harini in the school.here every
 one knows only telugu.(hospital school)some how
 managing.
 did ur mother talked with u for our marriage day.
 we thought of going to karur by feb. end. not yet
 decided. here the climate is very bad. i dont know how
 iam going to manageover there.moreover it seeems i
 became very lean. some are not beleiving that harini
 is my daughter.some asking weather iam devi sister.
 some asking weather harini is my sister.however iam 50
 kg.
 i thought that i dont need to bring too many dresses
 for me since pant and t-shirt might be cheaper over
 there. (apart from sarees.)
 on that day i was about to heard one doctors programme
 regarding back pain. in case of disc pro-lapse
 EXERCISE is a must. oterwise careless ness may lead to
 paralyises. please take the tablets regularly.
 U R MORE IMPORTANT FOR US THAN UR MONEY.
 PLEASE for heaven sake dont sit in the chair for more
 than half an hour. just go for a walk for a while and
 take some rest.

 WEALTH IS LOST NOTHING IS LOST BUT HEALTH IS LOST
 EVERYTHING IS LAST.

 ur mother told that saranya delevired a boy baby.
 2 days back i took 1000 rs. from atm. am i spending
 more money?

 anna is very busy in his work.today he may go to a
 resort and will be back only tommorow. he told that
 its better to aply for ticket only after i get the
 visa. there may not be much problem.

 then how about foreign girls. u didnt say anything
 about them. any attempt so far from their side?
 what to do. empty mans mind is devil workshop. this 5
 month gap might have increased our affection. but once
 if i get a chance to come over there and stayed for 1
 month with u , you may get bored and tired of me.

 iam unable to change myself (talking louder, saying
 some unnecessary words) i can give 100% gaurantee. so
 i cant expect that u should not scold me. i didnt
 forget the day previous to ur departure. THAT NIGHT
 INCIDENT  STILL RUNS IN MY MIND.
 any how thats also good. if u havent scold me on that
 day then i might have miss u a lot.ofcourse i miss u.
 but still ,i dont know how to express.

 any how past is past. i will try to forget about those
 bad moments.lets always hope for a bright future.
 once againg SORRY  if i have disappointed u.

 Harini saw many babies in the hospital. she asked me
 to give her one baby. i told her to ask u.because of
 thinking u while sleeping i got lots of
 pimples.(doctors generally say when hormones are
 active  it happens)iam unable to talk with u about
 these things in the phone. some thing stops me.
 but what about u you have changed a lot.i can able to
 find a difference in your talk.to be frank in these
 five month u havent ask even a kiss from me. u r not
 like this before.

 it dosent mean that that u havent love me. may be that
 

Re: [Mono-dev] Somebody please test this String patch

2008-02-07 Thread Andreas Nahr
Anybody?

Apart from a very small issue this could be applied to mono and no feedback
at all?

Greetings
Andreas

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Andreas Nahr
 Gesendet: Donnerstag, 31. Januar 2008 22:42
 An: 'mono-devel'
 Betreff: Re: [Mono-dev] Somebody please test this String patch
 
 Attached is a new version.
 As far as I can tell with a cygwin setup it passes all 
 relevant unittests and is able to compile mono without any 
 problems. It also adds a few unittest for cases that are 
 currently incorrectly implemented in the string class.
 
 Happy Hacking
 Andreas
 
  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Andreas Nahr
  Gesendet: Montag, 28. Januar 2008 01:52
  An: 'mono-devel'
  Betreff: [Mono-dev] Somebody please test this String patch
  
  This patch tries to get string a little bit out of its miserable 
  shape:
  
  It fixes several bugs, and implements the majority of the remaining 
  internalcalls with optimized managed code, giving performance 
  increases for the most cases (sometimes quite a lot).
  
  Fixed is:
  Bugs in parameterchecks for StartsWith, IndexOf, LastIndexOf Marked 
  possible bug in:
  Compare
  Managed Implementations of:
  PadRight, PadLeft, LastIndexOfAny, StringCopy, Trim, TrimStart, 
  TrimEnd, Split (Char versions), ToCharArray
  
  It is not yet completely tested, but it would be nice if 
 somebody else 
  could help a little bit - it's an important class after all ;)
  
  The patch also makes most of the String-icall.c file obsolete.
  
  Some raw perfomance numbers for tests I did:
  
  Trim:
  1813 - 1290
  631  - 550
  1332 - 421
  7441 - 2754
  6319 - 9303
  
  Split:
  10174 - 5718
  982   - 871
  7921  - 7170
  26809 - 7980
  18506 - 11290
  
  Pad:
  8021 - 8100
  1612 - 1663
  841  - 861
  1642 - 1682
  821  - 71
  
  LastIndexOfAny:
  2253 - 2243
  1773 - 1362
  6990 - 6470
  1883 - 2240
  831  - 2240
  
 

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


[Mono-list] mod_mono on RH 9

2008-02-07 Thread Bryan Buchanan
Hi,

I've got a customer using RH 9 and I wanted to get mod_mono working.

I used the mono 1.2.1 installer (get same error with 1.2.4). Mono works
fine. I've compiled Apache 2.2 from source and it too works fine, except
that when it starts, mod_mono doesn't, probably because of this error:

/opt/mono-1.2.1/bin/mono: relocation error: /opt/mono-1.2.1/bin/mono:
symbol epoll_create, version GLIBC_2.3.2 not defined in file libc.so.6
with link time reference

Unfortunately, I cannot update the site to a newer version of Linux
because the customer is using a DBMS product which they'd also need to
upgrade.

I have mod_mono working fine on other sites using more recent Linux
distros (eg. OpenSuse 10.2).

Thanks,

Bryan


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


Re: [Mono-list] mod_mono on RH 9

2008-02-07 Thread Marek Habersack
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 07 Feb 2008 18:59:53 +1000
Bryan Buchanan [EMAIL PROTECTED] wrote:

 Hi,
Hello,

 I've got a customer using RH 9 and I wanted to get mod_mono working.
 
 I used the mono 1.2.1 installer (get same error with 1.2.4). Mono works
 fine. I've compiled Apache 2.2 from source and it too works fine, except
 that when it starts, mod_mono doesn't, probably because of this error:
 
 /opt/mono-1.2.1/bin/mono: relocation error: /opt/mono-1.2.1/bin/mono:
 symbol epoll_create, version GLIBC_2.3.2 not defined in file libc.so.6
 with link time reference
It's not a mod_mono's fault. The problem is that your mono was compiled on a 
system
which supports the epoll set of syscalls, which apparently is not supported by 
libc
on the RH9 system. Recompiling mono on the machine you want to run it on should 
fix
the issue.

best regards,

marek
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHqupgq3909GIf5uoRAoi0AKCDiAqChAPWT4SmKafa4cZarwqxGgCdFzur
APxq/DmRHWeEIo2g9rvLPE4=
=B70t
-END PGP SIGNATURE-
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and Oracle Client on z/Linux

2008-02-07 Thread Edwin Kim
Hello,
please could you tell me how System.Data.OracleClient works on z/Linux 

environment : OS - z/Linux (LSES10Sp1) with mono 1.2.2 and Oracle InstantClient 
10.2

the code:
 
 using System;
 using System.Data;
 using System.Data.OracleClient;

 public class Test
 {
public static void Main (string[] args)
{
   string connectionString =
  Data Source=wpsdb; +
  User ID=test; +
  Password=test;;
   OracleConnection dbcon = null;
   dbcon = new OracleConnection (connectionString);
   dbcon.Open ();

   OracleCommand dbcmd = dbcon.CreateCommand ();
   string sql = SELECT * FROM dual;
   dbcmd.CommandText = sql;
   OracleDataReader reader = dbcmd.ExecuteReader ();
   // clean up
   reader.Close ();
   reader = null;
   dbcmd.Dispose ();
   dbcmd = null;
   dbcon.Close ();
   dbcon = null;
}
 }

pilation was succesfull 

When I run -mono test.exe- I' ve got this message 


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


Re: [Mono-list] mod_mono on RH 9

2008-02-07 Thread Wade Berrier
iirc, we dropped support for running mod_mono on redhat9.  I can't
remember if it was the reason you stated, or something different.

(I'm guessing it was different because we were building mono on rh9 at
the time).

Wade

On Thu, 2008-02-07 at 12:24 +0100, Marek Habersack wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, 07 Feb 2008 18:59:53 +1000
 Bryan Buchanan [EMAIL PROTECTED] wrote:
 
  Hi,
 Hello,
 
  I've got a customer using RH 9 and I wanted to get mod_mono working.
  
  I used the mono 1.2.1 installer (get same error with 1.2.4). Mono works
  fine. I've compiled Apache 2.2 from source and it too works fine, except
  that when it starts, mod_mono doesn't, probably because of this error:
  
  /opt/mono-1.2.1/bin/mono: relocation error: /opt/mono-1.2.1/bin/mono:
  symbol epoll_create, version GLIBC_2.3.2 not defined in file libc.so.6
  with link time reference
 It's not a mod_mono's fault. The problem is that your mono was compiled on a 
 system
 which supports the epoll set of syscalls, which apparently is not supported 
 by libc
 on the RH9 system. Recompiling mono on the machine you want to run it on 
 should fix
 the issue.
 
 best regards,
 
 marek
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.4-svn0 (GNU/Linux)
 
 iD8DBQFHqupgq3909GIf5uoRAoi0AKCDiAqChAPWT4SmKafa4cZarwqxGgCdFzur
 APxq/DmRHWeEIo2g9rvLPE4=
 =B70t
 -END PGP SIGNATURE-
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


signature.asc
Description: This is a digitally signed message part
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list