DLR for .NET and Mono?

Sep 3, 2010 at 4:30 PM

My goal: I would like to have DLR .dll's and .exe's for IronPython and IronRuby which will work on Mono and .NET.

Problem: I can't seem to build these myself, in VS2010 Express, nor in Mono.

If someone has binaries (both exe and dll) for the DLR under 3.5, please send me a link. (I'm think that 3.5 versions will work under Mono 2.4 or 2.6, but if you know otherwise, please stop me now).

Else, if someone could walk me through the process of building the DLR for NET 3.5 (or the appropriate version that will work under Mono), that would be great!

Things I have tried in VS2010 Express:

1) Changed the platform for each project in the Solution file from 4.0 to 3.5

2) Changed the defined variables from CLR4 to CLR2

3) Removed 4.0 versions of System, mscorlib, and System.Numerics from each project, and added System of 3.5.

This got me down to only 22,212 errors, so I think I'm still a ways off :(

Thanks for any hints,

-Doug

Sep 3, 2010 at 4:55 PM
Hi folks,

I've been pretty swamped with moving and contract work. We have some builds available. They're not terribly recent. We even have them in Debian squeeze/sid and Ubuntu Lucid+.

http://ironruby.colliertech.org/ironruby/
http://packages.debian.org/source/squeeze/dlr-languages
http://packages.ubuntu.com/source/lucid/dlr-languages

I really do intend to get a recent version packaged up, but I haven't had any free time recently. If anyone wants to fund work on it during Q4 2010, I can dedicate some time to the project. Otherwise, it will have to be on an as-time-permits schedule.

Cheers,

C.J.

On Fri, 2010-09-03 at 08:30 -0700, dsblank wrote:
From: dsblank

My goal: I would like to have DLR .dll's and .exe's for IronPython and IronRuby which will work on Mono and .NET.

Problem: I can't seem to build these myself, in VS2010 Express, nor in Mono.

If someone has binaries (both exe and dll) for the DLR under 3.5, please send me a link. (I'm think that 3.5 versions will work under Mono 2.4 or 2.6, but if you know otherwise, please stop me now).

Else, if someone could walk me through the process of building the DLR for NET 3.5 (or the appropriate version that will work under Mono), that would be great!

Things I have tried in VS2010 Express:

1) Changed the platform for each project in the Solution file from 4.0 to 3.5

2) Changed the defined variables from CLR4 to CLR2

3) Removed 4.0 versions of System, mscorlib, and System.Numerics from each project, and added System of 3.5.

This got me down to only 22,212 errors, so I think I'm still a ways off :(

Thanks for any hints,

-Doug


Read the full discussion online.

To add a post to this discussion, reply to this email (dlr@discussions.codeplex.com)

To start a new discussion for this project, email dlr@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com



Sep 3, 2010 at 6:01 PM
cjac wrote:
Hi folks,

I've been pretty swamped with moving and contract work. We have some builds available. They're not terribly recent. We even have them in Debian squeeze/sid and Ubuntu Lucid+.

http://ironruby.colliertech.org/ironruby/
http://packages.debian.org/source/squeeze/dlr-languages
http://packages.ubuntu.com/source/lucid/dlr-languages

I really do intend to get a recent version packaged up, but I haven't had any free time recently. If anyone wants to fund work on it during Q4 2010, I can dedicate some time to the project. Otherwise, it will have to be on an as-time-permits schedule.

Cheers,

C.J.

CJ,

Thanks for the pointers! We don't have a lot of money (educational project funded by National Science Foundation) but I will see if we can put something together.

In the mean time, it would be great if I could get a bit more documentation on your ubuntu build environment. I see that I need rake, rubygems, and "gem install pathname2" but haven't been able to get your files to build. What version of rake/ruby do I need? Is it just a matter of issuing "./build" in your directory?

These builds appear to be for the DLR 0.9. It would be excellent to create a set for 1.0. 

I'm more than willing to help bring everything up to date, and chase down issues.

-Doug

Sep 3, 2010 at 8:50 PM
On Fri, 2010-09-03 at 10:01 -0700, dsblank wrote:
From: dsblank

cjac wrote:
Hi folks,

I've been pretty swamped with moving and contract work. We have some builds available. They're not terribly recent. We even have them in Debian squeeze/sid and Ubuntu Lucid+.

http://ironruby.colliertech.org/ironruby/
http://packages.debian.org/source/squeeze/dlr-languages
http://packages.ubuntu.com/source/lucid/dlr-languages

I really do intend to get a recent version packaged up, but I haven't had any free time recently. If anyone wants to fund work on it during Q4 2010, I can dedicate some time to the project. Otherwise, it will have to be on an as-time-permits schedule.

Cheers,

C.J.



Hi Doug,

CJ,

Thanks for the pointers! We don't have a lot of money (educational project funded by National Science Foundation) but I will see if we can put something together.

Much appreciated. We can get you our LLC's tax ID and other federal and state documentation if anything comes together.

In the mean time, it would be great if I could get a bit more documentation on your ubuntu build environment. I see that I need rake, rubygems, and "gem install pathname2" but haven't been able to get your files to build. What version of rake/ruby do I need? Is it just a matter of issuing "./build" in your directory?

I was annoyed by the complexity of the rake build system, so we worked with Ankit to get xbuild working with IronRuby & IronPython. The build is relatively simple. The Makefile target is here:

http://git.debian.org/?p=pkg-cli-libs/packages/dlr-languages.git;a=blob;f=debian/rules;h=2caee087dc8ccb1786b185bf72bd36ba72c0fe77;hb=1287d5be7e5ebbf0b2a46388166f64a62f26b4f3#l23

override_dh_auto_build: $(QUILT_STAMPFN) debian/irake.1
	for configuration in Debug;\
	do \
		for sln in Merlin/Main/Languages/Ruby/Ruby.sln \
			   Merlin/Main/Languages/IronPython/IronPython.sln ;\
		do \
			xbuild /p:TreatWarningsAsErrors=false \
			       /p:Configuration=$$configuration \
			       $$sln ;\
		done ;\
	done


These builds appear to be for the DLR 0.9. It would be excellent to create a set for 1.0.
Ivan has gotten 1.0 working, but I have not gotten the patches into Debian yet. He may be able to help you get things going. I know he has a branch on github:

http://github.com/casualjim/ironruby

I'm more than willing to help bring everything up to date, and chase down issues.
Great. We usually do collaboration over on irc.oftc.net #debian-cli and irc.freenode.net #ironruby in case you have an IRC client. The process for getting commit rights to the debian git repo is a little daunting, but since we have a pretty long history of working together, I think I can safely vouch for you.

-Doug

Cheers,

C.J.



Sep 3, 2010 at 10:14 PM

Thanks for this info and offers, C.J.!

Just a short update for now: combining your IronPython builds (from http://ironruby.colliertech.org/ironruby/) with parts of Fepy (IPCE) and parts of the standard CPython 2.6, I think we have most of what we need for the time being. But we should all work together to bring these bits into one package for all of the distributions and peoples of the world :)

Hopefully at the end of a productive 3-day weekend, I'll have something interesting to share.

-Doug