Compiling MonoDevelop 4.2.3

I need help, I'm trying to compile the monodevolution code, but when I use the "./configure" command, they tell me that I need to install the mono version, but I installed it

    [raven@localhost ~]$ mono -V
    Mono JIT compiler version 3.2.8 (tarball Fri May 30 08:15:47 CDT 2014)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug 
        LLVM:          supported, not enabled.
        GC:            sgen
    [raven@localhost ~]$ cd /home/raven/Downloads/monodevelop-4.2.3
    [raven@localhost monodevelop-4.2.3]$ ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for mono... /usr/local/bin/mono
    checking for gmcs... /usr/local/bin/gmcs
    checking for pkg-config... /usr/bin/pkg-config
    configure: error: You need mono 3.0.4 or newer
    [raven@localhost monodevelop-4.2.3]$
+4
source share
3 answers

configure script pkg-config. , mono.pc pkg-config . , , mono /usr/local, , mono.pc /usr/local/lib/pkg-config. pkg-config /usr/bin, /usr/local. configure , PKG_CONFIG_PATH, :

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
+2

mono-devel. . mono-devel :

$ sudo apt-get install mono-devel
+2

./autogen.sh --prefix=/usr

./autogen.sh --prefix=/usr/local
+1

Source: https://habr.com/ru/post/1542656/


All Articles