Cannot compile using Monodevelop

Asked by Alberto César Rodríguez Tejeda


I just downloaded the solution with "bzr branch lp:do" and opened the solution in Ubuntu using Monodevelop 2.0.

The problem is that when I try to compile I get:

[Task:File=, Line=0, Column=0, Type=Error, Priority=Normal, Description=Source file `/home/alberto/dev/do/Do.Universe/src/AssemblyInfo.cs' could not be found(CS2001)]

I have noticed that the file AssemblyInfo.cs is missing from all the projects in the solution, but instead I find a file named "". If I rename the file to remove the ".in" I get this error:

[Task:File=/home/alberto/dev/do/Do.Universe/src/AssemblyInfo.cs, Line=39, Column=12, Type=Error, Priority=Normal, Description=Error during emitting `System.Reflection.AssemblyVersionAttribute'
attribute. The reason is `Specified version `@ABI_VERSION@.0.0' is not valid'(CS0647)]

I want to compile the project to study the source code and to hopefully try to help in the development of the project. If someone can give me some insight into what I am doing wrong I would be very grateful.


Alberto Rodríguez

Question information

English Edit question
Do Edit question
No assignee Edit question
Solved by:
Alberto César Rodríguez Tejeda
Last query:
Last reply:
Revision history for this message
Alberto César Rodríguez Tejeda (macrobug) said :

I have tried to compile with,
it told me to install autoconf, automake and libtool.
I installed those and now I get this output:

alberto@alberto-laptop:~/dev/do$ ./

I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./ command line.
Running libtoolize ...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running aclocal -I . -I m4/shamrock ... warning: macro `AM_GCONF_SOURCE_2' not found in library
Running automake --gnu ...
Running autoconf ...
./ line 5: error: command not found
./ line 8: intltoolize: command not found
./ line 14: [: -lt: unary operator expected
Running intltoolize --force --copy --automake ...
./ line 27: intltoolize: command not found
./ line 30: error: command not found
rm: cannot remove `.autogen.log': No such file or directory
Running ./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... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
./configure: line 2831: syntax error near unexpected token `0.35.0'
./configure: line 2831: `IT_PROG_INTLTOOL(0.35.0)'

One thing: I renamed "" to "AssemblyInfo.cs" and changed the line
"[assembly: AssemblyVersion("@ABI_VERSION@.0.0")]"
"[assembly: AssemblyVersion("8.0.0")]"
and that project was built without any error. I am going to try that with all the projects in the solution to see if it works.

Revision history for this message
Alberto César Rodríguez Tejeda (macrobug) said :

Problem solved. The fact is that to compile GNOME Do from monodevelop you have to compile it first with autotools using the steps described here: .

This two answers helped me to compile from Monodevelop:

You also need 'libgconf2-dev' and 'intltool' (on Ubuntu). In order to
build using MonoDevelop you will need to first be able to build from
the command-line. Check here for more information.

- Robert

We don't compile within Monodevelop anymore. We use autotools. I would just go to the directory you've got the source in and type in the following commands.

sudo make install