[原创]Ubuntu5.10下Apache2 + Mono + xsp + mod_mono跑Asp.Net的安装手记

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
freewolf
帖子: 16
注册时间: 2006-02-07 23:40

[原创]Ubuntu5.10下Apache2 + Mono + xsp + mod_mono跑Asp.Net的安装手记

#1

帖子 freewolf » 2006-02-17 16:16

前一些天刚刚换到Ubuntu这个系统
感觉挺好的
前些天把apache mysql php phpmyadmin都搞好了
在下面地址可以找到
viewtopic.php?t=9800

一直想在Linux上搭建一个Free的.Net平台~
跑ASP.Net
经过2天的折腾终于搞定了
下面来说说
首先 如果你是按照我的上面提到的帖子安装的apache2
很对不起 那你还得apt-get remove apache2先卸载这个玩意
因为这个apt-get的版本不支持Dynamic Shared Objects (DSO)
如果你装mod_mono的时候告诉你
configure: error: **** apxs was not found,DSO compilation will not be available.
就是这个问题
至少我从台湾的source行得到的这个deb的版本不行
从apache的网站下载源代码自己编译吧
我们先作一下编译前的准备
需要安装一些编译用的工具(因为我是server模式的Ubuntu)

代码: 全选

apt-get install gcc
apt-get install make
apt-get install libc6-dev
apt-get install libglib2.0-0
下面我们下载apache2.0最新的source 然后开始编译源代码进行安装

代码: 全选

wget http://apache.justdn.org/httpd/httpd-2.0.55.tar.gz
tar xvzf httpd-2.0.55.tar.gz
cd httpd-2.0.55
./configure --enable-so
make
make install
这样就ok了
安装的位置在 /usr/local/apache2
我们启动apache2

代码: 全选

/usr/local/apache2/bin/apachectl start
启动了 说明没问题 (如果不行要在配置文件中取消ServerName的注释)

下面我们下载mono的组建
我开始用的bin进行安装 反正折腾了n小时没成功
看到mono论坛里也有人这个问题 推荐使用
源代码老老实实编译
那么我们就下载源代码老老实实编译

代码: 全选

wget http://go-mono.com/sources/mono-1.1/mono-1.1.13.2.tar.gz
wget http://go-mono.com/sources/xsp/xsp-1.1.13.tar.gz
wget http://go-mono.com/sources/mod_mono/mod_mono-1.1.13.tar.gz
这是最新的stable版 不建议下载unstable的版本 我下载编译不成功 说一些组建已经过期 无法完成编译 还浪费很多时间

下载完了 安装mono
安装前还要升级一下glib
要不会出错
我得apt-get里没有
自己编译一个

代码: 全选

wget ftp://ftp.gtk.org/pub/gtk/v2.8/glib-2.8.0.tar.gz
tar xvzf glib-2.8.0.tar.gz
cd glib-2.8.0
./configure
make
make install
好了 现在可以安装mono

代码: 全选

tar xvzf mono-1.1.13.2.tar.gz
cd mono-1.1.13.2
./configure --prefix=/usr 
make
make install
接下来我们刷新一下profile

代码: 全选

source ~/.profile
然后执行

代码: 全选

mono --version
mono安装好了 下面装XSP

代码: 全选

tar xvzf xsp-1.1.13.tar.gz
cd xsp-1.1.13
./configure --prefix=/usr 
make
make install
这个也ok了
最后是mod_mono

代码: 全选

tar xvzf mod_mono-1.1.13.tar.gz
cd mod_mono-1.1.13
./configure --prefix=/usr/local
make
make install
好了 最后的时候逐一参数是不一样
这样安装好了
我们 简单配置一下apache

代码: 全选

nano /usr/local/apache2/conf/httpd.conf
在最上面加上

代码: 全选

Include /usr/local/apache2/conf/mod_mono.conf
这个mod_mono里面包含了 我们需要的httpd.conf的配置 所以Include就好了

代码: 全选

<IfModule !mod_mono.c>
    LoadModule mono_module /usr/local/apache2/modules/mod_mono.so

    AddType application/x-asp-net .aspx
    AddType application/x-asp-net .asmx
    AddType application/x-asp-net .ashx
    AddType application/x-asp-net .asax
    AddType application/x-asp-net .ascx
    AddType application/x-asp-net .soap
    AddType application/x-asp-net .rem
    AddType application/x-asp-net .axd
    AddType application/x-asp-net .cs
    AddType application/x-asp-net .config
    AddType application/x-asp-net .dll
    DirectoryIndex index.aspx
    DirectoryIndex Default.aspx
    DirectoryIndex default.aspx
</IfModule>
然后配置一个虚拟目录

代码: 全选

Alias /test "/usr/lib/xsp/test"
AddMonoApplications default  "/test:/usr/lib/xsp/test"
<Location /test>
    SetHandler mono
    AllowOverride None
    Order allow,deny
    Allow from all
</Location>
然后重启APACHE

代码: 全选

/usr/local/apache2/bin/apachectl restart
最后找浏览器
http://urip/test
如果你看到了下图 大功告成
以上是我2天来对mono的研究 也祝你能够成功
再说一次以上操作都是root身份
附件
Clipboard02.jpg
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#2

帖子 firehare » 2006-02-17 17:21

好东东!赞一个!
我心无畏,源自于我心无知。
图片
头像
williampan
帖子: 110
注册时间: 2005-10-23 11:56
联系:

#3

帖子 williampan » 2006-03-08 23:25

PHP和ASP如果需要,是不是2个都要安装呢。
我是神仙,想睡觉,我要睡觉似神仙
MSN :pdsjj@21cn.com
QQ:280367891
ICQ:381167891

Acer aspire one D250(1284) for ubuntu
cityyokel
帖子: 20
注册时间: 2005-12-26 20:51

#4

帖子 cityyokel » 2006-04-13 15:15

支持asp.net 2.0了没有?
joe45
帖子: 87
注册时间: 2006-03-21 3:03

安装mono 和 mod_mono都不能够make啊!!

#5

帖子 joe45 » 2006-04-21 0:06

