October 15, 2005
Mono:FreeBSD (BSD#)
This is awesome.
The BSD# Project is devoted to porting and maintaining the Mono .NET framework for FreeBSD. The Mono framework consists of not only the Mono Runtime environment and compiler but the XSP web server for handling ASP.NET applications, the IKVM Java virtual machine for handling Java within the framework, and numerous data providers to provide common library functions in C# or integration with existing C libraries.
The BSD# project is hosted on Novell Forge (http://forge.novell.com). The project's CVS repository (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/bsd-sharp/) currently contains FreeBSD ports for all Mono packages released by Novell. It also includes ports for applications and libraries from third parties as well with the intent that they be integrated into the standard FreeBSD ports tree. The project aims to act as a central testing point for porting new releases from Novell, for introducing new applications, and for testing framework wide changes that will affect all applications that rely on Mono before they reach the FreeBSD ports tree.
Posted by 0xFF3300 at 04:04 PM | Comments (0) | TrackBack
August 27, 2004
Mono XSP 1.0 on FreeBSD
Looks like there are still plenty of problems with getting xsp-1.0 server running on FreeBSD. I don't know of many that have success geting the xsp server up and running.
Problem Report ports/69771
I can not compile xsp server to serve aspx pages with mono
"Well, as the lang/mono and x11-toolkits/gtk-sharp maintainer, there are a few things that need to happen before this is going to work.
1) get lang/mono working stablely on both -STABLE and -CURRENT (right now it works acceptably--even for development work--only on CURRENT)
2) port mod_mono and all it's dependencies;
3) get libgc (aka boehm-gc) working smoothly on both -STABLE and -CURRENT (we're not there yet); [THIS ONE IS CRITICAL!!!]"
Posted by 0xFF3300 at 09:55 PM | Comments (0) | TrackBack
June 03, 2004
Mono on FreeBSD, not for the Faint Hearted
Well, folks we have come a long way, Mono is becoming more stable as it approaches the final release. Beta 2 has been released, but due to the recent resignation of the FreeBSD Mono port maintainer, I'm not really sure when I will get ahold of it. I can honestly say I understand his frustration and could see where he is coming from. If we take a look at the log entries for the FreeBSD Mono port it, I think it shares it's own diary of 'progress'. Let's face this it a huge piece of software that will have problems and still need a lot of help. It's challenging, and sometimes rewarding when you have the time. Otherwise I may just have to wait. Marcus, thank you for all your work and dedication, it wasn't easy!Resign maintainership to ports@. gnome@ hasn't been that active in maintaining this, and there are some non-trivial GC problems to overcome. Hopefully someone will step up with a passion for .NET.
Chase the glib20 update, and bump all affected ports' PORTREVISIONs.
Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".
For ports-in-waiting:
USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13
USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213
USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14
Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
Posted by 0xFF3300 at 09:06 PM | Comments (0) | TrackBack
June 01, 2004
Mono 0.30.1.1 on FreeBSD
I am currently testing the Mono 0.31.1 port on FreeBSD 4.61. So far no installation problems; we'll see if I can get the XSP server up and running.
Posted by 0xFF3300 at 07:16 AM | Comments (0) | TrackBack
April 08, 2004
Mono Mac OS X PPC Support: I Give Up...
I am reposting this message because from time-to-time, I have felt the same frustration with Mono on my FreeBSD system. It seems they have centrally focused on running Mono on a single platform. It's really too bad, I feel they have left many non-Linux people out in the cold.
Griffin writes:
...Mono support for Mac OS X/ PPC is fragile at best. I even tried to put together a page
on the basic steps [0] but I have all but given up trying to maintain that page. This is
because mono not reliable from day to day, release to release, on the PPC / Mac OS X platform.
I am not saying that running off the CVS tree is the most stable way to work, but this goes for the releases also. 0.29 worked on the PPC, 0.30 didn't without some major hacking. 0.31 doesn't work reliably, either.
Some of the steps I have taken to compile mono include:
What's worse, is that when I encounter errors, i receive almost no help on the mailing lists. Some of these are not doubt strange errors, and some are very common, but my posts go unanswered either way.
I haven't even gotten to gtk#...
Segmentation faults, bus errors, frozen compiles, etc.... The list goes on and on. I hope to come back to mono in a few months, when/if PPC support is better. But for now, I feel that it's a lost cause.
[0] http://homepage.mac.com/griffincaprio/mono/RunningMonoOnMacOSX.html
Posted by 0xFF3300 at 12:05 PM | Comments (1) | TrackBack
February 25, 2004
Mono Team Meeting, March 5-6 in Cambridge Mass
On March 5th-6th (Friday and Saturday) there will be an
open-house meeting for people interested in Mono to get
together with the Mono developers at the Novell offices in
in Cambridge Massachusetts:
http://www.ximian.com/about_us/contact
The whole Novell Mono team will be here (Atsushi Enomoto, Dick
Porter, Duncan Mak, Erik Dasque, Gonzalo Paniagua, Jackson
Harper, Jordi Mas, Lluis Sanches, Manjula, Martin Baulig,
Miguel de Icaza, Mike Kestner, Paolo Molaro, Peter Bartok,
Sebastien Pouliot, Sachin Kumar) and hopefully Joe Shaw, Nat
Friedman, Peter Williams and Ravi Pratap will be joining us as
well.
Todd Berman from Mono Develop will also be coming.
Posted by 0xFF3300 at 05:07 PM | Comments (0) | TrackBack
January 22, 2004
Mono 0.30 Preview Release Available
The first preview in a series for the Mono 0.30 release is available
here:
http://www.go-mono.com/preview/mono-0.30.tar.gz
http://www.go-mono.com/preview/mcs-0.30.tar.gz
We are just looking for obvious problems and mistakes that might be
in there. We are hoping to make a release early next week. Please
report any compilation problems in your platform.
Posted by 0xFF3300 at 01:27 PM | Comments (1) | TrackBack
January 17, 2004
mod_mono INSTALL
Daniel Lopez Ridruejo
http://www.apacheworld.org
The following are instructions for getting mod_mono working with Apache 2
and serving ASP.NET pages. This was developed in Red Hat 8.0,
using the Mono version from CVS, but it should work in any Unix platform
that Apache and Mono support. If you get to work in one of these platforms,
or Windows, please let me know, or even better send patches.
It has also been compiled and tested in Slackware 7.0 (thanks John Barbee)
The steps are as follow:
- Install mono
- Install Apache 2 with loadable module support
- Build mod_mono and ModMono.dll (or download the binaries)
- Configure Apache
- Install XSP from the Mono CVS repository
- Configure Apache
- Test the examples
There's also a section about using mod_mono with the Apache 2 that comes
with your Linux distribution. Finally, if you are using Red Hat 8.0
there's an appendix covering this platform.
mod_mono is still in its infancy and Mono is a moving target, there's still a lot to be done!
If you have suggestions, bugs or patches you can reach me at daniel @ rawbyte.com
It may take me a bit, but I try to reply to all mod_mono related email
INSTALLING FROM SOURCE
======================
1. Install Mono
For instructions, go to http://www.go-mono.com
2. Install Apache 2, with loadable module support
Go to http://www.apache.org and download Apache 2,
the filename will be something like httpd-2.0.43.tar.gz
Unpack it :
tar xvfz httpd-2.0.43.tar.gz
cd httpd-2.0.43
./configure --prefix=/home/username/apache2 --enable-so
make
make install
3. Building and installing mod_mono
Go to http://www.apacheworld.org/modmono/ and download mod_mono
(although if you are reading this you probably already did it)
tar xvfz mod_mono*.tgz
cd mod_mono*
./configure --with-apxs=/home/username/apache2/bin/apxs
make
make install
If everything goes well, you will have the following library:
/home/user/mono/mod_mono/src/.libs/libmod_mono.so
Mono needs to be correctly installed for building mod_mono, this means among other things
that pkgconfig is accessible and knows about mono (that is 'pkgconfig --cflags mono' returns
something meaningful)
NOTE:
If you installed Mono form CVS in a non standard location, you can use --with-crosspkgdir
For example: I use the following line to build:
PKG_CONFIG_PATH=/home/user/mono/install/lib/pkgconfig/ ./configure --with-apxs=/home/user/mono/install/apache2/bin/apxs --with-crosspkgdir=/home/user/mono/install/lib/pkgconfig
If it complains about config.h, copy the config.h in the mono/ directory to /home/user/mono/install/include
It will tell you about duplication, but it will compile. This should have been fixed as of Mono 0.18
4. Building ModMono.dll
The ModMono.cs file is located in the src/ directory
This is the command to build ModMono.dll:
make -f makedll.mak
INSTALLING BINARIES
========================
o Go to http://www.apacheworld.org/modmono and download the mod_mono binaries.
Currently the binary files are libmodmono.so (for Red Hat 8.0 on Intel) and ModMono.dll
USING THE APACHE 2 THAT COMES WITH YOUR DISTRIBUTION
====================================================
Newer versions of Linux distributions, such as Red Hat 8.0 come with Apache 2.
You can use this Apache: for that you need to install the apxs tool, which
is usually included in the Apache dev rpm. For example, in the case of Red Hat 8.0,
you need the following dev package installed: httpd-devel-2.0.40-8.i386.rpm
You can then build mod_mono as explained previously using
./configure --with-apxs=/usr/sbin/apxs
Red Hat 8.0 is so common that I have included a section at the end with step by
step instructions for this platform.
ASP.NET support
===============
You need the XSP package, currently available in the Mono CVs. GO to
http://www.go-mono.com for instructions on how to download and install
the package. The rest of this document assumes it is installed in
/home/user/mono/install/xsp/
cd /home/user/mono/install/xsp/
make
make install
Now in /home/user/mono/install/xsp/server/test you have a directory with ASP pages
CONFIGURING APACHE
==================
Copy the file /home/user/mono/mod_mono/src/.libs/libmod_mono.so to /home/user/mono/install/apache2/lib/
Copy ModMono.dll to a place where the Mono runtime will find it, usually this means /usr/lib/ or wherever the
rest of assemblies are located.
Edit /home/user/mono/install/apache2/conf/httpd.conf :
Listen 8080
LoadModule mono_module /home/user/mono/install/apache2/lib/libmod_mono.so
MonoApplication /mono /home/user/mono/install/xsp/server/test
The MonoApplication directive takes two arguments. The first one is the virtual path, which is part
of the URL used to access your application. The second one is the physical path, the directory
where the application resides. In this case is the directory containing the XSP test pages.
Only one MonoApplication directive is currently allowed.
NOTE: If a machine.config is not installed in your path, which normally occurs during Mono installation,
you may need to create a ModMono.exe.config. This file needs to be placed in the application base dir, in this case
/home/user/mono/install/xsp/server/test/
You can find an example for the contents of this file in the data/machine.config subdirectory of the Mono distribution.
You can now start Apache with
/home/user/mono/install/apache2/bin/apachectl start
TESTING THE EXAMPLES
====================
Point your web browser to
http://127.0.0.1:8080/mono/index.aspx
and you should get the example index.
If you get a Internal Server Error page instead, take a look at
/home/user/mono/install/apache2/logs/error_log
for indications of what may have gone wrong
APPENDIX: RED HAT 8.0
=====================
a) Install Mono
Install the Mono rpms from
http://www.go-mono.com/download.html
b) Install Apache
Make sure the followings rpms are installed
httpd-2.0.40-8.i386.rpm
httpd-devel-2.0.40-8.i386.rpm
You can find a copy of them at
http://www.rpmfind.net/linux/RPM/redhat/8.0/i386/httpd-2.0.40-8.i386.html
http://www.rpmfind.net//linux/RPM/redhat/8.0/i386/httpd-devel-2.0.40-8.i386.html
To install them:
rpm -i httpd-2.0.40-8.i386.rpm httpd-devel-2.0.40-8.i386.rpm
c) mod_mono
Follow the instructions at http://www.go-mono.com/anoncvs.html,
which is as follows:
export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
cvs login
cvs -z3 co mod_mono
Now cd into the mod_mono directory
./autogen.sh --with-apxs=/usr/sbin/apxs
make
make install
You need to become root (use the 'su' command) to do make install,
as it will try to copy mod_mono.so to the /usr/lib/httpd/modules/
directory
To build ModMono.dll, cd into mod_mono/src and type
make -f makedll.make
cp ModMono.dll /usr/lib/ModMono.dll
d) XSP server pages
Follow the general instructions explained earlier in the document
You need to make sure the directory where the aspx files are is writable by
the user Apache will be running as:
chown -R apache.apache /home/user/mono/install/xsp/server/test
e) Configure Apache
Edit the /etc/httpd/conf/httpd.conf file and add the following:
LoadModule mono_module mod_mono.so
MonoApplication /mono /home/user/mono/install/xsp/server/test
The following is a temporary hack, will not be necessary in the future:
mkdir /var/www/.wapi/
chown apache.apache /var/www/.wapi
chmod 700 /var/www/.wapi
f) Start apache
As root, type:
/etc/init.d/httpd start
g) Browse the examples
http://127.0.0.1/mono/index.aspx
If you find any problems, take a look at
/var/log/httpd/error_log and also read the
FAQ.txt document included with mod_mono
Posted by 0xFF3300 at 08:09 PM | Comments (0) | TrackBack
January 16, 2004
XSP Server Install Errors
When installing the mono XSP server I get the following error:
su-2.05b# make
Making all in doc
Making all in server
Unknown modifier ','
/usr/local/bin/mcs -debug+ -debug:full -nologo ) /out:xsp.exe
Syntax error: ")" unexpected
*** Error code 2
Stop in /root/mono-install/xsp-0.8/server.
*** Error code 1
Stop in /root/mono-install/xsp-0.8.
su-2.05b#
The fix is to use gmake instead of make. Yeah!
Posted by 0xFF3300 at 08:32 PM | Comments (3) | TrackBack
January 15, 2004
MONO_PATH Environment Variables
Chris says:
I'm trying to do an install of the new monodoc-0.9 and keep getting some sort of dependency error. I do the following:
1. ./configure
2. make -> and it blows up here.
I've tried to figure this out on my own for several hours now and to my
ability it looks like everything is in the right places.
Any help is appreciated.
The message become error message and spit out this:
error CS0006: Cannot find assembly `gtkhtml-sharp.dll'
Log:
error CS0006: Cannot find assembly `gtk-sharp.dll'
Log:
error CS0006: Cannot find assembly `glade-sharp.dll'
Log:
error CS0006: Cannot find assembly `glib-sharp.dll'
Log:
error CS0006: Cannot find assembly `pango-sharp.dll'
Log:
error CS0006: Cannot find assembly `gdk-sharp.dll'
Log:
error CS0006: Cannot find assembly `atk-sharp.dll'
Log:
Compilation failed: 7 error(s), 0 warnings
make[1]: *** [browser.exe] Error 1
make[1]: Leaving directory `/usr/src/monodoc-0.9/browser'
make: *** [all-recursive] Error 1
This should solve the problem:
export MONO_PATH=/usr/lib
and if that fails:
export MONO_PATH=/usr/lib:/usr/local/:lib
The key being you have to export environment variables. That's it.
Posted by 0xFF3300 at 05:22 PM | Comments (1) | TrackBack
January 05, 2004
Mono 0.29, MonoDoc 0.8, XSP 0.8 and mod_mono 0.6 Released
I think I'm about a week behind here, but Miguel and the folks Ximian have released Mono 0.29. I have just successfully installed the latest FreeBSD port without a hitch. Yes there were major problems with the previous port versions, but they're all better now. Life is better with a good port maintainer. Thanks gnome_at_FreeBSD.org!
There is big breaking news: Mono JIT on PowerPC runs Hello World, ASP.NET is feature complete, AppDomain unloading is supported and 64-bit ports of HPPA and SPARCv9 are available now. A new group of developers from Mainsoft has been contributing extensively to ADO.NET and ASP.NET.
This release includes four components at once: the Runtime and Software Development Kit as well as the Documentation browser, our XSP web host for ASP.NET and the Mono/Apache module have been released. Packages for various distributions are also available from our download page.
A big push in this release has been to get closer to completion on the .NET 1.0 and .NET 1.1 APIs and completing pieces that we need for the Mono 1.0 release. But at the same time work continues within the safety of #ifdefs on Mono 1.1 features (integrating .NET 1.2 components).
Posted by 0xFF3300 at 07:46 PM | Comments (0)
January 02, 2004
Compiling Mono 0.29
To get a functional Mono, the only piece you need to compile is `mono-0.29.tar.gz', the setup is very simple:
wget http://www.go-mono.com/archive/mono-0.29.tar.gz
tar xzvf mono-0.29.tar.gz
cd mono-0.29
./configure
make
make install
That is all you have to do.
Windows.Forms in Mono 0.29 is sadly broken (it is described on the
release notes for version 0.29). It is getting fixed, but it is not
yet ready, you will have to wait for that to actually work.
Posted by 0xFF3300 at 09:27 AM | Comments (0)