[Mono-list] Problem with libmod_mono.so

Brent Andrewsen BAndrewsen@novell.com
Wed, 30 Jun 2004 11:24:10 -0600


This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=__Part1736B82A.1__=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

afaik, mod_mono does not come in RPM format with the downloads from
go-mono.com. You'll need to compile and install from source. I've had
the most luck downloading directly from CVS:
 
Create a directory somewhere to keep the source, I usually use
/usr/local/src/mono, it doesn't matter. cd to that that directory, then
enter these commands:
 
export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
cvs login    (no password, just hit enter)
cvs -z3 co mod_mono    (This will check out the mod_mono source)
 
It sometimes takes a minute to start, if it just sits there for a
couple minutes I usually cancel and try again so it selects a separate
CVS server.
 
Once the download is complete, you will need to follow the instructions
in the INSTALL file in that directory (but use ./autogen.sh instead of
./configure)
 
You may also need to compile and install xsp the same way.
cvs -z3 co xsp
Brent
>>> <beniniva@csr.unibo.it> 6/30/2004 7:17:15 AM >>>

Hi,

I've Fedora Core 2 and Mono Beta3. I've downloaded all the rpm
packages
availability on http://www.go-mono.com/download.html.
I've been trying to get Asp.Net and Apache to work together whit
mod-mono but
I've some problems.

Apache config file:

AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config
LoadModule mod_module /usr/lib/httpd/modules/libmod_mono.so
MonoUnixSocket /tmp/mod_mono_server
Alias /mono "/usr/share/doc/xsp/test"

This is the error I got when I lunch "apachectl start":

Syntax error on line 201 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libmod_mono.so into server:
/usr/lib/httpd/modules/libmod_mono.so: cannot open shared object file:
No such
file or directory


Why I've not libmod_mono.so?


I also try to install mod_mono-0.11.tar.gz but..

[root@or2 mod_mono-0.11]# ./configure --prefix=/usr
.
.
creating libtool
checking if building mod_mono_old is requested... no
checking for --with-apxs... no
checking for --with-apr-config... not specified
checking for apxs2 in /usr/local/apache/sbin... no
checking for apxs in /usr/local/apache/sbin... no
checking for apr-config in /usr/local/apache/sbin... no
checking for apxs2 in /usr/local/apache2/bin... no
checking for apxs in /usr/local/apache2/bin... no
checking for apr-config in /usr/local/apache2/bin... no
checking for apxs2 in /usr/sbin... no
checking for apxs in /usr/sbin... no
checking for apr-config in /usr/sbin... no
checking for apxs2... no
checking for apxs... no
configure: error: **** apxs was not found, DSO compilation will not be
available


Could anybody help me?

Thanks,

Valentina.
    
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


--=__Part1736B82A.1__=
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"=
>
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>afaik, mod_mono does not come in RPM format with the downloads from =
go-mono.com. You'll need to compile and install from source. I've had the =
most luck downloading directly from CVS:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Create a directory somewhere to keep the source, I usually use =
/usr/local/src/mono, it doesn't matter. cd to that that directory, then =
enter these commands:</DIV>
<DIV>&nbsp;</DIV>
<DIV>export CVSROOT=3D:pserver:anonymous@anoncvs.go-mono.com:/mono</DIV>
<DIV>cvs login&nbsp;&nbsp;&nbsp; (no password, just hit enter)<BR>cvs -z3 =
co mod_mono&nbsp;&nbsp;&nbsp; (This will check out the mod_mono source)</DI=
V>
<DIV>&nbsp;</DIV>
<DIV>It sometimes takes a minute to start, if it just sits there for a =
couple minutes I usually cancel and try again so it selects a separate CVS =
server.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Once the download is complete, you will need to follow the instruction=
s in the INSTALL file in that directory (but use ./autogen.sh instead of =
./configure)</DIV>
<DIV>&nbsp;</DIV>
<DIV>You may also need to compile and install xsp the same way.</DIV>
<DIV>cvs -z3 co xsp</DIV>
<DIV>Brent<BR>&gt;&gt;&gt; &lt;beniniva@csr.unibo.it&gt; 6/30/2004 7:17:15 =
AM &gt;&gt;&gt;<BR></DIV>
<DIV style=3D"COLOR: #000000">Hi,<BR><BR>I've Fedora Core 2 and Mono =
Beta3. I've downloaded all the rpm packages<BR>availability on <A =
href=3D"http://www.go-mono.com/download.html.">http://www.go-mono.com/downl=
oad.html.</A><BR>I've been trying to get Asp.Net and Apache to work =
together whit mod-mono but<BR>I've some problems.<BR><BR>Apache config =
file:<BR><BR>AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax =
.config<BR>LoadModule mod_module /usr/lib/httpd/modules/libmod_mono.so<BR>M=
onoUnixSocket /tmp/mod_mono_server<BR>Alias /mono "/usr/share/doc/xsp/test"=
<BR><BR>This is the error I got when I lunch "apachectl start":<BR><BR>Synt=
ax error on line 201 of /etc/httpd/conf/httpd.conf:<BR>Cannot load =
/usr/lib/httpd/modules/libmod_mono.so into server:<BR>/usr/lib/httpd/module=
s/libmod_mono.so: cannot open shared object file: No such<BR>file or =
directory<BR><BR><BR>Why I've not libmod_mono.so?<BR><BR><BR>I also try to =
install mod_mono-0.11.tar.gz but..<BR><BR>[root@or2 mod_mono-0.11]# =
./configure --prefix=3D/usr<BR>.<BR>.<BR>creating libtool<BR>checking if =
building mod_mono_old is requested... no<BR>checking for --with-apxs... =
no<BR>checking for --with-apr-config... not specified<BR>checking for =
apxs2 in /usr/local/apache/sbin... no<BR>checking for apxs in /usr/local/ap=
ache/sbin... no<BR>checking for apr-config in /usr/local/apache/sbin... =
no<BR>checking for apxs2 in /usr/local/apache2/bin... no<BR>checking for =
apxs in /usr/local/apache2/bin... no<BR>checking for apr-config in =
/usr/local/apache2/bin... no<BR>checking for apxs2 in /usr/sbin... =
no<BR>checking for apxs in /usr/sbin... no<BR>checking for apr-config in =
/usr/sbin... no<BR>checking for apxs2... no<BR>checking for apxs... =
no<BR>configure: error: **** apxs was not found, DSO compilation will not =
be<BR>available<BR><BR><BR>Could anybody help me?<BR><BR>Thanks,<BR><BR>Val=
entina.<BR>&nbsp;&nbsp;&nbsp; <BR>_________________________________________=
______<BR>Mono-list maillist&nbsp; -&nbsp; Mono-list@lists.ximian.com<BR><A=
 href=3D"http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.x=
imian.com/mailman/listinfo/mono-list</A><BR></DIV></BODY></HTML>

--=__Part1736B82A.1__=--