root@ubuntu:~# tar xvzf xsp-1.1.13.tar.gz
xsp-1.1.13/
xsp-1.1.13/man/
xsp-1.1.13/man/Makefile.am
xsp-1.1.13/man/Makefile.in
xsp-1.1.13/man/asp-state.1.in
xsp-1.1.13/man/dbsessmgr.1.in
xsp-1.1.13/man/xsp.1.in
xsp-1.1.13/src/
xsp-1.1.13/src/Mono.WebServer/
xsp-1.1.13/src/Mono.WebServer/AssemblyInfo.cs.in
xsp-1.1.13/src/Mono.WebServer/AssemblyInfo2.cs.in
xsp-1.1.13/src/Mono.WebServer/Makefile.am
xsp-1.1.13/src/Mono.WebServer/Makefile.in
xsp-1.1.13/src/Mono.WebServer/xsp-2.pc.in
xsp-1.1.13/src/Mono.WebServer/xsp.pc.in
xsp-1.1.13/src/Mono.WebServer/ApplicationServer.cs
xsp-1.1.13/src/Mono.WebServer/BaseApplicationHost.cs
xsp-1.1.13/src/Mono.WebServer/BaseRequestBroker.cs
xsp-1.1.13/src/Mono.WebServer/IApplicationHost.cs
xsp-1.1.13/src/Mono.WebServer/InitialWorkerRequest.cs
xsp-1.1.13/src/Mono.WebServer/IWebSource.cs
xsp-1.1.13/src/Mono.WebServer/LingeringNetworkStream.cs
xsp-1.1.13/src/Mono.WebServer/MonoWorkerRequest.cs
xsp-1.1.13/src/Mono.WebServer/XSPApplicationHost.cs
xsp-1.1.13/src/Mono.WebServer/XSPWorkerRequest.cs
xsp-1.1.13/src/AssemblyInfo.cs.in
xsp-1.1.13/src/AssemblyInfoModMono.cs.in
xsp-1.1.13/src/Makefile.am
xsp-1.1.13/src/Makefile.in
xsp-1.1.13/src/server.cs
xsp-1.1.13/src/security.cs
xsp-1.1.13/src/ModMonoRequest.cs
xsp-1.1.13/src/ModMonoWorkerRequest.cs
xsp-1.1.13/src/ModMonoApplicationHost.cs
xsp-1.1.13/src/ModMonoTCPWebSource.cs
xsp-1.1.13/tools/
xsp-1.1.13/tools/asp_state/
xsp-1.1.13/tools/asp_state/AssemblyInfo.cs.in
xsp-1.1.13/tools/asp_state/Makefile.am
xsp-1.1.13/tools/asp_state/Makefile.in
xsp-1.1.13/tools/asp_state/asp_state.cs
xsp-1.1.13/tools/asp_state/asp-state.exe.config
xsp-1.1.13/tools/asp_state/asp-state2.exe.config
xsp-1.1.13/tools/dbsessmgr/
xsp-1.1.13/tools/dbsessmgr/AssemblyInfo.cs.in
xsp-1.1.13/tools/dbsessmgr/Makefile.am
xsp-1.1.13/tools/dbsessmgr/Makefile.in
xsp-1.1.13/tools/dbsessmgr/dbsessmgr.cs
xsp-1.1.13/tools/dbsessmgr/dbsessmgr.exe.config
xsp-1.1.13/tools/dbsessmgr/dbsessmgr2.exe.config
xsp-1.1.13/tools/Makefile.am
xsp-1.1.13/tools/Makefile.in
xsp-1.1.13/README
xsp-1.1.13/configure.in
xsp-1.1.13/aclocal.m4
xsp-1.1.13/Makefile.am
xsp-1.1.13/Makefile.in
xsp-1.1.13/configure
xsp-1.1.13/AUTHORS
xsp-1.1.13/COPYING
xsp-1.1.13/ChangeLog
xsp-1.1.13/INSTALL
xsp-1.1.13/NEWS
xsp-1.1.13/config.guess
xsp-1.1.13/config.sub
xsp-1.1.13/install-sh
xsp-1.1.13/missing
xsp-1.1.13/test/
xsp-1.1.13/test/README
xsp-1.1.13/test/Makefile.am
xsp-1.1.13/test/Makefile.in
xsp-1.1.13/test/mod-mono-server.exe.config
xsp-1.1.13/test/index.aspx
xsp-1.1.13/test/index2.aspx
xsp-1.1.13/test/xsp.exe.config
xsp-1.1.13/test/web.config
xsp-1.1.13/test/global.asax
xsp-1.1.13/test/mono.png
xsp-1.1.13/test/monobutton.png
xsp-1.1.13/test/mono-powered-big.png
xsp-1.1.13/test/small-icon.png
xsp-1.1.13/test/sample.webapp
xsp-1.1.13/test/favicon.ico
xsp-1.1.13/test/mono-xsp.css
xsp-1.1.13/test/1.1/
xsp-1.1.13/test/1.1/Makefile.am
xsp-1.1.13/test/1.1/Makefile.in
xsp-1.1.13/test/1.1/authtest/
xsp-1.1.13/test/1.1/authtest/Makefile.am
xsp-1.1.13/test/1.1/authtest/Makefile.in
xsp-1.1.13/test/1.1/authtest/index.aspx
xsp-1.1.13/test/1.1/authtest/login.aspx
xsp-1.1.13/test/1.1/authtest/web.config
xsp-1.1.13/test/1.1/asp.net/
xsp-1.1.13/test/1.1/asp.net/Makefile.am
xsp-1.1.13/test/1.1/asp.net/Makefile.in
xsp-1.1.13/test/1.1/asp.net/browsercaps.aspx
xsp-1.1.13/test/1.1/asp.net/codebehind1.aspx
xsp-1.1.13/test/1.1/asp.net/code-render.aspx
xsp-1.1.13/test/1.1/asp.net/body.inc
xsp-1.1.13/test/1.1/asp.net/header.inc
xsp-1.1.13/test/1.1/asp.net/registertest1.ascx
xsp-1.1.13/test/1.1/asp.net/registertest2.ascx
xsp-1.1.13/test/1.1/asp.net/includetest.aspx
xsp-1.1.13/test/1.1/asp.net/registertest.aspx
xsp-1.1.13/test/1.1/asp.net/server-side-object.aspx
xsp-1.1.13/test/1.1/asp.net/session1.aspx
xsp-1.1.13/test/1.1/asp.net/typedesc.aspx
xsp-1.1.13/test/1.1/asp.net/codebehind1.cs
xsp-1.1.13/test/1.1/asp.net/typedesc.cs
xsp-1.1.13/test/1.1/webcontrols/
xsp-1.1.13/test/1.1/webcontrols/Makefile.am
xsp-1.1.13/test/1.1/webcontrols/Makefile.in
xsp-1.1.13/test/1.1/webcontrols/listitem.aspx
xsp-1.1.13/test/1.1/webcontrols/temperature.aspx
xsp-1.1.13/test/1.1/webcontrols/validator1.aspx
xsp-1.1.13/test/1.1/webcontrols/web_adrotator.aspx
xsp-1.1.13/test/1.1/webcontrols/web_button.aspx
xsp-1.1.13/test/1.1/webcontrols/web_checkbox.aspx
xsp-1.1.13/test/1.1/webcontrols/web_checkboxlist.aspx
xsp-1.1.13/test/1.1/webcontrols/web_datagrid.aspx
xsp-1.1.13/test/1.1/webcontrols/web_datagrid_command.aspx
xsp-1.1.13/test/1.1/webcontrols/web_dropdownlist.aspx
xsp-1.1.13/test/1.1/webcontrols/web_hyperlink.aspx
xsp-1.1.13/test/1.1/webcontrols/web_image.aspx
xsp-1.1.13/test/1.1/webcontrols/web_imagebutton.aspx
xsp-1.1.13/test/1.1/webcontrols/web_label.aspx
xsp-1.1.13/test/1.1/webcontrols/web_linkbutton.aspx
xsp-1.1.13/test/1.1/webcontrols/web_listbox.aspx
xsp-1.1.13/test/1.1/webcontrols/web_literal.aspx
xsp-1.1.13/test/1.1/webcontrols/web_panel.aspx
xsp-1.1.13/test/1.1/webcontrols/web_placeholder.aspx
xsp-1.1.13/test/1.1/webcontrols/web_radiobutton.aspx
xsp-1.1.13/test/1.1/webcontrols/web_radiobuttonlist.aspx
xsp-1.1.13/test/1.1/webcontrols/web_regularexpressionvalidator.aspx
xsp-1.1.13/test/1.1/webcontrols/web_repeater.aspx
xsp-1.1.13/test/1.1/webcontrols/web_table2.aspx
xsp-1.1.13/test/1.1/webcontrols/web_table.aspx
xsp-1.1.13/test/1.1/webcontrols/web_textbox.aspx
xsp-1.1.13/test/1.1/webcontrols/web_xml.aspx
xsp-1.1.13/test/1.1/webcontrols/calendar.aspx
xsp-1.1.13/test/1.1/webcontrols/datalist.aspx
xsp-1.1.13/test/1.1/webcontrols/dbpage1.aspx
xsp-1.1.13/test/1.1/webcontrols/dbpage2.aspx
xsp-1.1.13/test/1.1/webcontrols/people.xml
xsp-1.1.13/test/1.1/webcontrols/web_adrotator.xml
xsp-1.1.13/test/1.1/webcontrols/peopletable.xsl
xsp-1.1.13/test/1.1/html/
xsp-1.1.13/test/1.1/html/Makefile.am
xsp-1.1.13/test/1.1/html/Makefile.in
xsp-1.1.13/test/1.1/html/button.aspx
xsp-1.1.13/test/1.1/html/htmlanchor.aspx
xsp-1.1.13/test/1.1/html/htmlbutton.aspx
xsp-1.1.13/test/1.1/html/htmlgeneric.aspx
xsp-1.1.13/test/1.1/html/htmlimage.aspx
xsp-1.1.13/test/1.1/html/htmlinputbutton.aspx
xsp-1.1.13/test/1.1/html/htmlinputcheckbox.aspx
xsp-1.1.13/test/1.1/html/htmlinputfile.aspx
xsp-1.1.13/test/1.1/html/htmlinputhidden.aspx
xsp-1.1.13/test/1.1/html/htmlinputimage.aspx
xsp-1.1.13/test/1.1/html/htmlinputradiobutton.aspx
xsp-1.1.13/test/1.1/html/htmlinputtext.aspx
xsp-1.1.13/test/1.1/html/htmlselect.aspx
xsp-1.1.13/test/1.1/html/htmltable.aspx
xsp-1.1.13/test/1.1/html/htmltextarea.aspx
xsp-1.1.13/test/1.1/webservice/
xsp-1.1.13/test/1.1/webservice/Makefile.am
xsp-1.1.13/test/1.1/webservice/Makefile.in
xsp-1.1.13/test/1.1/webservice/ConverterService.asmx
xsp-1.1.13/test/1.1/webservice/TestService.asmx
xsp-1.1.13/test/1.1/webservice/ServiceClient.exe.config
xsp-1.1.13/test/1.1/webservice/CompressExtension.cs
xsp-1.1.13/test/1.1/webservice/TraceExtension.cs
xsp-1.1.13/test/1.1/webservice/EncryptExtension.cs
xsp-1.1.13/test/1.1/webservice/DumpExtension.cs
xsp-1.1.13/test/1.1/webservice/ServiceClient.cs
xsp-1.1.13/test/1.1/webservice/Reference.cs
xsp-1.1.13/test/1.1/databind/
xsp-1.1.13/test/1.1/databind/Makefile.am
xsp-1.1.13/test/1.1/databind/Makefile.in
xsp-1.1.13/test/1.1/databind/databind-arraylist.aspx
xsp-1.1.13/test/1.1/databind/databind-attribute.aspx
xsp-1.1.13/test/1.1/databind/databind-class.aspx
xsp-1.1.13/test/1.1/databind/databind-template.aspx
xsp-1.1.13/test/1.1/handlers/
xsp-1.1.13/test/1.1/handlers/Makefile.am
xsp-1.1.13/test/1.1/handlers/Makefile.in
xsp-1.1.13/test/1.1/handlers/chunked.ashx
xsp-1.1.13/test/1.1/handlers/empty.ashx
xsp-1.1.13/test/1.1/handlers/monodoc.ashx
xsp-1.1.13/test/1.1/handlers/webhandler.ashx
xsp-1.1.13/test/1.1/handlers/async.ashx
xsp-1.1.13/test/1.1/customcontrol/
xsp-1.1.13/test/1.1/customcontrol/Makefile.am
xsp-1.1.13/test/1.1/customcontrol/Makefile.in
xsp-1.1.13/test/1.1/customcontrol/tabcontrol2.aspx
xsp-1.1.13/test/1.1/customcontrol/tabcontrol.aspx
xsp-1.1.13/test/1.1/customcontrol/tabcontrol.cs
xsp-1.1.13/test/1.1/customcontrol/tabcontrol2.cs
xsp-1.1.13/test/2.0/
xsp-1.1.13/test/2.0/Makefile.am
xsp-1.1.13/test/2.0/Makefile.in
xsp-1.1.13/test/2.0/menu/
xsp-1.1.13/test/2.0/menu/Makefile.am
xsp-1.1.13/test/2.0/menu/Makefile.in
xsp-1.1.13/test/2.0/menu/menu1.aspx
xsp-1.1.13/test/2.0/menu/menu2.aspx
xsp-1.1.13/test/2.0/menu/stock_copy_24.png
xsp-1.1.13/test/2.0/menu/stock_cut_24.png
xsp-1.1.13/test/2.0/menu/stock_paste_24.png
xsp-1.1.13/test/2.0/treeview/
xsp-1.1.13/test/2.0/treeview/Makefile.am
xsp-1.1.13/test/2.0/treeview/Makefile.in
xsp-1.1.13/test/2.0/treeview/populate-on-demand.aspx
xsp-1.1.13/test/2.0/treeview/populate.cs
xsp-1.1.13/test/2.0/treeview/treeview.aspx
xsp-1.1.13/test/2.0/treeview/treeview-databound.aspx
xsp-1.1.13/test/2.0/treeview/TreeLineImages/
xsp-1.1.13/test/2.0/treeview/TreeLineImages/dash.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/dashminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/dashplus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/i.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/l.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/lminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/lplus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/minus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/noexpand.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/plus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/r.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/rminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/rplus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/t.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/tminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/tplus.gif
xsp-1.1.13/test/2.0/masterpages/
xsp-1.1.13/test/2.0/masterpages/Makefile.am
xsp-1.1.13/test/2.0/masterpages/Makefile.in
xsp-1.1.13/test/2.0/masterpages/simple.master
xsp-1.1.13/test/2.0/masterpages/simple.aspx
xsp-1.1.13/test/2.0/masterpages/frame.master
xsp-1.1.13/test/2.0/masterpages/content1.aspx
xsp-1.1.13/test/2.0/masterpages/content2.aspx
xsp-1.1.13/scripts/
xsp-1.1.13/scripts/Makefile.am
xsp-1.1.13/scripts/Makefile.in
xsp-1.1.13/scripts/script.in
root@ubuntu:~# cd xsp-1.1.13
root@ubuntu:~/xsp-1.1.13# ./configure --prefix=/usr
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking for csc... no
checking for mcs... no
checking for gmcs... no
checking for mono... no
configure: error: No C# compiler found
root@ubuntu:~/xsp-1.1.13# make
make: *** 没有指明目标并且找不到 makefile。 停止。

