[Mono-dev] Olive working with 2.10.1?

2011-04-08 Thread Brad Cunningham
I am trying to get the latest version of Olive building against 2.10.1 but
have some troubles. It seems like just some pathing issues with the makefile
but I am not sure. I am trying to figure out what the bare minimum packages
I need to install in order for 2.10.1 to compile

So far it seems like I need the following

mono-addon-core
mono-addon-wcf
mono-addon-winfxcore

Is that right? Any help getting the makefile working would be appreciated.



-- 
Brad Cunningham
Microsoft MVP: C#

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


Re: [Mono-dev] Olive working with 2.10.1?

2011-04-08 Thread Brad Cunningham
Ok so some more hacking seems to have got me farther.

I have found you need the following to be able to build Olive

yum install mono-addon-core

yum install-mono-addon-winfxcore

yum install-mono-addon-wcf

yum install-mono-addon-devel (This is key to get resgen2)



So now it seems like make completes


However the documented install step seems to not actually install anything?

I have installed mono via yum to the default location (/opt/novell/mono)

so I do

make prefix=/opt/novell/mono


it appears to build but it doesn't move any dll's in the mono folders and my
app's that depend on things in, say, PresentationCore cannot find the
PresentationCore.dll



Thanks


On Fri, Apr 8, 2011 at 12:52 PM, Brad Cunningham b...@bradcunningham.netwrote:

 I am trying to get the latest version of Olive building against 2.10.1 but
 have some troubles. It seems like just some pathing issues with the makefile
 but I am not sure. I am trying to figure out what the bare minimum packages
 I need to install in order for 2.10.1 to compile

 So far it seems like I need the following

 mono-addon-core
 mono-addon-wcf
 mono-addon-winfxcore

 Is that right? Any help getting the makefile working would be appreciated.



 --
 Brad Cunningham
 Microsoft MVP: C#

 http://blog.bradcunningham.net




-- 
Brad Cunningham
Microsoft MVP: C#

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


Re: [Mono-dev] Olive working with 2.10.1?

2011-04-08 Thread Brad Cunningham
Right, I am a newb. I should have know that.


Thanks

On Fri, Apr 8, 2011 at 1:34 PM, Robert Jordan robe...@gmx.net wrote:

 On 08.04.2011 22:06, Brad Cunningham wrote:
  I have installed mono via yum to the default location (/opt/novell/mono)
 
  so I do
 
  make prefix=/opt/novell/mono
 
 
  it appears to build but it doesn't move any dll's in the mono folders and
 my
  app's that depend on things in, say, PresentationCore cannot find the
  PresentationCore.dll

 make alone won't install anything. Try make install prefix=

 Robert

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




-- 
Brad Cunningham
Microsoft MVP: C#

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


[Mono-dev] Is Mono obscuring my Windows Exit code?

2011-04-06 Thread Brad Cunningham
I have an app that calls:

Process.Start(/some/path/some.exe,-someargs);

And my process exits immediately and the exit code I get is 255. Since that
is the upper range for Linux is mono just setting anything higher that my
windows app might return to 255? (not even sure if it is possible for my app
to return anything higher than that in linux?) Or is 255 a legit exit code
that has meaning to me? Searching the web I can't seem to find anything
useful on what exit code 255 means on Linux or Windows.

See here for more info:

http://stackoverflow.com/questions/5570842/mono-process-start-returning-exitcode-255


Thanks
-- 
Brad Cunningham
Microsoft MVP: C#

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


[Mono-dev] Bug in Dispatcher.cs VerifyAccess or am I confused on the mono threading model?

2011-04-04 Thread Brad Cunningham
I just upgraded to 2.10 and am getting strange behavior that I wasn't seeing
in 2.8.1

I call VerifyAccess in my code which is the method in the Dispatcher class
that will compare the calling thread with the thread that the dispatcher was
created on, if they differ it will throw an exception. In 2.8.1 it seemed
that the Dispatcher object was always null so I never called these methods.

In 2.10 it seems the Dispatcher is no longer null so I am making it into my
calls to VerifyAccess and it is throwing an exception:

System.InvalidOperationException: The calling thread is not the same as the
creation thread


