mono-2.x インストール
mono
wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.10.2.tar.bz2
./configure --prefix=$HOME/opt/mono
make
make install
xsp
wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.10.2.tar.bz2
PKG_CONFIG_PATH=$HOME/opt/mono/lib/pkgconfig ./configure --prefix=$HOME/opt/mono
make
make install
libgdiplus
wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.10.tar.bz2
./configure --prefix=$HOME/opt/mono
make
make install
確認
ASPXファイルを作る
cat > index.aspx
<%@ Page Language="C#" %>
<html>
<head>
<title>Sample Calendar</title>
</head>
<asp:calendar showtitle="true" runat="server">
</asp:calendar>
サーバ起動
LD_LIBRARY_PATH=$HOME/opt/mono/lib xsp2
動作確認
w3m http://localhost:8080/index.aspx
参考