A problem compiling 0.4.4 on ubunty hardy



I'm trying to compile 0.4.4 or svn on Ubuntu without success.

First, I tried to do it on Mandriva 2008.1. I gave up when GLIB_SHARP_REQ_VERSION=2.12.1 dependency, even manually changed into 2.12.0 failed at make stage.

So now I'm trying to compile it on Ubuntu. It required so many additional packages installed. Now the packages are here but gtk-sharp 2.12.1. Its installation from unstable repository would totally mess the system due package incompatibilities (20 packages to be deleted), so I refused to do it. When I edit gio-sharp/config and config.in to change 2.12.1 into 2.12.0, ./config passes. But make fails. It happens both with the release and the trunk.

Is there a solution to my problem?



-----------------------------------------------------------------


make stdout with some Russian->English translations:


make  all-recursive
make[1]: Enter directory `/home/sasha/tmp/f-spot'
Making all in gio-sharp
make[2]: Enter directory `/home/sasha/tmp/f-spot/gio-sharp'
Making all in gio
make[3]: Enter directory `/home/sasha/tmp/f-spot/gio-sharp/gio'
/usr/bin/mcs -debug -nowarn:0169,0612,0618 -unsafe -out:gio-sharp.dll -target:library -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll generated/*.cs ./FileFactory.cs error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/DriveAdapter.cs(219,71): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/DriveAdapter.cs(250,78): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/FileAdapter.cs(682,78): (Location of the symbol related to previous error) generated/FileAdapter.cs(1012,33): error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/FileAdapter.cs(1007,81): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/FileAdapter.cs(1038,81): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/FileAdapter.cs(1069,79): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/FileAdapter.cs(1100,89): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/MountAdapter.cs(200,73): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/MountAdapter.cs(231,71): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/MountAdapter.cs(262,73): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/VolumeAdapter.cs(152,72): (Location of the symbol related to previous error) error CS0136: A local variable named `result' cannot be declared in this scope because it would give a different meaning to `result', which is already used in a `method argument' scope to denote something else generated/VolumeAdapter.cs(183,72): (Location of the symbol related to previous error)
Compilation failed: 12 error(s), 0 warnings
make[3]: *** [gio-sharp.dll] Error 1
make[3]: Leaving direcrory `/home/sasha/tmp/f-spot/gio-sharp/gio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving direcrory `/home/sasha/tmp/f-spot/gio-sharp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving direcrory `/home/sasha/tmp/f-spot'
make: *** [all] Error 2

---
with respect
Alexander Rabtchevich




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]