[Mono-list] mod_mono on Fedora Core 5
paul at all-the-johnsons.co.uk
Sun Apr 2 12:54:43 EDT 2006
> I’ve recently installed Fedora Core 5 with all the built in Mono
> packages, but I can’t find any documentation on how to get it running
> on Apache (ASP.NET), or any other web server for that sake. So, the
> main problem here is that I can’t find the binaries to run mono nor
> the compiled mod_mono.so to put in httpd.conf. Where are they?
mod_mono and xsp have not yet been built for FC5. They are on my list,
but at the moment, I need to get another box running with Core rather
than rawhide on.
The binaries for mono are in /usr/bin with gac and libs
in /usr/lib/mono and headers I think are in /usr/include/mono (in
other words, where they normally are!)
type which mono and it should say /usr/bin/mono.
When you say you can't get *any* webserver to run, does that include
Apache itself? If you point your browser at http://127.0.0.1 do you get
the default Apache page or nothing? If you are getting nothing, you
either don't have Apache installed (it's called httpd and httpd-devel
for FC) or it's not running (F->desktop->administration->server
settings->services to get to the config and ensure httpd is clicked and
then click on start. Apache will now always fire up when you start your
> Also, I’ve tried installing all the RPMs for Fedora 4 from
> mono-project.com which installs fine, but when firing up httpd I get
> “Starting httpd: httpd: Syntax error on line 209
> of /etc/httpd/conf/httpd.conf: Syntax error on line 8
> of /etc/httpd/conf.d/mod_mono.conf: Cannot
> load /usr/lib/httpd/modules/mod_mono.so into
> server: /usr/lib/httpd/modules/mod_mono.so: undefined symbol:
Yep. Things have moved on between FC4 and FC5 with the version of Apache
> However, using the RPMs for Fedora 4 doesn’t feel quite right when I
> know Mono is supposed to be built-in to the core of Fedora 5.
No. Key parts of the mono framework are built to FC5. Quite a bit isn't,
which is where FC-extras comes in. I'm currently waiting on approval for
5 mono packages to be included into extras (including MonoDevelop), and
as soon as they're happy, I'll do xsp and mod_mono.
> Can someone explain what I am missing here?
I would do the following
1. Open a terminal window
2. rpm -qa mono*
3. rpm -qa httpd*
Make sure mono & mono-devel, httpd & httpd-devel are all installed. If
3b. yum -y install mono-devel httpd-devel
4. Remove the FC-4 rpms you've installed
5. Check apache is running (start firefox, type http://127.0.0.1 and
ensure the default Apache config page is there)
6. Grab the sources for mod_mono and xsp from
8. cd mod_mono; ./configure; make; su; make install
9. Do the same for xsp
10. Follow the docs supplied in the mod_mono directory.
Any other problems, just ask :-)
"ein zu starker starker Anblick kann Sie toten. Sie gegen gerade uber
den Rand mit dem festen Wissen des Wege vor Ihnen" - Linus Tordvals
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20060402/68ffd739/attachment.bin
More information about the Mono-list