[Mono-aspnet-list] How to install Mono 3 RTM in Debian

Andrus kobruleht2 at hot.ee
Thu Aug 22 10:51:32 UTC 2013


Hi!

I used

 http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2

and after intall

ln -s /opt/mono-3.2/lib/mono/4.0/mod-mono-server4.exe /opt/mono-3.2/lib/mono/4.5/mod-mono-server4.exe

to get it working according to

http://stackoverflow.com/questions/16583114/mono-3-0-debian-asp-net-method-not-found-system-confi$

I need to use net 4 since 4.5 is not supported in MSSql server 2003 and I ned to deply to it also.

Is this ok or should I remove it and try xsp 3 ?



From: Daniel Lo Nigro 
Sent: Wednesday, August 21, 2013 3:27 PM
To: Andrus 
Cc: Jay Wren ; mono-aspnet-list at lists.ximian.com 
Subject: Re: [Mono-aspnet-list] How to install Mono 3 RTM in Debian

  a.. You need to run apt-get install build-essential to get the tools to build, but it looks like you got this working :)

  b.. Download XSP from Git rather than from the tarball, as the tarball is out of date. You need at least XSP 3 as it has some bug fixes not included in 2.10. 
  c.. You need to download and compile libgdiplus separately, similarly to XSP.



On Tue, Aug 20, 2013 at 5:40 AM, Andrus <kobruleht2 at hot.ee> wrote:

  I downoaded  xsp-2.10.2.tar.bz2 and tried 

  export PKG_CONFIG_PATH=/opt/mono-3.2/lib/pkgconfig
  ./configure --prefix=/opt/mono-3.2

  but got error below.
  How to fix ?

  Andrus.

  checking build system type... x86_64-unknown-linux-gnu
  checking host system type... x86_64-unknown-linux-gnu
  checking target system type... x86_64-unknown-linux-gnu
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... /bin/mkdir -p
  checking for gawk... gawk
  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 gawk... (cached) gawk
  checking for a thread-safe mkdir -p... /bin/mkdir -p
  checking for pkg-config... /usr/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  checking for MONO_MODULE... yes
  checking for gmcs... /usr/bin/gmcs
  checking for dmcs... no
  configure: error: You need to install 'dmcs'

  Andrus.

  From: Jay Wren 
  Sent: Monday, August 19, 2013 10:01 PM
  To: Andrus 
  Subject: Re: [Mono-aspnet-list] How to install Mono 3 RTM in Debian

  you need to install XSP using similar instructions 
  --
  Jay 

  On Aug 19, 2013, at 2:53 PM, "Andrus" <kobruleht2 at hot.ee> wrote:


    I installed mono 3.2 using your instructions but
    there is no file "/opt/mono-3.2/bin/mod-mono-server4"

    It exists in 2.10

    How to use  mod_mono in 3.2 ?

    Andrus.

    From: Daniel Lo Nigro 
    Sent: Thursday, August 15, 2013 2:36 PM
    To: Andrus 
    Cc: mono-aspnet-list at lists.ximian.com 
    Subject: Re: [Mono-aspnet-list] How to install Mono 3 RTM in Debian

      Mono 3 was released in July.
    The initial release of Mono 3.0 came out in October 2012. The release you're talking about in July was probably Mono 3.2 :)

      This is production server so installation should not break existing applications using mono /opt/mono-2.10

    Something like this (fixing any typos I've made): 
    cd /usr/local/src
    wget http://download.mono-project.com/sources/mono/mono-3.2.1.tar.bz2
    tar jxf mono-3.2.1.tar.bz2
    cd mono-3.2.1
    ./autogen.sh --prefix=/opt/mono-3.2
    make
    make install

    Then you can use /opt/mono-3.2.1/bin/mono for any apps that you want to use Mono 3.2.1. Apps currently using Mono 2.10 will continue to do so unless you explicitly change them.

    I use GNU Stow to manage my Mono versions. They're all stored at /usr/local/stow/ in directories per version (so /usr/local/stow/mono-3.2.1 for example, similar to the /opt paths above). Stow handles creating symlinks in /usr/local/bin to the version you want to use by default.



    On Sun, Aug 11, 2013 at 11:51 PM, Andrus <kobruleht2 at hot.ee> wrote:

      Thank you.

      Mono 3 was released in July. Dates of files

      http://void.printf.net/~bredroll/pmono/pmono/

      at 5th of May.
      So it looks like this is not released version.

      Debian production server runs asp .net mvc3 applications using  mod_mono and Mono 2.10.8

      It contains installed mono 2.6 which looks like it is not used.

      Where to find mono 3 RTM package for it or instructions how to compile Mono in this case ?
      This is production server so installation should not break existing applications using mono /opt/mono-2.10

      Andrus.


      From: Daniel Lo Nigro 
      Sent: Sunday, August 11, 2013 4:20 PM
      To: Andrus 
      Cc: mono-aspnet-list at lists.ximian.com 
      Subject: Re: [Mono-aspnet-list] How to install Mono 3 RTM in Debian

      Ian Norton's pmono packages are pretty good (http://inorton.wordpress.com/pmono-parallel-mono-debian-pacakges/) 

      Otherwise, you can just download the source and manually compile it. It's not too difficult to do and you can use the same Debian packaging scripts or something like checkinstall to make your own packages. :)



      On Sun, Aug 11, 2013 at 5:34 AM, Andrus <kobruleht2 at hot.ee> wrote:

        Mono 2.10 is installed in Debian as parallel installation to /opt/mono-2.10

        Package 2.10.8-parallel-environment-amd64.deb  package downloaded from http://sourceforge.net/projects/mono-parallel/files/

        How to install released Mono 3 in similar way  ? Where to similar package for Mono 3 ?

        Andrus. 
        _______________________________________________
        Mono-aspnet-list mailing list
        Mono-aspnet-list at lists.ximian.com
        http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



    _______________________________________________
    Mono-aspnet-list mailing list
    Mono-aspnet-list at lists.ximian.com
    http://lists.ximian.com/mailman/listinfo/mono-aspnet-list



  _______________________________________________
  Mono-aspnet-list mailing list
  Mono-aspnet-list at lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20130822/175f8d08/attachment.html>


More information about the Mono-aspnet-list mailing list