a few things that are strange about this:

Prior to calling verify access I am doing some sanity checks
1. Dispatcher is not null
2. It's hash code matches the Thread.CurrentThreads hash code
3. Dispatcher.Thread == Thread.CurrentThread evaluates true

4. Looking at the code from the 2.10 branch for dispatcher this doesn't
appear to be the error text that should be thrown so I assume something else
is going on here.


That seems to tell me that they are in fact the same thread and the
exception should NOT be thrown. Since the error message doesn't seem correct
I assume something else is going on here that I don't understand.


Any ideas?




-- 
Brad Cunningham
Microsoft MVP: C#

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


Re: [Mono-dev] Updated CentOS/RHEL packages?

2011-01-21 Thread Brad Cunningham
+1

We are using 2.8 on CentOS as well and would love to have a RPM install
version of 2.8 / 2.10

On Fri, Jan 21, 2011 at 8:41 AM, Arne Claassen ar...@mindtouch.com wrote:

 +1

 If someone can point me at the right resources on how you would go
 about building rpm's, I'd gladly take on the task. I just don't know
 where to begin and building from source on each new machine is getting
 old.

 Arne Claassen

 MindTouch
 San Diego, CA
 http://twitter.com/sdether

 On Jan 12, 2011, at 7:33 AM, chadwackerman wrote:

 
  What are the plans for ongoing CentOS/RHEL releases?
 
  Adding the repository for 2.6.x/stable was great (and greatly
  appreciated)
  but are there plans for the 2.8/2.10 releases?
 
  There are a half-dozen half-broken tutorials for building 2.8.x on
  CentOS/RHEL/Amazon's AMI at the moment so clearly there's demand.
 
  Regardless -- thanks for the great work, guys. Mono and PostgreSQL
  are the
  shining stars of well-managed open source projects from my
  perspective.
 
  --
  View this message in context:
 http://mono.1490590.n4.nabble.com/Updated-CentOS-RHEL-packages-tp3214197p3214197.html
  Sent from the Mono - Dev mailing list archive at Nabble.com.
  ___
  Mono-devel-list mailing list
  Mono-devel-list@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-devel-list

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




-- 
Brad Cunningham
Microsoft MVP: C#

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


Re: [Mono-dev] Trying to find source for DispatcherObject.cs

2011-01-14 Thread Brad Cunningham
Thank you. I am new to the mono source tree and still trying to find my way
around things.


I appreciate it.

On Thu, Jan 13, 2011 at 1:48 AM, Robert Jordan robe...@gmx.net wrote:

 On 12.01.2011 23:35, Brad Cunningham wrote:
  I am seeing a strange error in the DispatcherObject in 2.8.1 and I am
 having
  trouble finding the source code to confirm the error.
 
  For those interested my issue is this:
 
  I can confirm that my object is being constructed on the same thread that
  the VerifyAccess call is occurring. In both places, ctor and VerifyAccess
  call, I can confirm that the Dispatcher is null. I would assume when the
  Dispatcher is null that the verify access should do nothing and be fine,
  however I am getting an exception that the call to verify access is
  occurring on a different thread than the ctor occurred on.
 
  If someone could point me to where the source is for this class I would
  appreciate it.


 https://github.com/mono/mono/tree/master/mcs/class/WindowsBase/System.Windows.Threading

 Robert

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




-- 
Brad Cunningham
Microsoft MVP: C#

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


[Mono-dev] Trying to find source for DispatcherObject.cs

2011-01-12 Thread Brad Cunningham
I am seeing a strange error in the DispatcherObject in 2.8.1 and I am having
trouble finding the source code to confirm the error.

For those interested my issue is this:

I can confirm that my object is being constructed on the same thread that
the VerifyAccess call is occurring. In both places, ctor and VerifyAccess
call, I can confirm that the Dispatcher is null. I would assume when the
Dispatcher is null that the verify access should do nothing and be fine,
however I am getting an exception that the call to verify access is
occurring on a different thread than the ctor occurred on.

If someone could point me to where the source is for this class I would
appreciate it.


Thanks

-- 
Brad Cunningham
Microsoft MVP: C#

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