[Mono-dev] Compile error with debuild on Ubuntu

Jonathan Chambers joncham at gmail.com
Thu Nov 15 15:35:15 UTC 2012

Are you trying to build a newer mono with 2.10 era build scripts? I believe
dmcs.exe/smcs.exe/gmcs.exe were removed and replaced with scripts. mcs.exe
now can handle building against all profiles via the 'sdk' option. So, you
may need to replace the failing line with a call to 'mcs.exe -sdk:4.0' or
'mcs.exe -sdk:4.5', if you cannot call the scripts directly.


On Wed, Nov 14, 2012 at 11:01 PM, Adam Baxter <voltagex at voltagex.org> wrote:

> Hi guys,
> I'm trying to build mono from Git on Ubuntu with debuild and I'm getting
> errors at the last build-step.
> >Cannot open assembly 'mcs/class/lib/net_4_0/dmcs.exe': No such file or
> directory.
> The complete log is about 1.9mb. I've posted it at
> https://raw.github.com/gist/4076563/c87b7177d5ed691003442eed6a38b392ad310016/gistfile1.txtbut if you want me to gzip it and post it to the list let me know.
> The only changes I have made are to remove a debian symbol check step as
> the debian packaging files are out of date.
> I also needed to use the monolite files to make the compile work at all
> My build command was EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe"
> debuild -j5 -b
> Any ideas?
> Thanks,
> Adam Baxter
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20121115/63b412b3/attachment.html>

More information about the Mono-devel-list mailing list