[MonoDevelop] Unable to build MD from trunk because of mono.pc

B.R. severedcross at gmail.com
Fri Mar 19 16:28:58 EDT 2010


Hi,

Mono 2.7 breaks the embedding ABI, so the soname has been bumped, and the
pkg-config .pc file has also been bumped to mono-2.pc. Symlinking that to
mono.pc helped me build MonoDevelop, but it's an ugly hack and should be
avoided if possible. I imagine the autotools scripts should be updated to
accept mono-2.pc for the Mono dependency.

--Bojan

On Fri, Mar 19, 2010 at 4:21 PM, Alexander M. Batishchev <
abatishchev at godfather.net.ru> wrote:

>  Hello.
>
> I’m unable to build MonoDevelop from trunk (r153914) because configuration
> script can’t find mono to be installed
>
>
>
> $ mono --version
>
> Mono JIT compiler version 2.7 (/trunk/mono r153791 Thu Mar 18 03:42:04 MSK
> 2010)
>
>
>
> $ configure
>
> ..
>
> checking for UNMANAGED_DEPENDENCIES_MONO... no
>
> configure: error: Please install mono version 2.4.2 or later to install
> MonoDevelop.
>
> Please see http://www.mono-project.org/ to download latest mono sources or
> packages
>
>
>
> I have read here
> http://n4.nabble.com/can-t-install-monodevelop-1-9-1-after-installed-mono-2-4-preview2-tp1516079p1516080.htmlthat it can be because of mono.pc absence
>
>
>
> $ ls /usr/lib/pkgconfig/ | grep mono
>
> mono-2.pc
>
> mono-cairo.pc
>
> monodoc.pc
>
> mono-lineeditor.pc
>
> mono-nunit.pc
>
> mono-options.pc
>
> mono.web.pc
>
>
>
> $ cp /usr/lib/pkgconfig/mono-2.pc /usr/lib/pkgconfig/mono.pc
>
> $ configure
>
> ..
>
> checking for UNMANAGED_DEPENDENCIES_MONO... yes
>
> checking for mono... /usr/bin/mono
>
> checking for gmcs... /usr/bin/gmcs
>
>
>
> And it works!
>
> Maybe MD configuration script is out of date in part of .pc files?
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100319/9a5b6c31/attachment.html 


More information about the Monodevelop-list mailing list