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



On 13 September 2017 at 18:24, Sharky <simondedman gmail com> wrote:
Cheers again. Progess:

git: needed "git init" between clone and the next command but I think it
worked. Although I had everything by now, good to have command for the
future.

I wouldn't be so sure - sounds like you just initialised the directory
you cloned Banshee to as a git repository :)

My bad - I should have said:

git clone <url>
cd <repo>
git submodule update --init

Created README & glue, as you said this just led to next error:
Requested 'glib-sharp-3.0 >= 3.22.6' but version of GLib is 2.99.3

Tried:
$ ./configure --enable-gst-native
No package 'dbus-sharp-glib-2.0' found
$ sudo apt install libdbus-glib2.0-cil-dev
$ ./configure --enable-gst-native
configure: error: gudev-sharp-3.0 was not found or is not up to date.
Please install gudev-sharp-3.0 of at least version 3.0, or disable GIO
Hardware support by passing --disable-gio-hardware

Maybe it didn't install properly from zip, trying git.
$ git clone https://github.com/mono/gudev-sharp.git
fatal: destination path 'gudev-sharp' already exists and is not an empty
directory
gudev-sharp doesn't have any submodules so zip should be fine. But obviously
hasn't worked.

You shouldn't need to get this one from source. The package should be
called gudev-sharp-3.0-cil-dev. If you've done a make install then
it'll have used the default prefix (/usr/local) so you might want to
make uninstall it.

In gudev-sharp:
$ make
Making all in gudev
make[1]: Entering directory '/home/simon/banshee arfbtwn
fork/gudev-sharp/gudev'
cp ./gudev-api.raw gudev-api.xml
chmod u+w gudev-api.xml
gapi3-fixup --api=./gudev-api.xml --metadata=./gudev.metadata
gapi3-codegen --generate ./gudev-api.xml
-I:/usr/local/lib/pkgconfig/../../share/gapi-3.0/glib-api.xml
--outdir=generated --assembly-name=gudev-sharp && touch generated-stamp
GUdev.Client.QueryByDeviceNumber - Unknown type GUdevDeviceNumber on
parameter number
GUdev.Device.GetDeviceNumber - Unknown return type: GUdevDeviceNumber

Generation Summary:
  Enums: 1  Structs: 0  Boxed: 0  Opaques: 0  Interfaces: 0  Objects: 2
Callbacks: 0
  Properties: 1  Signals: 1  Methods: 33  Constructors: 1  Throttled: 1
Total Nodes: 40

no -keyfile:../gudev-sharp.snk -out:gudev-sharp.dll -unsafe -target:library
-r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll
AssemblyInfo.cs generated/*.cs
/bin/bash: no: command not found
Makefile:503: recipe for target 'gudev-sharp.dll' failed
make[1]: *** [gudev-sharp.dll] Error 127
make[1]: Leaving directory '/home/simon/banshee arfbtwn
fork/gudev-sharp/gudev'
Makefile:396: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

So this is problably my 'live' issue right now.

Trying to get around this:
$ ./configure --enable-gst-native --disable-gio-hardware
Worked:

banshee-2.9.2

  Build Environment
    Install Prefix:        /usr
    Datadir:               /usr/local/share
    Libdir:                /usr/local/lib

    C Compiler:            /bin/bash /home/simon/banshee arfbtwn
fork/build/m4/shave/shave cc gcc
    Mono C# Compiler:      /bin/bash /home/simon/banshee arfbtwn
fork/build/m4/shave/shave mcs /usr/bin/mcs
    Mono Runtime:          /usr/bin/mono
    Gtk#:                  2.99.4

  Media/Graphics:
    GStreamer# backend:    no
    GStreamer C backend:   yes
    Clutter:               no

  Operating System/Desktop Environment:
    GNOME Support:         yes
    OSX Support:           no

  Digital Audio Player (DAP) Support:
    Apple Device:          yes (libgpod-sharp)
    Karma:                 no
    Mass Storage:          yes
    MTP:                   yes

  Extra Features:
    Web Browser:           no (webkitgtk-3.0 >= 1.2.2, libsoup-2.4 >= 2.42)
    DAAP:                  yes
    GIO Backend:           yes (gio-sharp >= 2.99)
    GIO Hardware:          no (gudev-sharp >= 3.0)
    YouTube:               yes (gdata-sharp >= 1.4)
    Sound Menu:            no
    Ubuntu One Store:      no (ubuntuone-sharp >= 0.9.2)
    UPnP:                  yes (mono-upnp >= 0.1)
    Boo Scripting:         no (boo >= 0.8.1)

  Build/Development:
    Unit Tests:            yes (nunit >= 2.5)
    API Docs:              yes (monodocer and mdassembler)
    User Help:             yes (gnome-doc-utils >= 0.17.3)
    Release Build:         no
    Vendor Build ID:       git-checkout


$ make
Making all in build
Making all in pkg-config
Making all in m4
/home/simon/banshee: /home/simon/banshee: Is a directory
Makefile:950: recipe for target 'gconf-schema-extractor.exe' failed
make[3]: *** [gconf-schema-extractor.exe] Error 126
Makefile:673: 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

Googled makefile 950, no use. Tried sudo make, no change. Potentially
related to gudev-shap not making properly upstream.

The error is referring to line 950 of the Makefile in the build
directory, looks like it's just trying to compile the
GConfSchemaExtractor.cs file so I'd try compiling that on its own to
see what the error is.

I suspect/hope that this process/ordeal will mean that a how-to can be
compiled, just a block of terminal commands to git clone all relevant
modules, install all dependencies, one by one, autogen configure make
install hooray. Though at this point I've forgotten to log probably 20
things I installed to fix missing dependencies...

Thanks for your input mate.



-- 
Registered Linux User #392373


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