----------------------------------------------------

请问什么原因?
joe45
帖子: 87
注册时间: 2006-03-21 3:03

#6

帖子 joe45 » 2006-04-21 0:31

root@ubuntu:~# tar xvzf xsp-1.1.13.tar.gz
xsp-1.1.13/
xsp-1.1.13/man/
xsp-1.1.13/man/Makefile.am
xsp-1.1.13/man/Makefile.in
xsp-1.1.13/man/asp-state.1.in
xsp-1.1.13/man/dbsessmgr.1.in
xsp-1.1.13/man/xsp.1.in
xsp-1.1.13/src/
xsp-1.1.13/src/Mono.WebServer/
xsp-1.1.13/src/Mono.WebServer/AssemblyInfo.cs.in
xsp-1.1.13/src/Mono.WebServer/AssemblyInfo2.cs.in
xsp-1.1.13/src/Mono.WebServer/Makefile.am
xsp-1.1.13/src/Mono.WebServer/Makefile.in
xsp-1.1.13/src/Mono.WebServer/xsp-2.pc.in
xsp-1.1.13/src/Mono.WebServer/xsp.pc.in
xsp-1.1.13/src/Mono.WebServer/ApplicationServer.cs
xsp-1.1.13/src/Mono.WebServer/BaseApplicationHost.cs
xsp-1.1.13/src/Mono.WebServer/BaseRequestBroker.cs
xsp-1.1.13/src/Mono.WebServer/IApplicationHost.cs
xsp-1.1.13/src/Mono.WebServer/InitialWorkerRequest.cs
xsp-1.1.13/src/Mono.WebServer/IWebSource.cs
xsp-1.1.13/src/Mono.WebServer/LingeringNetworkStream.cs
xsp-1.1.13/src/Mono.WebServer/MonoWorkerRequest.cs
xsp-1.1.13/src/Mono.WebServer/XSPApplicationHost.cs
xsp-1.1.13/src/Mono.WebServer/XSPWorkerRequest.cs
xsp-1.1.13/src/AssemblyInfo.cs.in
xsp-1.1.13/src/AssemblyInfoModMono.cs.in
xsp-1.1.13/src/Makefile.am
xsp-1.1.13/src/Makefile.in
xsp-1.1.13/src/server.cs
xsp-1.1.13/src/security.cs
xsp-1.1.13/src/ModMonoRequest.cs
xsp-1.1.13/src/ModMonoWorkerRequest.cs
xsp-1.1.13/src/ModMonoApplicationHost.cs
xsp-1.1.13/src/ModMonoTCPWebSource.cs
xsp-1.1.13/tools/
xsp-1.1.13/tools/asp_state/
xsp-1.1.13/tools/asp_state/AssemblyInfo.cs.in
xsp-1.1.13/tools/asp_state/Makefile.am
xsp-1.1.13/tools/asp_state/Makefile.in
xsp-1.1.13/tools/asp_state/asp_state.cs
xsp-1.1.13/tools/asp_state/asp-state.exe.config
xsp-1.1.13/tools/asp_state/asp-state2.exe.config
xsp-1.1.13/tools/dbsessmgr/
xsp-1.1.13/tools/dbsessmgr/AssemblyInfo.cs.in
xsp-1.1.13/tools/dbsessmgr/Makefile.am
xsp-1.1.13/tools/dbsessmgr/Makefile.in
xsp-1.1.13/tools/dbsessmgr/dbsessmgr.cs
xsp-1.1.13/tools/dbsessmgr/dbsessmgr.exe.config
xsp-1.1.13/tools/dbsessmgr/dbsessmgr2.exe.config
xsp-1.1.13/tools/Makefile.am
xsp-1.1.13/tools/Makefile.in
xsp-1.1.13/README
xsp-1.1.13/configure.in
xsp-1.1.13/aclocal.m4
xsp-1.1.13/Makefile.am
xsp-1.1.13/Makefile.in
xsp-1.1.13/configure
xsp-1.1.13/AUTHORS
xsp-1.1.13/COPYING
xsp-1.1.13/ChangeLog
xsp-1.1.13/INSTALL
xsp-1.1.13/NEWS
xsp-1.1.13/config.guess
xsp-1.1.13/config.sub
xsp-1.1.13/install-sh
xsp-1.1.13/missing
xsp-1.1.13/test/
xsp-1.1.13/test/README
xsp-1.1.13/test/Makefile.am
xsp-1.1.13/test/Makefile.in
xsp-1.1.13/test/mod-mono-server.exe.config
xsp-1.1.13/test/index.aspx
xsp-1.1.13/test/index2.aspx
xsp-1.1.13/test/xsp.exe.config
xsp-1.1.13/test/web.config
xsp-1.1.13/test/global.asax
xsp-1.1.13/test/mono.png
xsp-1.1.13/test/monobutton.png
xsp-1.1.13/test/mono-powered-big.png
xsp-1.1.13/test/small-icon.png
xsp-1.1.13/test/sample.webapp
xsp-1.1.13/test/favicon.ico
xsp-1.1.13/test/mono-xsp.css
xsp-1.1.13/test/1.1/
xsp-1.1.13/test/1.1/Makefile.am
xsp-1.1.13/test/1.1/Makefile.in
xsp-1.1.13/test/1.1/authtest/
xsp-1.1.13/test/1.1/authtest/Makefile.am
xsp-1.1.13/test/1.1/authtest/Makefile.in
xsp-1.1.13/test/1.1/authtest/index.aspx
xsp-1.1.13/test/1.1/authtest/login.aspx
xsp-1.1.13/test/1.1/authtest/web.config
xsp-1.1.13/test/1.1/asp.net/
xsp-1.1.13/test/1.1/asp.net/Makefile.am
xsp-1.1.13/test/1.1/asp.net/Makefile.in
xsp-1.1.13/test/1.1/asp.net/browsercaps.aspx
xsp-1.1.13/test/1.1/asp.net/codebehind1.aspx
xsp-1.1.13/test/1.1/asp.net/code-render.aspx
xsp-1.1.13/test/1.1/asp.net/body.inc
xsp-1.1.13/test/1.1/asp.net/header.inc
xsp-1.1.13/test/1.1/asp.net/registertest1.ascx
xsp-1.1.13/test/1.1/asp.net/registertest2.ascx
xsp-1.1.13/test/1.1/asp.net/includetest.aspx
xsp-1.1.13/test/1.1/asp.net/registertest.aspx
xsp-1.1.13/test/1.1/asp.net/server-side-object.aspx
xsp-1.1.13/test/1.1/asp.net/session1.aspx
xsp-1.1.13/test/1.1/asp.net/typedesc.aspx
xsp-1.1.13/test/1.1/asp.net/codebehind1.cs
xsp-1.1.13/test/1.1/asp.net/typedesc.cs
xsp-1.1.13/test/1.1/webcontrols/
xsp-1.1.13/test/1.1/webcontrols/Makefile.am
xsp-1.1.13/test/1.1/webcontrols/Makefile.in
xsp-1.1.13/test/1.1/webcontrols/listitem.aspx
xsp-1.1.13/test/1.1/webcontrols/temperature.aspx
xsp-1.1.13/test/1.1/webcontrols/validator1.aspx
xsp-1.1.13/test/1.1/webcontrols/web_adrotator.aspx
xsp-1.1.13/test/1.1/webcontrols/web_button.aspx
xsp-1.1.13/test/1.1/webcontrols/web_checkbox.aspx
xsp-1.1.13/test/1.1/webcontrols/web_checkboxlist.aspx
xsp-1.1.13/test/1.1/webcontrols/web_datagrid.aspx
xsp-1.1.13/test/1.1/webcontrols/web_datagrid_command.aspx
xsp-1.1.13/test/1.1/webcontrols/web_dropdownlist.aspx
xsp-1.1.13/test/1.1/webcontrols/web_hyperlink.aspx
xsp-1.1.13/test/1.1/webcontrols/web_image.aspx
xsp-1.1.13/test/1.1/webcontrols/web_imagebutton.aspx
xsp-1.1.13/test/1.1/webcontrols/web_label.aspx
xsp-1.1.13/test/1.1/webcontrols/web_linkbutton.aspx
xsp-1.1.13/test/1.1/webcontrols/web_listbox.aspx
xsp-1.1.13/test/1.1/webcontrols/web_literal.aspx
xsp-1.1.13/test/1.1/webcontrols/web_panel.aspx
xsp-1.1.13/test/1.1/webcontrols/web_placeholder.aspx
xsp-1.1.13/test/1.1/webcontrols/web_radiobutton.aspx
xsp-1.1.13/test/1.1/webcontrols/web_radiobuttonlist.aspx
xsp-1.1.13/test/1.1/webcontrols/web_regularexpressionvalidator.aspx
xsp-1.1.13/test/1.1/webcontrols/web_repeater.aspx
xsp-1.1.13/test/1.1/webcontrols/web_table2.aspx
xsp-1.1.13/test/1.1/webcontrols/web_table.aspx
xsp-1.1.13/test/1.1/webcontrols/web_textbox.aspx
xsp-1.1.13/test/1.1/webcontrols/web_xml.aspx
xsp-1.1.13/test/1.1/webcontrols/calendar.aspx
xsp-1.1.13/test/1.1/webcontrols/datalist.aspx
xsp-1.1.13/test/1.1/webcontrols/dbpage1.aspx
xsp-1.1.13/test/1.1/webcontrols/dbpage2.aspx
xsp-1.1.13/test/1.1/webcontrols/people.xml
xsp-1.1.13/test/1.1/webcontrols/web_adrotator.xml
xsp-1.1.13/test/1.1/webcontrols/peopletable.xsl
xsp-1.1.13/test/1.1/html/
xsp-1.1.13/test/1.1/html/Makefile.am
xsp-1.1.13/test/1.1/html/Makefile.in
xsp-1.1.13/test/1.1/html/button.aspx
xsp-1.1.13/test/1.1/html/htmlanchor.aspx
xsp-1.1.13/test/1.1/html/htmlbutton.aspx
xsp-1.1.13/test/1.1/html/htmlgeneric.aspx
xsp-1.1.13/test/1.1/html/htmlimage.aspx
xsp-1.1.13/test/1.1/html/htmlinputbutton.aspx
xsp-1.1.13/test/1.1/html/htmlinputcheckbox.aspx
xsp-1.1.13/test/1.1/html/htmlinputfile.aspx
xsp-1.1.13/test/1.1/html/htmlinputhidden.aspx
xsp-1.1.13/test/1.1/html/htmlinputimage.aspx
xsp-1.1.13/test/1.1/html/htmlinputradiobutton.aspx
xsp-1.1.13/test/1.1/html/htmlinputtext.aspx
xsp-1.1.13/test/1.1/html/htmlselect.aspx
xsp-1.1.13/test/1.1/html/htmltable.aspx
xsp-1.1.13/test/1.1/html/htmltextarea.aspx
xsp-1.1.13/test/1.1/webservice/
xsp-1.1.13/test/1.1/webservice/Makefile.am
xsp-1.1.13/test/1.1/webservice/Makefile.in
xsp-1.1.13/test/1.1/webservice/ConverterService.asmx
xsp-1.1.13/test/1.1/webservice/TestService.asmx
xsp-1.1.13/test/1.1/webservice/ServiceClient.exe.config
xsp-1.1.13/test/1.1/webservice/CompressExtension.cs
xsp-1.1.13/test/1.1/webservice/TraceExtension.cs
xsp-1.1.13/test/1.1/webservice/EncryptExtension.cs
xsp-1.1.13/test/1.1/webservice/DumpExtension.cs
xsp-1.1.13/test/1.1/webservice/ServiceClient.cs
xsp-1.1.13/test/1.1/webservice/Reference.cs
xsp-1.1.13/test/1.1/databind/
xsp-1.1.13/test/1.1/databind/Makefile.am
xsp-1.1.13/test/1.1/databind/Makefile.in
xsp-1.1.13/test/1.1/databind/databind-arraylist.aspx
xsp-1.1.13/test/1.1/databind/databind-attribute.aspx
xsp-1.1.13/test/1.1/databind/databind-class.aspx
xsp-1.1.13/test/1.1/databind/databind-template.aspx
xsp-1.1.13/test/1.1/handlers/
xsp-1.1.13/test/1.1/handlers/Makefile.am
xsp-1.1.13/test/1.1/handlers/Makefile.in
xsp-1.1.13/test/1.1/handlers/chunked.ashx
xsp-1.1.13/test/1.1/handlers/empty.ashx
xsp-1.1.13/test/1.1/handlers/monodoc.ashx
xsp-1.1.13/test/1.1/handlers/webhandler.ashx
xsp-1.1.13/test/1.1/handlers/async.ashx
xsp-1.1.13/test/1.1/customcontrol/
xsp-1.1.13/test/1.1/customcontrol/Makefile.am
xsp-1.1.13/test/1.1/customcontrol/Makefile.in
xsp-1.1.13/test/1.1/customcontrol/tabcontrol2.aspx
xsp-1.1.13/test/1.1/customcontrol/tabcontrol.aspx
xsp-1.1.13/test/1.1/customcontrol/tabcontrol.cs
xsp-1.1.13/test/1.1/customcontrol/tabcontrol2.cs
xsp-1.1.13/test/2.0/
xsp-1.1.13/test/2.0/Makefile.am
xsp-1.1.13/test/2.0/Makefile.in
xsp-1.1.13/test/2.0/menu/
xsp-1.1.13/test/2.0/menu/Makefile.am
xsp-1.1.13/test/2.0/menu/Makefile.in
xsp-1.1.13/test/2.0/menu/menu1.aspx
xsp-1.1.13/test/2.0/menu/menu2.aspx
xsp-1.1.13/test/2.0/menu/stock_copy_24.png
xsp-1.1.13/test/2.0/menu/stock_cut_24.png
xsp-1.1.13/test/2.0/menu/stock_paste_24.png
xsp-1.1.13/test/2.0/treeview/
xsp-1.1.13/test/2.0/treeview/Makefile.am
xsp-1.1.13/test/2.0/treeview/Makefile.in
xsp-1.1.13/test/2.0/treeview/populate-on-demand.aspx
xsp-1.1.13/test/2.0/treeview/populate.cs
xsp-1.1.13/test/2.0/treeview/treeview.aspx
xsp-1.1.13/test/2.0/treeview/treeview-databound.aspx
xsp-1.1.13/test/2.0/treeview/TreeLineImages/
xsp-1.1.13/test/2.0/treeview/TreeLineImages/dash.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/dashminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/dashplus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/i.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/l.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/lminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/lplus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/minus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/noexpand.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/plus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/r.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/rminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/rplus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/t.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/tminus.gif
xsp-1.1.13/test/2.0/treeview/TreeLineImages/tplus.gif
xsp-1.1.13/test/2.0/masterpages/
xsp-1.1.13/test/2.0/masterpages/Makefile.am
xsp-1.1.13/test/2.0/masterpages/Makefile.in
xsp-1.1.13/test/2.0/masterpages/simple.master
xsp-1.1.13/test/2.0/masterpages/simple.aspx
xsp-1.1.13/test/2.0/masterpages/frame.master
xsp-1.1.13/test/2.0/masterpages/content1.aspx
xsp-1.1.13/test/2.0/masterpages/content2.aspx
xsp-1.1.13/scripts/
xsp-1.1.13/scripts/Makefile.am
xsp-1.1.13/scripts/Makefile.in
xsp-1.1.13/scripts/script.in
root@ubuntu:~# cd xsp-1.1.13/
root@ubuntu:~/xsp-1.1.13# ./configure --prefix=/usr
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking for csc... no
checking for mcs... no
checking for gmcs... no
checking for mono... /usr/bin/mono
configure: error: No C# compiler found
root@ubuntu:~/xsp-1.1.13# make
make: *** 没有指明目标并且找不到 makefile。 停止。
root@ubuntu:~/xsp-1.1.13#
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#7

帖子 karron » 2006-04-23 11:52

楼上的没有安装c#编译器
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
joe45
帖子: 87
注册时间: 2006-03-21 3:03

#8

帖子 joe45 » 2006-04-27 15:59

请问怎样安装 c#编译器??
er_shi
帖子: 26
注册时间: 2006-07-29 9:21

#9

帖子 er_shi » 2006-07-29 15:47

c#和c++不一样吗,
头像
drivel
帖子: 1918
注册时间: 2006-07-08 9:21
来自: University of Science and Technology Beijing
联系:

#10

帖子 drivel » 2006-07-29 16:55

比较关心如何支持ASP。NET的。。
shiky
帖子: 74
注册时间: 2005-12-10 8:57

这是什么问题老大?

#11

帖子 shiky » 2006-08-02 10:06

../jay/jay: 2 rules never reduced
../jay/jay: 29 shift/reduce conflicts, 2 reduce/reduce conflicts.
mcs /codepage:28591 -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug -target:exe -out:mcs.exe cs-parser.cs @mcs.exe.sources
make[6]: mcs:命令未找到
make[6]: *** [../class/lib/basic/mcs.exe] 错误 127
make[6]: Leaving directory `/root/Desktop/glib-2.8.6/mono-1.1.13.2/mcs/mcs'
make[5]: *** [do-install] 错误 2
make[5]: Leaving directory `/root/Desktop/glib-2.8.6/mono-1.1.13.2/mcs/mcs'
make[4]: *** [install-recursive] 错误 1
make[4]: Leaving directory `/root/Desktop/glib-2.8.6/mono-1.1.13.2/mcs'
make[3]: *** [profile-do--basic--install] 错误 2
make[3]: Leaving directory `/root/Desktop/glib-2.8.6/mono-1.1.13.2/mcs'
make[2]: *** [profiles-do--install] 错误 2
make[2]: Leaving directory `/root/Desktop/glib-2.8.6/mono-1.1.13.2/mcs'
make[1]: *** [install-exec] 错误 2
make[1]: Leaving directory `/root/Desktop/glib-2.8.6/mono-1.1.13.2/runtime'
make: *** [install-recursive] 错误
shiky
帖子: 74
注册时间: 2005-12-10 8:57

