Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# bolo 2/15/2008 8:20 PM
Hi Martjin and everybody,

After some little modifications i have been able to run cuyahoga on mono. My test system have been Debian linux etch with mono 1.2.6 binary distribution, xsp2 as web server and MySQL as database.

The modificactions are pretty much the same as the described in the bugreport i send to jira some time ago :

http://tijnthuus.demon.nl:8080/jira/browse/CUY-138


Anyway with Cuyahoga 1.5.1 it is even easier :

1- It seems that mono does not find Castle.Services.Transaction.dll and it must be registered in the GAC to fix the problem :

gacutil -i Castle.Services.Transaction.dll


2- line 46 on Web/HttpHandlers/PageHandler.cs should be changed to :

IHttpHandler handler = PageParser.GetCompiledPageInstance(aspxPagePath, context.Server.MapPath(aspxPagePath), context);


3- Change Web/UI/BasePageControl.cs. Change line 18 to :

protected System.Web.UI.HtmlControls.HtmlGenericControl CssStyleSheet = new System.Web.UI.HtmlControls.HtmlGenericControl();


I have installed the demo system throught the wizard without any problem. I have used MySQL as database.


Martijn, let me know if you can make Cuyahoga to work on your mono instalation after aplying these changes.


Keep up the good work ;)


# martijnb 2/16/2008 2:02 AM
That sounds really good!

I'll give it a shot on a decent Mono 1.2.6 installation.

Thanks!
# martijnb 2/20/2008 12:21 AM
A little update:

With the changes you mentioned, I got Cuyahoga working on a fresh Mono-1.2.6 install. :)

I think the issue with Castle.Services.Transaction has to do with the version number. The dll has 1.0.3.1433 but Mono is looking for 1.0.3.0. Probably the AutomaticTransaction facility is linked to a different version or something... I tried an assembly redirect but that didn't work, so I just moved it into the GAC and it worked. Still bugs me a little though because I hate putting stuff in the GAC.

I also found another interesting issue: the modules that use pathinfo parameters don't work properly with the default .aspx mapping. I had to change the mapping of the Cuyahoga httphandler to *.aspx* to make it work.

The changes are now in the 1.5.x branch on SVN and we'll probably release a new version in the next days.

Bolo, thanks for pointing us into the right direction!
# bolo 2/21/2008 9:04 PM (edited 2/21/2008 9:07 PM)
martijnbA little update:

With the changes you mentioned, I got Cuyahoga working on a fresh Mono-1.2.6 install. :)

That is really great!!
martijnbI think the issue with Castle.Services.Transaction has to do with the version number. The dll has 1.0.3.1433 but Mono is looking for 1.0.3.0. Probably the AutomaticTransaction facility is linked to a different version or something... I tried an assembly redirect but that didn't work, so I just moved it into the GAC and it worked. Still bugs me a little though because I hate putting stuff in the GAC.

Yes, i think also is a simple versión number mismatch between the Assembly Version field (1.0.3.0) and Product Version field (1.0.3.4333) in the castle dlls. They should be equal, MS .NET does not complain but mono do. Castle 1.0.3 final should have this fixed.

martijnbI also found another interesting issue: the modules that use pathinfo parameters don't work properly with the default .aspx mapping. I had to change the mapping of the Cuyahoga httphandler to *.aspx* to make it work.

The changes are now in the 1.5.x branch on SVN and we'll probably release a new version in the next days.

Bolo, thanks for pointing us into the right direction!

I forgot to mention the mapping issue, sorry. I have been running a modified cuyahoga 1.5.0 versión on mono for a while i have this fix included. There are also a few more issues that should be fixed. I am really busy right now but i promise to make a patch against 1.5.2 version in a couple of weeks.
martijnbBolo, thanks for pointing us into the right direction!

It has been a real pleasure. I love to see official cuyahoga package running on mono again.

I have also developed some modules i would like to share :

- Video module. Upload videos, transcode them to flv and make playlists with video thumbnails. It uses ffmpeg internally.

- Google maps module. You can embed google maps in cuyahoga, place markers, descriptions, etc.

I will ping the forum when everything is ready for release.

Thanks,