FreeBSD installs the latest mono version as ports

Source: Internet
Author: User
I have been compiling and installing the latest mono version 2.4.2.3 on FreeBSD for the past two days. However, I have tried many times and cannot compile it normally, so I have to give up temporarily. Then we will try to install it in the simplest way, ports.

To install the latest mono version, update ports with the following command:
Reference
Portsnap fetch Extract
Portsnap fetch update

It should be noted that portsnap fetch extract only needs to be run for the first time, and then only needs to run the following statements to update ports.

It takes a lot of time to update ports. Please wait. After the ports update is complete, we can install the latest version of mono. The latest version of Mono on ports is 2.4.2.3. Generally, make install clean is used directly, but I personally know that automatic download will be slow, so we can download it manually in windows.

No matter how you use it, download the corresponding mono version from the official mono website. Http://ftp.novell.com/pub/mono/sources-stable/
Reference
Mono-2.4.2.3.tar.bz2
Mono-basic-2.4.2.tar.bz2
Libgdiplus-2.4.2.tar.bz2
Gluezilla-2.4.2.tar.bz2
Xsp-2.4.2.tar.bz2

Copy these files to/usr/ports/distfiles /.
Reference
MV *. bz2/usr/ports/distfiles/

After copying, you can start the installation.
Reference
CD/usr/ports/lang/MONO/
Make install clean

The next step is a long wait ......

After the compilation and installation are complete, run the following command:
Reference
Rehash
Mono-V

If it is normal, the following information should be displayed:
Reference
Mono JIT compiler version 2.4.2.3 (tarball Fri Nov 13 12:29:24 CST 2009)
Copyright (c) 2002-2008 Novell, INC and contributors. www.mono-project.com
TLS: _ thread
GC: encoded ded Boehm (with typed GC)
SIGSEGV: normal
Notification: thread + polling
Architecture: amd64
Disabled: None

So far, even if the latest version of Mono is installed, the next step is to install nginx, MySQL, and so on, to build a web server that supports Asp.net. However, this part is the next one.ArticleSo I won't go into depth here.

The above is installed in FreeBSD 7.2 x64.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.