#12

帖子 shiky » 2006-08-02 10:36

joe45 写了:请问怎样安装 c#编译器??
mono就是C#编译器
shiky
帖子: 74
注册时间: 2005-12-10 8:57

make mod_mono 的时候出错~~

#13

帖子 shiky » 2006-08-02 15:25

gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -I/usr/local/apache2/include -DAPACHE13 -DEAPI -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -I/usr/local/apache2/include -DAPACHE13 -DEAPI -Wall -DDFLT_MONO_CONFIG_DIR=\"/usr/local/apache2/conf/mod-mono-applications\" -g -O2 -I/usr/local/apache2/include -DAPACHE13 -DEAPI -g -O2 -pthread -MT mod_mono_la-mod_mono.lo -MD -MP -MF .deps/mod_mono_la-mod_mono.Tpo -c mod_mono.c -fPIC -DPIC -o .libs/mod_mono_la-mod_mono.o
In file included from mod_mono.c:32:
mod_mono.h:68:25: error: multithread.h: No such file or directory
mod_mono.h:75:1: warning: "apr_pcalloc" redefined
In file included from /usr/local/apache2/include/apr_tables.h:26,
from /usr/local/apache2/include/apr_hooks.h:22,
from /usr/local/apache2/include/ap_config.h:26,
from /usr/local/apache2/include/httpd.h:43,
from mod_mono.h:50,
from mod_mono.c:32:
/usr/local/apache2/include/apr_pools.h:345:1: warning: this is the location of the previous definition
In file included from mod_mono.c:32:
mod_mono.h:96:1: warning: "APR_INET" redefined
In file included from /usr/local/apache2/include/httpd.h:53,
from mod_mono.h:50,
from mod_mono.c:32:
/usr/local/apache2/include/apr_network_io.h:140:1: warning: this is the location of the previous definition
In file included from mod_mono.c:32:
mod_mono.h:97:1: warning: "apr_time_from_sec" redefined
In file included from /usr/local/apache2/include/httpd.h:52,
from mod_mono.h:50,
from mod_mono.c:32:
/usr/local/apache2/include/apr_time.h:76:1: warning: this is the location of the previous definition
In file included from mod_mono.c:32:
mod_mono.h:104: error: conflicting types for ‘apr_interval_time_t’
/usr/local/apache2/include/apr_time.h:56: error: previous declaration of ‘apr_interval_time_t’ was here
mod_mono.h:105: error: redefinition of typedef ‘apr_size_t’
/usr/local/apache2/include/apr.h:268: error: previous declaration of ‘apr_size_t’ was here
mod_mono.h:106: error: conflicting types for ‘apr_socket_t’
/usr/local/apache2/include/apr_network_io.h:190: error: previous declaration of ‘apr_socket_t’ was here
mod_mono.h:108: error: syntax error before ‘ap_pool’
mod_mono.h:108: warning: no semicolon at end of struct or union
mod_mono.h:111: error: syntax error before ‘}’ token
mod_mono.h:113: error: conflicting types for ‘apr_sockaddr_t’
/usr/local/apache2/include/apr_network_io.h:206: error: previous declaration of ‘apr_sockaddr_t’ was here
mod_mono.h:115: error: syntax error before ‘ap_pool’
mod_mono.h:115: warning: no semicolon at end of struct or union
mod_mono.h:118: error: syntax error before ‘}’ token
mod_mono.h:121: error: conflicting types for ‘apr_socket_send’
/usr/local/apache2/include/apr_network_io.h:473: error: previous declaration of ‘apr_socket_send’ was here
mod_mono.h:124: error: conflicting types for ‘apr_socket_recv’
/usr/local/apache2/include/apr_network_io.h:571: error: previous declaration of ‘apr_socket_recv’ was here
In file included from mod_mono.c:32:
mod_mono.h:129:22: error: ap_alloc.h: No such file or directory
mod_mono.c:34: error: syntax error before ‘*’ token
mod_mono.c:36: error: syntax error before ‘mono_module’
mod_mono.c:36: warning: type defaults to ‘int’ in declaration of ‘mono_module’
mod_mono.c:36: warning: data definition has no type or storage class
mod_mono.c:39: error: syntax error before ‘*’ token
mod_mono.c:39: warning: type defaults to ‘int’ in declaration of ‘pconf’
mod_mono.c:39: warning: data definition has no type or storage class
mod_mono.c: In function ‘set_alias’:
mod_mono.c:116: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:119: warning: implicit declaration of function ‘ap_pstrcat’
mod_mono.c:119: warning: initialization makes pointer from integer without a cast
mod_mono.c: In function ‘set_auto_application’:
mod_mono.c:131: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:134: warning: implicit declaration of function ‘ap_pstrdup’
mod_mono.c:134: warning: return makes pointer from integer without a cast
mod_mono.c:139: warning: return makes pointer from integer without a cast
mod_mono.c:143: warning: return makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:151: error: syntax error before ‘*’ token
mod_mono.c: In function ‘add_xsp_server’:
mod_mono.c:158: error: ‘alias’ undeclared (first use in this function)
mod_mono.c:158: error: (Each undeclared identifier is reported only once
mod_mono.c:158: error: for each function it appears in.)
mod_mono.c:158: error: ‘config’ undeclared (first use in this function)
mod_mono.c:162: warning: implicit declaration of function ‘ap_pcalloc’
mod_mono.c:162: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:162: warning: assignment makes pointer from integer without a cast
mod_mono.c:163: error: ‘is_default’ undeclared (first use in this function)
mod_mono.c:164: warning: assignment makes pointer from integer without a cast
mod_mono.c:184: error: ‘is_virtual’ undeclared (first use in this function)
mod_mono.c: In function ‘store_config_xsp’:
mod_mono.c:213: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:240: warning: assignment makes pointer from integer without a cast
mod_mono.c:242: warning: assignment makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:251: error: syntax error before ‘*’ token
mod_mono.c: In function ‘merge_config’:
mod_mono.c:253: error: ‘base_conf’ undeclared (first use in this function)
mod_mono.c:254: error: ‘new_conf’ undeclared (first use in this function)
mod_mono.c:267: error: ‘p’ undeclared (first use in this function)
mod_mono.c:267: warning: assignment makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:276: error: syntax error before ‘*’ token
mod_mono.c: In function ‘create_dir_config’:
mod_mono.c:280: error: ‘dirspec’ undeclared (first use in this function)
mod_mono.c:282: error: ‘p’ undeclared (first use in this function)
mod_mono.c:282: warning: assignment makes pointer from integer without a cast
mod_mono.c:284: warning: assignment makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:290: error: syntax error before ‘*’ token
mod_mono.c: In function ‘get_default_global_socket_name’:
mod_mono.c:292: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:292: error: ‘base’ undeclared (first use in this function)
mod_mono.c:292: warning: return makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:296: error: syntax error before ‘*’ token
mod_mono.c: In function ‘create_mono_server_config’:
mod_mono.c:300: error: ‘p’ undeclared (first use in this function)
mod_mono.c:300: warning: assignment makes pointer from integer without a cast
mod_mono.c: In function ‘request_send_response_from_memory’:
mod_mono.c:313: warning: implicit declaration of function ‘ap_send_http_header’
mod_mono.c: In function ‘connection_get_remote_port’:
mod_mono.c:336: error: request for member ‘sin_port’ in something not a structure or union
mod_mono.c: In function ‘connection_get_remote_name’:
mod_mono.c:365: error: too few arguments to function ‘ap_get_remote_host’
mod_mono.c: In function ‘set_response_header’:
mod_mono.c:394: warning: implicit declaration of function ‘ap_table_addn’
mod_mono.c: At top level:
mod_mono.c:428: error: syntax error before ‘*’ token
mod_mono.c: In function ‘read_data_string’:
mod_mono.c:434: error: ‘sock’ undeclared (first use in this function)
mod_mono.c:438: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:438: warning: assignment makes pointer from integer without a cast
mod_mono.c:448: error: ‘ptr’ undeclared (first use in this function)
mod_mono.c:451: error: ‘size’ undeclared (first use in this function)
mod_mono.c: In function ‘send_entire_file’:
mod_mono.c:509: warning: passing argument 1 of ‘ap_send_fd’ from incompatible pointer type
mod_mono.c:509: error: too few arguments to function ‘ap_send_fd’
mod_mono.c: At top level:
mod_mono.c:550: error: syntax error before ‘*’ token
mod_mono.c: In function ‘remove_http_vars’:
mod_mono.c:552: error: syntax error before ‘*’ token
mod_mono.c:553: error: syntax error before ‘*’ token
mod_mono.c:554: error: syntax error before ‘*’ token
mod_mono.c:556: error: ‘elts’ undeclared (first use in this function)
mod_mono.c:556: warning: implicit declaration of function ‘ap_table_elts’
mod_mono.c:556: error: ‘table’ undeclared (first use in this function)
mod_mono.c:560: error: ‘t_elt’ undeclared (first use in this function)
mod_mono.c:560: error: syntax error before ‘table_entry’
mod_mono.c:561: error: ‘t_end’ undeclared (first use in this function)
mod_mono.c:565: warning: implicit declaration of function ‘ap_table_setn’
mod_mono.c: In function ‘get_client_block_buffer’:
mod_mono.c:574: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:577: warning: assignment makes pointer from integer without a cast
mod_mono.c:578: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:585: warning: assignment makes pointer from integer without a cast
mod_mono.c: In function ‘do_command’:
mod_mono.c:605: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:605: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:605: warning: passing argument 6 of ‘ap_log_error’ makes pointer from integer without a cast
mod_mono.c:624: warning: implicit declaration of function ‘ap_table_get’
mod_mono.c:624: warning: assignment makes pointer from integer without a cast
mod_mono.c:626: warning: implicit declaration of function ‘ap_table_add’
mod_mono.c:689: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:689: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:693: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:693: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:693: warning: passing argument 6 of ‘ap_log_error’ makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:722: error: syntax error before ‘ap_pool’
mod_mono.c:723: error: static declaration of ‘apr_sockaddr_info_get’ follows non-static declaration
/usr/local/apache2/include/apr_network_io.h:377: error: previous declaration of ‘apr_sockaddr_info_get’ was here
mod_mono.c: In function ‘apr_sockaddr_info_get’:
mod_mono.c:723: error: number of arguments doesn’t match prototype
/usr/local/apache2/include/apr_network_io.h:377: error: prototype declaration
mod_mono.c:728: error: ‘port’ undeclared (first use in this function)
mod_mono.c:732: error: ‘family’ undeclared (first use in this function)
mod_mono.c:734: error: ‘hostname’ undeclared (first use in this function)
mod_mono.c:738: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:738: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:743: error: ‘sa’ undeclared (first use in this function)
mod_mono.c:743: error: ‘p’ undeclared (first use in this function)
mod_mono.c:743: error: invalid application of ‘sizeof’ to incomplete type ‘apr_sockaddr_t’
mod_mono.c: At top level:
mod_mono.c:758: error: conflicting types for ‘apr_socket_connect’
/usr/local/apache2/include/apr_network_io.h:347: error: previous declaration of ‘apr_socket_connect’ was here
mod_mono.c: In function ‘apr_socket_connect’:
mod_mono.c:761: error: dereferencing pointer to incomplete type
mod_mono.c:762: error: dereferencing pointer to incomplete type
mod_mono.c:762: error: dereferencing pointer to incomplete type
mod_mono.c: In function ‘apr_socket_send’:
mod_mono.c:776: error: dereferencing pointer to incomplete type
mod_mono.c: In function ‘apr_socket_recv’:
mod_mono.c:791: error: dereferencing pointer to incomplete type
mod_mono.c: At top level:
mod_mono.c:804: error: conflicting types for ‘apr_sleep’
/usr/local/apache2/include/apr_time.h:178: error: previous declaration of ‘apr_sleep’ was here
mod_mono.c:817: error: syntax error before ‘*’ token
mod_mono.c: In function ‘get_default_socket_name’:
mod_mono.c:819: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:819: error: ‘base’ undeclared (first use in this function)
mod_mono.c:819: error: ‘alias’ undeclared (first use in this function)
mod_mono.c:819: warning: return makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:823: error: syntax error before ‘ap_pool’
mod_mono.c: In function ‘try_connect’:
mod_mono.c:832: error: ‘conf’ undeclared (first use in this function)
mod_mono.c:835: error: ‘sock’ undeclared (first use in this function)
mod_mono.c:840: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:853: warning: passing argument 1 of ‘apr_sockaddr_info_get’ from incompatible pointer type
mod_mono.c:858: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:858: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:878: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:878: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:882: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:882: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:885: warning: implicit declaration of function ‘ap_pclosesocket’
mod_mono.c:892: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:892: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:896: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:896: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c: At top level:
mod_mono.c:905: error: syntax error before ‘*’ token
mod_mono.c: In function ‘get_directory’:
mod_mono.c:910: error: ‘filepath’ undeclared (first use in this function)
mod_mono.c:914: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:914: warning: assignment makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:940: error: syntax error before ‘*’ token
mod_mono.c: In function ‘set_environment_variables’:
mod_mono.c:947: error: ‘environment_variables’ undeclared (first use in this function)
mod_mono.c: At top level:
mod_mono.c:993: error: syntax error before ‘*’ token
mod_mono.c: In function ‘fork_mod_mono_server’:
mod_mono.c:1011: error: ‘config’ undeclared (first use in this function)
mod_mono.c:1014: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1014: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1014: error: too few arguments to function ‘ap_log_error’
mod_mono.c:1032: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1032: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1032: error: too few arguments to function ‘ap_log_error’
mod_mono.c:1041: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1041: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1041: error: too few arguments to function ‘ap_log_error’
mod_mono.c:1050: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1050: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1050: error: too few arguments to function ‘ap_log_error’
mod_mono.c:1060: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:1096: warning: assignment makes pointer from integer without a cast
mod_mono.c:1099: warning: assignment makes pointer from integer without a cast
mod_mono.c:1106: warning: assignment makes pointer from integer without a cast
mod_mono.c:1111: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1111: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1180: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1180: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1188: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1188: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c: At top level:
mod_mono.c:1193: error: syntax error before ‘ap_pool’
mod_mono.c: In function ‘setup_socket’:
mod_mono.c:1198: error: ‘conf’ undeclared (first use in this function)
mod_mono.c:1204: error: ‘sock’ undeclared (first use in this function)
mod_mono.c:1204: warning: implicit declaration of function ‘ap_psocket’
mod_mono.c:1204: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:1211: warning: passing argument 4 of ‘ap_log_error’ makes integer from pointer without a cast
mod_mono.c:1211: warning: passing argument 5 of ‘ap_log_error’ from incompatible pointer type
mod_mono.c:1211: warning: passing argument 6 of ‘ap_log_error’ makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:1239: error: syntax error before ‘*’ token
mod_mono.c: In function ‘get_table_send_size’:
mod_mono.c:1241: error: syntax error before ‘*’ token
mod_mono.c:1242: error: syntax error before ‘*’ token
mod_mono.c:1243: error: syntax error before ‘*’ token
mod_mono.c:1246: error: ‘elts’ undeclared (first use in this function)
mod_mono.c:1246: error: ‘table’ undeclared (first use in this function)
mod_mono.c:1251: error: ‘t_elt’ undeclared (first use in this function)
mod_mono.c:1251: error: syntax error before ‘table_entry’
mod_mono.c:1252: error: ‘t_end’ undeclared (first use in this function)
mod_mono.c: At top level:
mod_mono.c:1267: error: syntax error before ‘table’
mod_mono.c: In function ‘write_table_to_buffer’:
mod_mono.c:1269: error: syntax error before ‘*’ token
mod_mono.c:1270: error: syntax error before ‘*’ token
mod_mono.c:1271: error: syntax error before ‘*’ token
mod_mono.c:1275: error: ‘elts’ undeclared (first use in this function)
mod_mono.c:1275: error: ‘table’ undeclared (first use in this function)
mod_mono.c:1277: error: ‘buffer’ undeclared (first use in this function)
mod_mono.c:1285: error: ‘t_elt’ undeclared (first use in this function)
mod_mono.c:1285: error: syntax error before ‘table_entry’
mod_mono.c:1286: error: ‘t_end’ undeclared (first use in this function)
mod_mono.c: At top level:
mod_mono.c:1305: error: syntax error before ‘*’ token
mod_mono.c: In function ‘send_table’:
mod_mono.c:1310: error: ‘table’ undeclared (first use in this function)
mod_mono.c:1311: error: ‘pool’ undeclared (first use in this function)
mod_mono.c:1311: warning: assignment makes pointer from integer without a cast
mod_mono.c:1313: error: ‘sock’ undeclared (first use in this function)
mod_mono.c: In function ‘send_initial_data’:
mod_mono.c:1344: warning: assignment makes pointer from integer without a cast
mod_mono.c: In function ‘mono_execute_request’:
mod_mono.c:1386: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:1389: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:1410: error: invalid application of ‘sizeof’ to incomplete type ‘apr_socket_t’
mod_mono.c:1410: warning: assignment makes pointer from integer without a cast
mod_mono.c:1421: error: dereferencing pointer to incomplete type
mod_mono.c:1421: error: dereferencing pointer to incomplete type
mod_mono.c:1434: error: dereferencing pointer to incomplete type
mod_mono.c:1434: error: dereferencing pointer to incomplete type
mod_mono.c: In function ‘mono_handler’:
mod_mono.c:1507: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c: In function ‘start_xsp’:
mod_mono.c:1552: error: invalid application of ‘sizeof’ to incomplete type ‘apr_socket_t’
mod_mono.c:1552: warning: assignment makes pointer from integer without a cast
mod_mono.c:1561: error: dereferencing pointer to incomplete type
mod_mono.c:1561: error: dereferencing pointer to incomplete type
mod_mono.c:1567: error: dereferencing pointer to incomplete type
mod_mono.c:1567: error: dereferencing pointer to incomplete type
mod_mono.c:1570: error: dereferencing pointer to incomplete type
mod_mono.c:1570: error: dereferencing pointer to incomplete type
mod_mono.c: In function ‘terminate_xsp2’:
mod_mono.c:1595: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:1607: error: invalid application of ‘sizeof’ to incomplete type ‘apr_socket_t’
mod_mono.c:1607: warning: assignment makes pointer from integer without a cast
mod_mono.c:1612: error: dereferencing pointer to incomplete type
mod_mono.c:1612: error: dereferencing pointer to incomplete type
mod_mono.c: In function ‘mono_control_panel_handler’:
mod_mono.c:1641: error: ‘uri_components’ undeclared (first use in this function)
mod_mono.c:1641: error: ‘uri’ undeclared (first use in this function)
mod_mono.c:1651: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c:1669: warning: implicit declaration of function ‘ap_psprintf’
mod_mono.c:1670: warning: assignment makes pointer from integer without a cast
mod_mono.c: At top level:
mod_mono.c:1700: error: syntax error before ‘pool’
mod_mono.c: In function ‘mono_init_handler’:
mod_mono.c:1706: warning: passing argument 1 of ‘ap_add_version_component’ from incompatible pointer type
mod_mono.c:1706: error: too few arguments to function ‘ap_add_version_component’
mod_mono.c:1707: error: ‘p’ undeclared (first use in this function)
mod_mono.c:1708: warning: implicit declaration of function ‘ap_register_cleanup’
mod_mono.c:1708: error: ‘s’ undeclared (first use in this function)
mod_mono.c:1708: error: ‘ap_null_cleanup’ undeclared (first use in this function)
mod_mono.c: At top level:
mod_mono.c:1747: error: syntax error before ‘ap_pool’
mod_mono.c: In function ‘mono_child_init’:
mod_mono.c:1754: error: ‘s’ undeclared (first use in this function)
mod_mono.c:1754: error: request for member ‘module_index’ in something not a structure or union
mod_mono.c: At top level:
mod_mono.c:1760: error: syntax error before ‘mono_handlers’
mod_mono.c:1760: warning: type defaults to ‘int’ in declaration of ‘mono_handlers’mod_mono.c:1761: warning: braces around scalar initializer
mod_mono.c:1761: warning: (near initialization for ‘mono_handlers[0]’)
mod_mono.c:1761: warning: initialization makes integer from pointer without a castmod_mono.c:1761: warning: excess elements in scalar initializer
mod_mono.c:1761: warning: (near initialization for ‘mono_handlers[0]’)
mod_mono.c:1762: warning: braces around scalar initializer
mod_mono.c:1762: warning: (near initialization for ‘mono_handlers[1]’)
mod_mono.c:1762: warning: initialization makes integer from pointer without a castmod_mono.c:1762: warning: excess elements in scalar initializer
mod_mono.c:1762: warning: (near initialization for ‘mono_handlers[1]’)
mod_mono.c:1763: warning: braces around scalar initializer
mod_mono.c:1763: warning: (near initialization for ‘mono_handlers[2]’)
mod_mono.c:1763: warning: initialization makes integer from pointer without a castmod_mono.c:1763: warning: excess elements in scalar initializer
mod_mono.c:1763: warning: (near initialization for ‘mono_handlers[2]’)
mod_mono.c:1764: warning: braces around scalar initializer
mod_mono.c:1764: warning: (near initialization for ‘mono_handlers[3]’)
mod_mono.c:1764: warning: initialization makes integer from pointer without a castmod_mono.c:1764: warning: excess elements in scalar initializer
mod_mono.c:1764: warning: (near initialization for ‘mono_handlers[3]’)
mod_mono.c:1765: warning: data definition has no type or storage class
mod_mono.c:1778: warning: missing braces around initializer
mod_mono.c:1778: warning: (near initialization for ‘mono_cmds[0].func’)
mod_mono.c:1778: warning: initialization from incompatible pointer type
mod_mono.c:1783: warning: initialization from incompatible pointer type
mod_mono.c:1791: warning: initialization from incompatible pointer type
mod_mono.c:1797: warning: initialization from incompatible pointer type
mod_mono.c:1802: warning: initialization from incompatible pointer type
mod_mono.c:1807: warning: initialization from incompatible pointer type
mod_mono.c:1812: warning: initialization from incompatible pointer type
mod_mono.c:1817: warning: initialization from incompatible pointer type
mod_mono.c:1822: warning: initialization from incompatible pointer type
mod_mono.c:1828: warning: initialization from incompatible pointer type
mod_mono.c:1834: warning: initialization from incompatible pointer type
mod_mono.c:1840: warning: initialization from incompatible pointer type
mod_mono.c:1855: warning: initialization from incompatible pointer type
mod_mono.c:1873: warning: initialization from incompatible pointer type
mod_mono.c:1879: warning: initialization from incompatible pointer type
mod_mono.c:1884: warning: initialization from incompatible pointer type
mod_mono.c:1891: warning: initialization from incompatible pointer type
mod_mono.c:1895: warning: initialization from incompatible pointer type
mod_mono.c:1898: warning: initialization from incompatible pointer type
mod_mono.c:1907: error: syntax error before ‘mono_module’
mod_mono.c:1907: warning: type defaults to ‘int’ in declaration of ‘mono_module’
mod_mono.c:1909: error: ‘this_module_needs_to_be_ported_to_apache_2_0’ undeclared here (not in a function)
mod_mono.c:1910: warning: excess elements in scalar initializer
mod_mono.c:1910: warning: (near initialization for ‘mono_module’)
mod_mono.c:1911: warning: excess elements in scalar initializer
mod_mono.c:1911: warning: (near initialization for ‘mono_module’)
mod_mono.c:1912: warning: excess elements in scalar initializer
mod_mono.c:1912: warning: (near initialization for ‘mono_module’)
mod_mono.c:1913: warning: excess elements in scalar initializer
mod_mono.c:1913: warning: (near initialization for ‘mono_module’)
mod_mono.c:1914: warning: excess elements in scalar initializer
mod_mono.c:1914: warning: (near initialization for ‘mono_module’)
mod_mono.c:1915: warning: excess elements in scalar initializer
mod_mono.c:1915: warning: (near initialization for ‘mono_module’)
mod_mono.c:1916: warning: excess elements in scalar initializer
mod_mono.c:1916: warning: (near initialization for ‘mono_module’)
mod_mono.c:1917: warning: excess elements in scalar initializer
mod_mono.c:1917: warning: (near initialization for ‘mono_module’)
mod_mono.c:1918: warning: excess elements in scalar initializer
mod_mono.c:1918: warning: (near initialization for ‘mono_module’)
mod_mono.c:1919: warning: excess elements in scalar initializer
mod_mono.c:1919: warning: (near initialization for ‘mono_module’)
mod_mono.c:1920: warning: excess elements in scalar initializer
mod_mono.c:1920: warning: (near initialization for ‘mono_module’)
mod_mono.c:1921: warning: excess elements in scalar initializer
mod_mono.c:1921: warning: (near initialization for ‘mono_module’)
mod_mono.c:1922: warning: excess elements in scalar initializer
mod_mono.c:1922: warning: (near initialization for ‘mono_module’)
mod_mono.c:1923: warning: excess elements in scalar initializer
mod_mono.c:1923: warning: (near initialization for ‘mono_module’)
mod_mono.c:1924: warning: excess elements in scalar initializer
mod_mono.c:1924: warning: (near initialization for ‘mono_module’)
mod_mono.c:1925: warning: excess elements in scalar initializer
mod_mono.c:1925: warning: (near initialization for ‘mono_module’)
mod_mono.c:1926: warning: excess elements in scalar initializer
mod_mono.c:1926: warning: (near initialization for ‘mono_module’)
mod_mono.c:1928: warning: excess elements in scalar initializer
mod_mono.c:1928: warning: (near initialization for ‘mono_module’)
mod_mono.c:1928: warning: data definition has no type or storage class
make[1]: *** [mod_mono_la-mod_mono.lo] 错误 1
make[1]: Leaving directory `/root/Desktop/mod_mono-1.1.13.5/src'
make: *** [all-recursive] 错误 1
回复