Re: [Banshee-List] Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh



On 15 September 2017 at 19:24, Nicholas Little
<arealityfarbetween googlemail com> wrote:
On 14 Sep 2017 23:22, "Sharky" <simondedman gmail com> wrote:

$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make

errors all: https://pastebin.com/Q3391JEr
relevant:

Making all in Banshee.Gio
  MCS   ../../../bin/Banshee.Gio.dll
./Banshee.Hardware.Gio/LowLevel/Manager.cs(35,7): error CS0246: The type or
namespace name `GUdev' could not be found. Are you missing an assembly
reference?
<snip />
The type or namespace name `GUdev' could not be found. Are you missing an
assembly reference?
Compilation failed: 10 error(s), 0 warnings
Makefile:1056: recipe for target '../../../bin/Banshee.Gio.dll' failed
make[4]: *** [../../../bin/Banshee.Gio.dll] Error 1
Makefile:544: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:547: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:640: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:568: recipe for target 'all' failed
make: *** [all] Error 2

Strange as I thought I had gudev. From autogen/config output:

Extra Features:
    GIO Backend:           yes (gio-sharp >= 2.99)
    GIO Hardware:          yes (gudev-sharp >= 3.0)


This error is really odd - there haven't been any changes to that for a
while. Unfortunately gudev-sharp doesn't give much version information, my
copy reports only that it's version 3.0.

What version of Ubuntu is this btw? (You may have said but I forgot and I'm
too lazy to scroll all the way back up)

Okay, I'm not actually that lazy. I downloaded the ubuntu Zesty
package and extracted the assembly. Running it through monodis yields
this:

nicholas@shambles ~/Source/Csharp/banshee $ monodis ~/gudev-sharp.dll
.assembly extern mscorlib
{
  .ver 4:0:0:0
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
}
.assembly 'gudev-sharp'
{
  .custom instance void class
[mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'()
=  (
        01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78   // ....T..WrapNonEx
        63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01       ) // ceptionThrows.

  .permissionset reqmin =
{[mscorlib]System.Security.Permissions.SecurityPermissionAttribute =
{property bool 'SkipVerification' = bool(true)}}
  .hash algorithm 0x00008004
  .ver  3:0:0:0
  .publickey = (
        00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00   // .$..............
        00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00   // .$..RSA1........
        57 C5 D1 7A 11 C8 D8 34 25 E0 65 7F B5 25 AA 6E   // W..z...4%.e..%.n
        A2 C7 0D 16 E5 6D F2 2E C8 A7 5F 49 2B 11 EE 8B   // .....m...._I+...
        98 65 31 4F CD 8F AD 96 9E C0 57 4C E7 76 B8 CC   // .e1O......WL.v..
        D2 F7 F4 67 F1 00 EB 7D 97 FE A7 6E 84 11 D1 2E   // ...g...}...n....
        3B E8 FD 40 75 10 9D A8 FF 69 8C 24 DF 59 EA D0   // ;..@u....i.$.Y..
        4F 78 28 C8 3B 3D 44 3E CE F8 DE 61 B7 2B F2 17   // Ox(.;=D>...a.+..
        04 21 00 D3 27 0E 6B CA F3 B0 43 9F EA 80 CB 3D   // .!..'.k...C....=
        5B 0F 0B F7 36 4F 46 81 C1 EE 17 FC D6 CF AD C6 ) // [...6OF.........
}
.module 'gudev-sharp.dll' // GUID = {E24337B7-CEDC-49F1-8A7A-ADDC588DB298}

.custom instance void class
[mscorlib]System.Security.UnverifiableCodeAttribute::'.ctor'() =  (01
00 00 00 ) // ....

My system's installed gudev-sharp yields a far longer output so it
sounds like gudev-sharp really hasn't compiled correctly in Ubuntu's
package and it doesn't appear to have any types in it...

I'd definitely suggest you compile your own, FYI size is a simpler
comparison, e.g:

nicholas@shambles ~/Source/Csharp/banshee $ ls -1sh ~/gudev-sharp.dll
/usr/lib/mono/gac/gudev-sharp/3.0.0.0__3565e728cafab25e/gudev-sharp.dll
4.0K /home/nicholas/gudev-sharp.dll
 16K /usr/lib/mono/gac/gudev-sharp/3.0.0.0__3565e728cafab25e/gudev-sharp.dll

<snip />

It's worth filing a bug with Ubuntu for this one tbh.


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