-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
xsp failed to build on 10.11 #44051
Comments
Have same problem? Did you resolved it somehow manualy? |
No resolution. Might just need a version bump. The xsp 3.0.11 release we're using is two and a half years old. It's the last tagged release in the mono/xsp repo. But there's plenty of commit activity on it, and they're incrementing the version number inside the code. Looks like they're just not cutting new releases of it. The ASP.NET home page for Mono points at the main Mono download page, not a separate XSP download. Maybe it's been rolled in to the Mono distribution now? Or they're just expecting people to clone the repo? Want to contact the XSP maintainers and find out? There's an email address in their README. |
After downloading and installing the most recent Universal MonoFramework from the official download page, I can confirm that it does not work. I've repeated the same steps that @apjanke followed after installation of the Mono Framework. I've tried following the installation instructions provided on the xsp repository with no luck, either. When I try running make install
Making install in build
Making install in m4
Making install in man
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/share/man/man1'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 xsp.1 mod-mono-server.1 fastcgi-mono-server.1 dbsessmgr.1 asp-state.1 '/usr/share/man/man1'
Making install in src
Making install in Mono.WebServer
Failure adding assembly ../../src/Mono.WebServer/4.0/Mono.WebServer2.dll to the cache: gac directories could not be created, possibly permission issues.
make[3]: *** [install-data-local] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1 I'll delve into a bit more when I have some free time. |
The default sudo make install
Password:
Making install in build
Making install in m4
Making install in man
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/share/man/man1'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 xsp.1 mod-mono-server.1 fastcgi-mono-server.1 dbsessmgr.1 asp-state.1 '/usr/share/man/man1'
Making install in src
Making install in Mono.WebServer
Package exported to: /usr/lib/mono/4.5/Mono.WebServer2.dll -> ../gac/Mono.WebServer2/0.4.0.0__0738eb9f132ed756/Mono.WebServer2.dll
Installed ../../src/Mono.WebServer/4.0/Mono.WebServer2.dll into the gac (/usr/lib/mono/gac)
Making install in Mono.WebServer.XSP
Package exported to: /usr/lib/mono/4.5/xsp4.exe -> ../gac/xsp4/4.2.0.0__0738eb9f132ed756/xsp4.exe
Installed ../../src/Mono.WebServer.XSP/xsp4.exe into the gac (/usr/lib/mono/gac)
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/pkgconfig'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 xsp-2.pc xsp-4.pc '/usr/lib/pkgconfig'
Making install in Mono.WebServer.Apache
Package exported to: /usr/lib/mono/4.5/mod-mono-server4.exe -> ../gac/mod-mono-server4/4.2.0.0__0738eb9f132ed756/mod-mono-server4.exe
Installed ../../src/Mono.WebServer.Apache/mod-mono-server4.exe into the gac (/usr/lib/mono/gac)
Making install in Mono.WebServer.FastCgi
Package exported to: /usr/lib/mono/4.5/fastcgi-mono-server4.exe -> ../gac/fastcgi-mono-server4/4.2.0.0__0738eb9f132ed756/fastcgi-mono-server4.exe
Installed ../../src/Mono.WebServer.FastCgi/fastcgi-mono-server4.exe into the gac (/usr/lib/mono/gac)
Making install in Mono.WebServer.Fpm
Package exported to: /usr/lib/mono/4.5/mono-fpm.exe -> ../gac/mono-fpm/4.2.0.0__0738eb9f132ed756/mono-fpm.exe
Installed ../../src/Mono.WebServer.Fpm/mono-fpm.exe into the gac (/usr/lib/mono/gac)
Making install in test
Making install in controls
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/controls/'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 BreadCrumbs_2.0.ascx MonoSamplesHeader.ascx FileList.ascx '/usr/lib/xsp/test/controls/'
Making install in 1.1
Making install in authtest
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/authtest'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 index.aspx login.aspx web.config '/usr/lib/xsp/test/1.1/authtest'
Making install in asp.net
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/asp.net'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 browsercaps.aspx codebehind1.aspx code-render.aspx body.inc header.inc registertest1.ascx registertest2.ascx includetest.aspx registertest.aspx server-side-object.aspx session1.aspx typedesc.aspx index.aspx transfer1.aspx transfer2.aspx serial.aspx '/usr/lib/xsp/test/1.1/asp.net'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/bin'
/usr/local/opt/coreutils/libexec/gnubin/install -c codebehind1.dll typedesc.dll '/usr/lib/xsp/test/bin'
Making install in webcontrols
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/webcontrols'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 listitem.aspx temperature.aspx validator1.aspx web_adrotator.aspx web_button.aspx web_checkbox.aspx web_checkboxlist.aspx web_datagrid.aspx web_datagrid_command.aspx web_dropdownlist.aspx web_hyperlink.aspx web_image.aspx web_imagebutton.aspx web_label.aspx web_linkbutton.aspx web_listbox.aspx web_literal.aspx web_panel.aspx web_placeholder.aspx web_radiobutton.aspx web_radiobuttonlist.aspx web_regularexpressionvalidator.aspx web_comparevalidator.aspx web_repeater.aspx web_table2.aspx web_table.aspx web_textbox.aspx web_xml.aspx calendar.aspx datalist.aspx dbpage1.aspx dbpage2.aspx people.xml web_adrotator.xml peopletable.xsl index.aspx '/usr/lib/xsp/test/1.1/webcontrols'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/webcontrols'
/usr/local/opt/coreutils/libexec/gnubin/install -c dbpage_test_setup.exe '/usr/lib/xsp/test/1.1/webcontrols'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/webcontrols'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 dbpage1.sqlite dbpage2.sqlite '/usr/lib/xsp/test/1.1/webcontrols'
Making install in html
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/html'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 button.aspx htmlanchor.aspx htmlbutton.aspx htmlgeneric.aspx htmlimage.aspx htmlinputbutton.aspx htmlinputcheckbox.aspx htmlinputfile.aspx htmlinputhidden.aspx htmlinputimage.aspx htmlinputradiobutton.aspx htmlinputtext.aspx htmlselect.aspx htmltable.aspx htmltextarea.aspx index.aspx '/usr/lib/xsp/test/1.1/html'
Making install in webservice
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/webservice'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 ConverterService.asmx TestService.asmx ServiceClient.exe.config CompressExtension.cs index.aspx '/usr/lib/xsp/test/1.1/webservice'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/bin'
/usr/local/opt/coreutils/libexec/gnubin/install -c extensions.dll '/usr/lib/xsp/test/bin'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test'
/usr/local/opt/coreutils/libexec/gnubin/install -c ServiceClient.exe extensions.dll '/usr/lib/xsp/test'
Making install in databind
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/databind'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 databind-arraylist.aspx databind-attribute.aspx databind-class.aspx databind-template.aspx index.aspx '/usr/lib/xsp/test/1.1/databind'
Making install in handlers
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/handlers'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 chunked.ashx empty.ashx monodoc.ashx webhandler.ashx async.ashx index.aspx '/usr/lib/xsp/test/1.1/handlers'
Making install in customcontrol
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/customcontrol'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 tabcontrol2.aspx tabcontrol.aspx index.aspx '/usr/lib/xsp/test/1.1/customcontrol'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/bin'
/usr/local/opt/coreutils/libexec/gnubin/install -c tabcontrol.dll tabcontrol2.dll '/usr/lib/xsp/test/bin'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/1.1/'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 index.aspx '/usr/lib/xsp/test/1.1/'
Making install in 2.0
Making install in menu
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/2.0/menu'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 menu1.aspx menu2.aspx stock_copy_24.png stock_cut_24.png stock_paste_24.png index.aspx '/usr/lib/xsp/test/2.0/menu'
Making install in treeview
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/2.0/treeview'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 populate-on-demand.aspx populate.cs treeview.aspx treeview-databound.aspx index.aspx '/usr/lib/xsp/test/2.0/treeview'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/bin'
/usr/local/opt/coreutils/libexec/gnubin/install -c treeview.dll '/usr/lib/xsp/test/bin'
Making install in masterpages
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/2.0/masterpages'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 simple.master simple.aspx frame.master content1.aspx content2.aspx index.aspx '/usr/lib/xsp/test/2.0/masterpages'
Making install in gridview
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/2.0/gridview'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 BasicGrid.aspx data.xml index.aspx ObjectBoundGrid.aspx '/usr/lib/xsp/test/2.0/gridview'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/2.0/'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 index.aspx '/usr/lib/xsp/test/2.0/'
Making install in App_Code
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test/App_Code/'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 Application.cs '/usr/lib/xsp/test/App_Code/'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/test'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 mod-mono-server.exe.config index.aspx xsp.exe.config web.config global.asax mono.png monobutton.png mono-powered-big.png small-icon.png sample.webapp favicon.ico mono-xsp.css Web.sitemap missing_components.aspx '/usr/lib/xsp/test'
Making install in tools
Making install in asp_state
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/4.0'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 asp-state4.exe.config '/usr/lib/xsp/4.0'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/4.0'
/usr/local/opt/coreutils/libexec/gnubin/install -c asp-state4.exe '/usr/lib/xsp/4.0'
Making install in dbsessmgr
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/4.0'
/usr/local/opt/coreutils/libexec/gnubin/install -c -m 644 dbsessmgr4.exe.config '/usr/lib/xsp/4.0'
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib/xsp/4.0'
/usr/local/opt/coreutils/libexec/gnubin/install -c dbsessmgr4.exe '/usr/lib/xsp/4.0'
Making install in mono-asp-apps
Making install in scripts
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/bin'
/usr/local/opt/coreutils/libexec/gnubin/install -c xsp2 mod-mono-server2 fastcgi-mono-server2 asp-state2 dbsessmgr2 asp-state dbsessmgr xsp mod-mono-server fastcgi-mono-server xsp4 mod-mono-server4 fastcgi-mono-server4 asp-state4 dbsessmgr4 mono-fpm '/usr/bin'
Making install in packaging
Making install in opensuse
Making install in lib
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/lib'
/bin/sh ../libtool --mode=install /usr/local/opt/coreutils/libexec/gnubin/install -c libfpm_helper.la '/usr/lib'
libtool: install: /usr/local/opt/coreutils/libexec/gnubin/install -c .libs/libfpm_helper.0.so /usr/lib/libfpm_helper.0.so
libtool: install: (cd /usr/lib && { ln -s -f libfpm_helper.0.so libfpm_helper.so || { rm -f libfpm_helper.so && ln -s libfpm_helper.0.so libfpm_helper.so; }; })
libtool: install: /usr/local/opt/coreutils/libexec/gnubin/install -c .libs/libfpm_helper.lai /usr/lib/libfpm_helper.la
libtool: install: /usr/local/opt/coreutils/libexec/gnubin/install -c .libs/libfpm_helper.a /usr/lib/libfpm_helper.a
libtool: install: chmod 644 /usr/lib/libfpm_helper.a
libtool: install: ranlib /usr/lib/libfpm_helper.a
Making install in shim
/usr/local/opt/coreutils/libexec/gnubin/mkdir -p '/usr/bin'
/bin/sh ../libtool --mode=install /usr/local/opt/coreutils/libexec/gnubin/install -c shim '/usr/bin'
libtool: install: /usr/local/opt/coreutils/libexec/gnubin/install -c shim /usr/bin/shim
Making install in docs
Making install in Mono.WebServer
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator
Making install in Mono.FastCGI
find: -printf: unknown primary or operator
find: -printf: unknown primary or operator When I then open a new shell and run $ xsp
Cannot open assembly '/Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/2.0/xsp2.exe': No such file or directory. Turns out, it is being linked to here: When ran... $ mono /Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/4.5/xsp4.exe
Handling exception type FileNotFoundException
Message is Could not load file or assembly 'xsp4, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies
IsTerminating is set to True
Could not load file or assembly 'xsp4, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies
at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) <0x10a969390 + 0x00c20> in <filename unknown>:0
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource webSource) <0x10a968320 + 0x000bf> in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet) <0x107309890 + 0x009a9> in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) <0x107309270 + 0x00151> in <filename unknown>:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) <0x107308d90 + 0x0002d> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'xsp4, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies
File name: 'xsp4, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceAndUnwrap (string,string)
at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) <0x10a969390 + 0x00c20> in <filename unknown>:0
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono.WebServer.WebSource webSource) <0x10a968320 + 0x000bf> in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet) <0x107309890 + 0x009a9> in <filename unknown>:0
at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) <0x107309270 + 0x00151> in <filename unknown>:0
at Mono.WebServer.XSP.Server.Main (System.String[] args) <0x107308d90 + 0x0002d> in <filename unknown>:0 Finally, followed where the file is linked to: $ mono /Library/Frameworks/Mono.framework/Versions/4.2.1/lib/mono/gac/xsp4/3.0.0.0__0738eb9f132ed756/xsp4.exe
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.WebServer2, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.WebServer2, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.WebServer2, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.WebServer2, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' So, it does install correctly (the error above is just saying that it can't find the required files to run a web server). I hope this helps. I'm not very familiar with how taps work with Homebrew so hopefully this can be of use to someone. |
Any news on this? Try to setup mono and xsp so i can run webapps within Rider IDE.
Referencing comment above, this:
|
https://gist.github.com/6b5593c308243c15993b
Missing
gmcs
.Could be a
mono
version incompatibility? This page saysgmcs
was a compiler from old versions of Mono, which has been unified intomcs
.The text was updated successfully, but these errors were encountered: