Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
Per  this
<http://banshee-media-player.2283330.n4.nabble.com/Installing-2-9-1-woes-Syntax-error-quot-quot-unexpected-in-autogen-sh-tt4652393.html#none>  
post from back in the day, I tried again to install 2.9.1 today and hit the
same issue. Did a text search in autogen.sh for "(" but I can't see any that
look obviously problematic or lack an accompanying ")"
Can anyone comment on this? Anyone experienced the same?
Xubuntu 17.04

Also, for documentation purposes, on  the documentation page
<http://banshee.fm/download/development/>  , 1, ubuntu section, code line 3,
will no longer work with Zesty since the repositories have moved from 0.1 to
1.0. Please can documentation be added to include this:

wget
http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb
wget
http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb
sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
sudo apt-mark hold libgstreamer-plugins-base0.10-0
sudo apt-mark hold libgstreamer0.10
sudo apt-mark showhold

From  here
<https://mikewilliamson.wordpress.com/2016/11/14/installing-r-studio-on-ubuntu-16-10/>
.
Thanks.

p.s. long shot but any chance of a .deb for 2.9.1?



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
Hi Sharky,

Response in line:

On 8 September 2017 at 17:26, Sharky <[hidden email]> wrote:
> Per  this
> <http://banshee-media-player.2283330.n4.nabble.com/Installing-2-9-1-woes-Syntax-error-quot-quot-unexpected-in-autogen-sh-tt4652393.html#none>
> post from back in the day, I tried again to install 2.9.1 today and hit the
> same issue. Did a text search in autogen.sh for "(" but I can't see any that
> look obviously problematic or lack an accompanying ")"
> Can anyone comment on this? Anyone experienced the same?
> Xubuntu 17.04

Is that the 2.9.1 tag? I just checked that revision out and the
autogen.sh script executed fine although it failed when trying to run
./configure. One thing I notice from your original log is that you're
running it with 'sh autogen.sh' - try just './autogen.sh', it sounds
like your Ubuntu system is trying to execute it with a shell other
than bash, e.g. vanilla sh.

> Also, for documentation purposes, on  the documentation page
> <http://banshee.fm/download/development/>  , 1, ubuntu section, code line 3,
> will no longer work with Zesty since the repositories have moved from 0.1 to
> 1.0. Please can documentation be added to include this:
>
> wget
> http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb
> wget
> http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
> sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb
> sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
> sudo apt-mark hold libgstreamer-plugins-base0.10-0
> sudo apt-mark hold libgstreamer0.10
> sudo apt-mark showhold
>
> From  here
> <https://mikewilliamson.wordpress.com/2016/11/14/installing-r-studio-on-ubuntu-16-10/>
> .
> Thanks.
>
> p.s. long shot but any chance of a .deb for 2.9.1?

<snip />

Sorry, I'm just a user and don't have access to maintain the website,
a Debian package may be a possibility in future but it'll be another
PPA dealio and probably wouldn't be built from the main Banshee
repository as there's very little activity there.

Cheers!

--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
Thanks so much, that did it.

Until the next failure...!

Documenting, probably for myself in future.
Typing "./autogen.sh" in banshee folder fails with:
configure: error: missing required Mono 2.0 assembly: Mono.Posix.dll
Error: Could not run ./configure, which is required to configure banshee

Reason: zesty (17.04) is now up to mono4 & mono 2 is no longer in the repos.
Per previous method,
download it:
https://packages.debian.org/wheezy/all/mono-2.0-gac/download
Install with dpkg (in correct folder; move deb to banshee folder)
sudo dpkg -i mono-2.0-gac_2.10.8.1-8+deb7u1_all.deb

dpkg: dependency problems prevent configuration of mono-2.0-gac:
 mono-2.0-gac depends on libmono-corlib2.0-cil (>= 2.6.3); however:
  Package libmono-corlib2.0-cil is not installed.
 mono-2.0-gac depends on libmono-security2.0-cil (>= 2.6.7); however:
  Package libmono-security2.0-cil is not installed.

download, move to banshee folder, dkpg install:
https://packages.debian.org/wheezy/all/libmono-system2.0-cil/download
https://packages.debian.org/wheezy/all/libmono-security2.0-cil/download
sudo dpkg -i libmono-system2.0-cil_2.10.8.1-8+deb7u1_all.deb

libmono-system2.0-cil depends on libmono-corlib2.0-cil (>= 2.6.3); however:
  Package libmono-corlib2.0-cil is not installed.
 libmono-system2.0-cil depends on libmono-posix2.0-cil (>= 2.4); however:
  Package libmono-posix2.0-cil is not installed.
 libmono-system2.0-cil depends on libmono-security2.0-cil (>= 2.6.7);
however:
  Package libmono-security2.0-cil is not installed.
 libmono-system2.0-cil depends on mono-runtime (<< 2.10.8.2); however:
  Version of mono-runtime on system is 4.6.2.7+dfsg-1ubuntu1.
 mono-devel (4.6.2.7+dfsg-1ubuntu1) breaks libmono-system2.0-cil (<< 4.0.1~)
and is installed.
  Version of libmono-system2.0-cil to be configured is 2.10.8.1-8+deb7u1.

sudo dpkg -i libmono-security2.0-cil_2.10.8.1-8+deb7u1_all.deb
> didn't try. giving up. Does anyone know how to install banshee 2.9.1 on
> zesty in less than a full day, without probably breaking my freshly
> installed system?

Thanks.





--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
nah - other way around, update Banshee for your system.

Try out master branch in my fork: https://github.com/arfbtwn/banshee
(the commit at the tip is the one you need to get around the configure
issue)

On 8 September 2017 at 21:54, Sharky <[hidden email]> wrote:

> Thanks so much, that did it.
>
> Until the next failure...!
>
> Documenting, probably for myself in future.
> Typing "./autogen.sh" in banshee folder fails with:
> configure: error: missing required Mono 2.0 assembly: Mono.Posix.dll
> Error: Could not run ./configure, which is required to configure banshee
>
> Reason: zesty (17.04) is now up to mono4 & mono 2 is no longer in the repos.
> Per previous method,
> download it:
> https://packages.debian.org/wheezy/all/mono-2.0-gac/download
> Install with dpkg (in correct folder; move deb to banshee folder)
> sudo dpkg -i mono-2.0-gac_2.10.8.1-8+deb7u1_all.deb
>
> dpkg: dependency problems prevent configuration of mono-2.0-gac:
>  mono-2.0-gac depends on libmono-corlib2.0-cil (>= 2.6.3); however:
>   Package libmono-corlib2.0-cil is not installed.
>  mono-2.0-gac depends on libmono-security2.0-cil (>= 2.6.7); however:
>   Package libmono-security2.0-cil is not installed.
>
> download, move to banshee folder, dkpg install:
> https://packages.debian.org/wheezy/all/libmono-system2.0-cil/download
> https://packages.debian.org/wheezy/all/libmono-security2.0-cil/download
> sudo dpkg -i libmono-system2.0-cil_2.10.8.1-8+deb7u1_all.deb
>
> libmono-system2.0-cil depends on libmono-corlib2.0-cil (>= 2.6.3); however:
>   Package libmono-corlib2.0-cil is not installed.
>  libmono-system2.0-cil depends on libmono-posix2.0-cil (>= 2.4); however:
>   Package libmono-posix2.0-cil is not installed.
>  libmono-system2.0-cil depends on libmono-security2.0-cil (>= 2.6.7);
> however:
>   Package libmono-security2.0-cil is not installed.
>  libmono-system2.0-cil depends on mono-runtime (<< 2.10.8.2); however:
>   Version of mono-runtime on system is 4.6.2.7+dfsg-1ubuntu1.
>  mono-devel (4.6.2.7+dfsg-1ubuntu1) breaks libmono-system2.0-cil (<< 4.0.1~)
> and is installed.
>   Version of libmono-system2.0-cil to be configured is 2.10.8.1-8+deb7u1.
>
> sudo dpkg -i libmono-security2.0-cil_2.10.8.1-8+deb7u1_all.deb
>> didn't try. giving up. Does anyone know how to install banshee 2.9.1 on
>> zesty in less than a full day, without probably breaking my freshly
>> installed system?
>
> Thanks.
>
>
>
>
>
> --
> Sent from: http://banshee-media-player.2283330.n4.nabble.com/
> _______________________________________________
> banshee-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
This post was updated on .
Thanks! So just to confirm - If I download the zip from your github fork, I
shouldn't have the issues with the old dependencies? Presumably because
you've updated the code to look for new dependency versions / current repos?

Are you maintaining this as a functionally live Banshee? (AKA, are you the
second coming of Jesus Christ?!)

Edit: installing from zip doesn't work, code below, looks to be because src/Hyena is empty in the zip.  It looks like it's a submodule one has to download separately? I assumed downloading zip == git clone but I guess not?

Code:
$ ./autogen.sh
fatal: Not a git repository (or any of the parent directories): .git
Running intltoolize --force --copy ...
You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'.
Running libtoolize --force --copy --automake ...
Running aclocal -I build/m4/banshee -I build/m4/shamrock -I build/m4/shave ...
Running autoconf ...
Running autoheader ...
Running automake --gnu --add-missing --force --copy -Wno-portability -Wno-portability ...
configure.ac:37: installing './compile'
configure.ac:37: installing './config.guess'
configure.ac:37: installing './config.sub'
configure.ac:30: installing './install-sh'
configure.ac:30: installing './missing'
configure.ac:191: error: required file 'src/Hyena/Makefile.in' not found
configure.ac:191: error: required file 'src/Hyena/build/Makefile.in' not found
configure.ac:191: error: required file 'src/Hyena/build/pkg-config/Makefile.in' not found
configure.ac:191: error: required file 'src/Hyena/build/m4/Makefile.in' not found
configure.ac:191: error: required file 'src/Hyena/Hyena/Makefile.in' not found
configure.ac:191: error: required file 'src/Hyena/Hyena.Data.Sqlite/Makefile.in' not found
configure.ac:191: error: required file 'src/Hyena/Hyena.Gui/Makefile.in' not found
src/Backends/Banshee.GStreamer/libbanshee/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Backends/Banshee.GStreamer/libbanshee/Makefile.am: installing './depcomp'
src/Backends/Banshee.Osx/Makefile.am:49: warning: MAINTAINERCLEANFILES was already defined in condition !PLATFORM_DARWIN, which is included in condition TRUE ...
build/build.dist.mk:22: ... 'MAINTAINERCLEANFILES' previously defined here
src/Backends/Banshee.Osx/Makefile.am:31:   'build/build.mk' included from here
build/build.mk:10:   'build/build.dist.mk' included from here
src/Clients/Booter/Makefile.am:22: warning: CLEANFILES multiply defined in condition TRUE ...
build/build.dist.mk:20: ... 'CLEANFILES' previously defined here
src/Clients/Booter/Makefile.am:6:   'build/build.mk' included from here
build/build.mk:10:   'build/build.dist.mk' included from here
build/build.rules.mk:18: warning: run was already defined in condition TRUE, which includes condition REMOTE_AUDIO_ENABLED ...
src/Extensions/Banshee.RemoteAudio/Makefile.am:23:   'build/build.mk' included from here
build/build.mk:11:   'build/build.rules.mk' included from here
src/Extensions/Banshee.RemoteAudio/Makefile.am:17: ... 'run' previously defined here
Error: There were errors when running 'automake', a step that is required to configure banshee


--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
banshee-list@gnome.org
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
In reply to this post by Banshee Media Player mailing list
Thanks again for the fork. More issues, however.

Download zip of fork doesn't contain Hyena files. Download separate zip of
those, unpack in correct location.
./autogen.sh in banshee folder:
No package 'gstreamer-sharp-1.0' found

Read various helpfiles:
https://askubuntu.com/questions/510437/how-to-build-the-latest-version-of-banshee-on-ubuntu
https://stackoverflow.com/questions/27320979/how-do-i-acquire-the-dependency-gstreamer-sharp-1-0
installed gudev-sharp from git zip without problems.
got gsteamer-sharp from github. Did ./autogen.sh:

Makefile.am: error: required file './README' not found
Makefile.am:3: error: required directory ./sources/glue does not exist

References in gitgub comments "DON'T USE GLUE" aren't especially helpful
since there seem to be no advertised alternatives. Tried ./configure
instead:

"Requested 'glib-sharp-3.0 >= 3.22.6' but version of GLib is 2.99.3
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed
software in a non-standard prefix. Alternatively, you may set the
environment variables GLIB_SHARP_CFLAGS
and GLIB_SHARP_LIBS to avoid the need to call pkg-config."

libgtk-3-dev is already installed, among others.
Got gtk-sharp zip from github: ./configure, sudo make, sudo make install
look to have worked, though:
"Libraries have been installed in: /usr/local/lib"

/usr/local/lib/pkgconfig/ has:
gapi-3.0.pc       gio-sharp-3.0.pc   gtk-dotnet-3.0.pc
gdk-sharp-3.0.pc  glib-sharp-3.0.pc  gtk-sharp-3.0.pc

Retried ./configure in gstreamer-sharp, no change.

So, probably: glib-sharp-3.0 >= 3.22.6 not found = no gstreamer-sharp-1.0 =
no banshee 2.9.1
Am I going about this the right way and it really is this insanely
complicated, or is there a much simpler route?

Cheers!



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
On 11 September 2017 at 21:38, Sharky <[hidden email]> wrote:
> Thanks again for the fork. More issues, however.
>
> Download zip of fork doesn't contain Hyena files. Download separate zip of
> those, unpack in correct location.
> ./autogen.sh in banshee folder:
> No package 'gstreamer-sharp-1.0' found

To begin with I'd avoid the zip files and use git itself:

git clone <url>
git submodule update --init # clones any submodules and checks them
out at the right commit (Hyena in this case)

> Read various helpfiles:
> https://askubuntu.com/questions/510437/how-to-build-the-latest-version-of-banshee-on-ubuntu
> https://stackoverflow.com/questions/27320979/how-do-i-acquire-the-dependency-gstreamer-sharp-1-0
> installed gudev-sharp from git zip without problems.
> got gsteamer-sharp from github. Did ./autogen.sh:
>
> Makefile.am: error: required file './README' not found
> Makefile.am:3: error: required directory ./sources/glue does not exist
>
> References in gitgub comments "DON'T USE GLUE" aren't especially helpful
> since there seem to be no advertised alternatives. Tried ./configure
> instead:
>
> "Requested 'glib-sharp-3.0 >= 3.22.6' but version of GLib is 2.99.3
> Consider adjusting the PKG_CONFIG_PATH environment variable if you installed
> software in a non-standard prefix. Alternatively, you may set the
> environment variables GLIB_SHARP_CFLAGS
> and GLIB_SHARP_LIBS to avoid the need to call pkg-config."
>
> libgtk-3-dev is already installed, among others.
> Got gtk-sharp zip from github: ./configure, sudo make, sudo make install
> look to have worked, though:
> "Libraries have been installed in: /usr/local/lib"
>
> /usr/local/lib/pkgconfig/ has:
> gapi-3.0.pc       gio-sharp-3.0.pc   gtk-dotnet-3.0.pc
> gdk-sharp-3.0.pc  glib-sharp-3.0.pc  gtk-sharp-3.0.pc
>
> Retried ./configure in gstreamer-sharp, no change.
>
> So, probably: glib-sharp-3.0 >= 3.22.6 not found = no gstreamer-sharp-1.0 =
> no banshee 2.9.1
> Am I going about this the right way and it really is this insanely
> complicated, or is there a much simpler route?
>
> Cheers!

Were those errors on master branch of gstreamer-sharp? [1] Looks like
there's been some activity in that project, from my local copy it
looks like the last commit that I built was
bf18e534a96079ce46b34a2e2afd7d8d23aef915 - you might want to check out
that revision and see if you can get around the errors.

* 10 minutes pass reading gstreamer-sharp's engineering log *

Actually - now that I look the README was removed in
a657259e5fccd57493b7832ad001a5ac30037ab2.

Looks like whoever is maintaining it has abandoned auto-tools in
favour of meson but the README was a zero byte file anyway. It just
has to be there for automake to do its thing. Create it (and the
sources/glue directory) and you'll get configure running although I
think you may have gotten passed that already as you saw the
glib-sharp version complaint - no getting around that one, to compile
master you'll definitely need to compile glib-sharp from the GTK#
bundle.

For now though - I would step around this dependency by passing
--enable-gst-native to Banshee's configure and once you're able to
build come back to it then.

No, it's not meant to be difficult, ideally on an *buntu system you'd
just apt-get build-dep banshee (IIRC) and you'd be able to
successfully ./configure && make but for that to work all the required
source packages have to be in an *buntu repository somewhere and I
think that's what we're missing at the moment - I've started looking
into that but it could be a little while before it's setup, I'm trying
to do this from a Gentoo system...

[1] https://cgit.freedesktop.org/gstreamer/gstreamer-sharp

--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
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.

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.

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.

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.




--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
On 13 September 2017 at 18:24, Sharky <[hidden email]> 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
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
Thanks again, notes as I go:

git submodule done, though no response message so maybe it's already alright
or no response message happens by default.

gudev-sharp-3.0-cil-dev seems not to be a thing but
https://launchpad.net/ubuntu/+source/gudev-sharp-3.0 suggests it should be
libgudev3.0-cil and libgudev3.0-cil-dev. Installed both.

This is crazy. I feel I'm going in circles and somehow backwards. I now have
banshee-2.9.1 and banshee arfbtwn form folders in home, the former from the
more recent git checkout, the latter from previous hacking. Autogen in the
2.9.1 folder fails due to:

Checking for Mono 2.0 GAC for Mono.Posix.dll... not found
configure: error: missing required Mono 2.0 assembly: Mono.Posix.dll

which I definitely solved earlier. Autogen.sh in the fork folder fails with:

configure: error: Package requirements (gstreamer-sharp-1.0 >= 0.99.0) were
not met:
No package 'gstreamer-sharp-1.0' found

Which again I thought I solved already. Did ./configure --enable-gst-native

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:          yes (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

Difference from before: gudev-sharp added. Make fails as before.
On a hunch ("/bin/bash: /home/simon/banshee: No such file or directory") I
renamed /banshee arfbtwn fork to /banshee-arfbtwn-fork, redid the
./configure with flags, then redid make.

Got further this time. Errors now:

./Notifications/Notification.cs(145,16): error CS1043: Invalid accessor body
`=>', expecting `;' or `{'
./Notifications/Notification.cs(153,16): error CS1043: Invalid accessor body
`=>', expecting `;' or `{'
./Notifications/Notification.cs(161,16): error CS1043: Invalid accessor body
`=>', expecting `;' or `{'
./Notifications/Notification.cs(169,16): error CS1043: Invalid accessor body
`=>', expecting `;' or `{'
./Notifications/Notification.cs(169,68): warning CS0658: `value' is invalid
attribute target. All attributes in this attribute section will be ignored
./Notifications/Notification.cs(172,16): error CS1014: A get or set accessor
expected
./Notifications/Notification.cs(177,18): error CS1519: Unexpected symbol
`=>' in class, struct, or interface member declaration
./Notifications/Notification.cs(177,38): error CS1519: Unexpected symbol `('
in class, struct, or interface member declaration
./Notifications/Notification.cs(177,60): error CS1519: Unexpected symbol `)'
in class, struct, or interface member declaration
./Notifications/Notification.cs(177,77): error CS1519: Unexpected symbol
`category' in class, struct, or interface member declaration
./Notifications/Notification.cs(177,88): error CS1519: Unexpected symbol `.'
in class, struct, or interface member declaration
./Notifications/Notification.cs(177,94): error CS1519: Unexpected symbol `;'
in class, struct, or interface member declaration
./Notifications/Notification.cs(180,15): error CS1525: Unexpected symbol
`Pixbuf'
./Notifications/Notification.cs(181,12): error CS1525: Unexpected symbol
`set'
./Notifications/Notification.cs(182,16): error CS1525: Unexpected symbol
`SetPixbufHint'
./Notifications/Notification.cs(183,35): error CS1525: Unexpected symbol `;'
./Notifications/Notification.cs(185,13): error CS1514: Unexpected symbol
`}', expecting `.' or `{'
./Notifications/Notification.cs(188,15): error CS1525: Unexpected symbol
`string'
Compilation failed: 17 error(s), 1 warnings
Makefile:1010: recipe for target '../../../bin/Notifications.dll' failed
make[4]: *** [../../../bin/Notifications.dll] Error 1
Makefile:546: 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


Any thoughts or guesses appreciated as ever. Thanks again.



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
On 13 September 2017 at 23:06, Sharky <[hidden email]> wrote:
> Thanks again, notes as I go:
>
> git submodule done, though no response message so maybe it's already alright
> or no response message happens by default.
>
> gudev-sharp-3.0-cil-dev seems not to be a thing but
> https://launchpad.net/ubuntu/+source/gudev-sharp-3.0 suggests it should be
> libgudev3.0-cil and libgudev3.0-cil-dev. Installed both.

cool - that should sort it out.

> This is crazy. I feel I'm going in circles and somehow backwards. I now have
> banshee-2.9.1 and banshee arfbtwn form folders in home, the former from the
> more recent git checkout, the latter from previous hacking. Autogen in the
> 2.9.1 folder fails due to:

I'd get rid of the 2.9.1 folder altogether since it needs patching to
build. FYI you don't need a separate directory to manage multiple
remotes with git - "man git-remote" will give you more information.

> Checking for Mono 2.0 GAC for Mono.Posix.dll... not found
> configure: error: missing required Mono 2.0 assembly: Mono.Posix.dll
>
> which I definitely solved earlier. Autogen.sh in the fork folder fails with:
>
> configure: error: Package requirements (gstreamer-sharp-1.0 >= 0.99.0) were
> not met:
> No package 'gstreamer-sharp-1.0' found
>
> Which again I thought I solved already. Did ./configure --enable-gst-native

sounds like you had a stale configure script lying around - autogen.sh
generates the configure script so usually re-running that would
resolve the problem. The generic autoreconf tool doesn't work on
master branch yet. (see feature/build, there's a pull-request or it)

> 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:          yes (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
>
> Difference from before: gudev-sharp added. Make fails as before.
> On a hunch ("/bin/bash: /home/simon/banshee: No such file or directory") I
> renamed /banshee arfbtwn fork to /banshee-arfbtwn-fork, redid the
> ./configure with flags, then redid make.
>
> Got further this time. Errors now:
>
> ./Notifications/Notification.cs(145,16): error CS1043: Invalid accessor body
> `=>', expecting `;' or `{'
> ./Notifications/Notification.cs(153,16): error CS1043: Invalid accessor body
> `=>', expecting `;' or `{'
> ./Notifications/Notification.cs(161,16): error CS1043: Invalid accessor body
> `=>', expecting `;' or `{'
> ./Notifications/Notification.cs(169,16): error CS1043: Invalid accessor body
> `=>', expecting `;' or `{'
> ./Notifications/Notification.cs(169,68): warning CS0658: `value' is invalid
> attribute target. All attributes in this attribute section will be ignored
> ./Notifications/Notification.cs(172,16): error CS1014: A get or set accessor
> expected
> ./Notifications/Notification.cs(177,18): error CS1519: Unexpected symbol
> `=>' in class, struct, or interface member declaration
> ./Notifications/Notification.cs(177,38): error CS1519: Unexpected symbol `('
> in class, struct, or interface member declaration
> ./Notifications/Notification.cs(177,60): error CS1519: Unexpected symbol `)'
> in class, struct, or interface member declaration
> ./Notifications/Notification.cs(177,77): error CS1519: Unexpected symbol
> `category' in class, struct, or interface member declaration
> ./Notifications/Notification.cs(177,88): error CS1519: Unexpected symbol `.'
> in class, struct, or interface member declaration
> ./Notifications/Notification.cs(177,94): error CS1519: Unexpected symbol `;'
> in class, struct, or interface member declaration
> ./Notifications/Notification.cs(180,15): error CS1525: Unexpected symbol
> `Pixbuf'
> ./Notifications/Notification.cs(181,12): error CS1525: Unexpected symbol
> `set'
> ./Notifications/Notification.cs(182,16): error CS1525: Unexpected symbol
> `SetPixbufHint'
> ./Notifications/Notification.cs(183,35): error CS1525: Unexpected symbol `;'
> ./Notifications/Notification.cs(185,13): error CS1514: Unexpected symbol
> `}', expecting `.' or `{'
> ./Notifications/Notification.cs(188,15): error CS1525: Unexpected symbol
> `string'
> Compilation failed: 17 error(s), 1 warnings
> Makefile:1010: recipe for target '../../../bin/Notifications.dll' failed
> make[4]: *** [../../../bin/Notifications.dll] Error 1
> Makefile:546: 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
>
>
> Any thoughts or guesses appreciated as ever. Thanks again.

actually - this is a recent improvement to formally internalise a
system library that usually isn't available as a package, bit like
gstreamer-sharp. Anyway, the C# compiler on my system must allow
language level 6 by default so I didn't think any auto-tools update
was needed where it might be. Just in case it's due to stale files I'd
try resetting with git and autogenning again - I find it odd that your
system's compiler doesn't support that by default, it's not exactly
new...

If that doesn't help (it probably won't) the other option is to
explicitly set the MCS environment variable to a compatible compiler,
"man mcs" should provide some information about what's on your system.
(although that's probably what's already in use)

As a heads up - after merging I quickly added the Notifications
project reference in the B.SoundMenu extension's project file but I
made a mistake when doing so, just remove and re-add that reference to
resolve that if you want to build it using the project file. I need to
add a commit to resolve that.

You're pretty much there at this point - give yourself a pat on the back :)

Ps. When the PPA is setup it really will be just a case of executing
apt-get build-dep banshee.

--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
Thanks again pal.

Code run below, much of this was guesswork as I'm a very different level of
understanding and probably need things spelled out in crayon (!):

"try resetting with git"
$ git reset --hard
> no output/report, hopefully that means "congrats it worked!"

"and autogenning again"
$ ./autogen.sh
> No package 'gstreamer-sharp-1.0' found
$ ./configure --enable-gst-native
> yay
$ make
> same notification errors

"explicitly set the MCS environment variable to a compatible compiler, "man
mcs" should provide some information about what's on your system. (although
that's probably what's already in use)"
Not sure what a compatible compiler is and isn't MCS a compiler itself, i.e.
if it's not compatible, don't I need to select something else? Basing this
simply off intuition rather than knowledge.
$ mcs --version
> Mono C# compiler version 4.6.2.0

"As a heads up - after merging I quickly added the Notifications project
reference in the B.SoundMenu extension's project file but I made a mistake
when doing so, just remove and re-add that reference to
resolve that if you want to build it using the project file. I need to add a
commit to resolve that."
Sounds good. I have literally no idea what I am required to do here so in
lieu of taking any action, will just stare off into the middle distance and
contemplate my life choices.

You're pretty much there at this point - give yourself a pat on the back :)
https://media.giphy.com/media/9Q249Qsl5cfLi/giphy.gif

"Ps. When the PPA is setup it really will be just a case of executing
apt-get build-dep banshee."
T'will be a glorious day.

Thanks as ever for your help!



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
On 14 September 2017 at 16:12, Sharky <[hidden email]> wrote:
> Thanks again pal.
>
> Code run below, much of this was guesswork as I'm a very different level of
> understanding and probably need things spelled out in crayon (!):

we've all been there at some point or another :)

> "try resetting with git"
> $ git reset --hard
>> no output/report, hopefully that means "congrats it worked!"

bingo +1

All good *nix tools are like that - strong and silent. (when all is well)

> "and autogenning again"
> $ ./autogen.sh
>> No package 'gstreamer-sharp-1.0' found
> $ ./configure --enable-gst-native
>> yay
> $ make
>> same notification errors

as an FYI - autogen.sh calls configure after generating it with any
switches you pass so you can shorten this with:

./autogen.sh --enable-gst-native

and it should succeed every time.

> "explicitly set the MCS environment variable to a compatible compiler, "man
> mcs" should provide some information about what's on your system. (although
> that's probably what's already in use)"
> Not sure what a compatible compiler is and isn't MCS a compiler itself, i.e.
> if it's not compatible, don't I need to select something else? Basing this
> simply off intuition rather than knowledge.
> $ mcs --version
>> Mono C# compiler version 4.6.2.0

yup, mcs is the C# compiler and the MCS make variable is what the
makefile references to do the build with. There's also MCS_FLAGS but
for some reason I can't get either of them to take effect without
editing the Makefiles directly, I've raised this issue to record that
for addressing later: https://github.com/arfbtwn/banshee/issues/47

So, as a test I edited the Makefile in the Notifications directory and
set MCS_FLAGS = -langversion:4. With that I was able to generate this
kind of error with my compiler:

./Notifications/Notifications.cs(90,59): error CS1644: Feature
`expression bodied members' cannot be used because it is not part of
the C# 4.0 language specification

To get passed this point you'll need one of:

- an mcs supporting -langversion:6 and a way to pass it;
- a patch to remove the C#6 syntax from Notifications or; (this one's
also really easy)
- a mono upgrade to a 5.x version. (-langversion:6 is default on my 5.2.0.196)

Somewhat unrelated but Banshee has a configure switch --disable-shave
that you may find useful when debugging things like this - it causes
the build to output its commands verbosely so you can see exactly
what's going on.

> "As a heads up - after merging I quickly added the Notifications project
> reference in the B.SoundMenu extension's project file but I made a mistake
> when doing so, just remove and re-add that reference to
> resolve that if you want to build it using the project file. I need to add a
> commit to resolve that."
> Sounds good. I have literally no idea what I am required to do here so in
> lieu of taking any action, will just stare off into the middle distance and
> contemplate my life choices.

Just in case you were also using something like Monodevelop. If you
aren't using an IDE that understands the *.sln and *.csproj files in
the repository then don't worry about it - the error is only in the
project file, the auto-tools system builds it just fine. (provided a
compiler supporting the necessary language version)

As you can imagine having the two build systems disconnected muddies
things even further, this pull request should make things a little
better but solving the disconnect is a large bit of work:
https://github.com/arfbtwn/banshee/pull/42

> You're pretty much there at this point - give yourself a pat on the back :)
> https://media.giphy.com/media/9Q249Qsl5cfLi/giphy.gif

Loved that show! - can't get the theme tune out of my head now.

> "Ps. When the PPA is setup it really will be just a case of executing
> apt-get build-dep banshee."
> T'will be a glorious day.
>
> Thanks as ever for your help!

Happy to.

--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
In fact, try out this branch:
https://github.com/arfbtwn/banshee/tree/feature/csharp4

I've reverted the C#6 syntax that was recently introduced in
Notifications - IIRC there are no others on master branch, fingers
crossed :)


On 14 September 2017 at 19:23, Nicholas Little
<[hidden email]> wrote:

> On 14 September 2017 at 16:12, Sharky <[hidden email]> wrote:
>> Thanks again pal.
>>
>> Code run below, much of this was guesswork as I'm a very different level of
>> understanding and probably need things spelled out in crayon (!):
>
> we've all been there at some point or another :)
>
>> "try resetting with git"
>> $ git reset --hard
>>> no output/report, hopefully that means "congrats it worked!"
>
> bingo +1
>
> All good *nix tools are like that - strong and silent. (when all is well)
>
>> "and autogenning again"
>> $ ./autogen.sh
>>> No package 'gstreamer-sharp-1.0' found
>> $ ./configure --enable-gst-native
>>> yay
>> $ make
>>> same notification errors
>
> as an FYI - autogen.sh calls configure after generating it with any
> switches you pass so you can shorten this with:
>
> ./autogen.sh --enable-gst-native
>
> and it should succeed every time.
>
>> "explicitly set the MCS environment variable to a compatible compiler, "man
>> mcs" should provide some information about what's on your system. (although
>> that's probably what's already in use)"
>> Not sure what a compatible compiler is and isn't MCS a compiler itself, i.e.
>> if it's not compatible, don't I need to select something else? Basing this
>> simply off intuition rather than knowledge.
>> $ mcs --version
>>> Mono C# compiler version 4.6.2.0
>
> yup, mcs is the C# compiler and the MCS make variable is what the
> makefile references to do the build with. There's also MCS_FLAGS but
> for some reason I can't get either of them to take effect without
> editing the Makefiles directly, I've raised this issue to record that
> for addressing later: https://github.com/arfbtwn/banshee/issues/47
>
> So, as a test I edited the Makefile in the Notifications directory and
> set MCS_FLAGS = -langversion:4. With that I was able to generate this
> kind of error with my compiler:
>
> ./Notifications/Notifications.cs(90,59): error CS1644: Feature
> `expression bodied members' cannot be used because it is not part of
> the C# 4.0 language specification
>
> To get passed this point you'll need one of:
>
> - an mcs supporting -langversion:6 and a way to pass it;
> - a patch to remove the C#6 syntax from Notifications or; (this one's
> also really easy)
> - a mono upgrade to a 5.x version. (-langversion:6 is default on my 5.2.0.196)
>
> Somewhat unrelated but Banshee has a configure switch --disable-shave
> that you may find useful when debugging things like this - it causes
> the build to output its commands verbosely so you can see exactly
> what's going on.
>
>> "As a heads up - after merging I quickly added the Notifications project
>> reference in the B.SoundMenu extension's project file but I made a mistake
>> when doing so, just remove and re-add that reference to
>> resolve that if you want to build it using the project file. I need to add a
>> commit to resolve that."
>> Sounds good. I have literally no idea what I am required to do here so in
>> lieu of taking any action, will just stare off into the middle distance and
>> contemplate my life choices.
>
> Just in case you were also using something like Monodevelop. If you
> aren't using an IDE that understands the *.sln and *.csproj files in
> the repository then don't worry about it - the error is only in the
> project file, the auto-tools system builds it just fine. (provided a
> compiler supporting the necessary language version)
>
> As you can imagine having the two build systems disconnected muddies
> things even further, this pull request should make things a little
> better but solving the disconnect is a large bit of work:
> https://github.com/arfbtwn/banshee/pull/42
>
>> You're pretty much there at this point - give yourself a pat on the back :)
>> https://media.giphy.com/media/9Q249Qsl5cfLi/giphy.gif
>
> Loved that show! - can't get the theme tune out of my head now.
>
>> "Ps. When the PPA is setup it really will be just a case of executing
>> apt-get build-dep banshee."
>> T'will be a glorious day.
>>
>> Thanks as ever for your help!
>
> Happy to.
>
> --
> Registered Linux User #392373



--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
Righty,

dkpg -l 'mono*'
shows v4.6.2.7

mono-5-complete installed per http://www.mono-project.com/download/

$ ./autogen.sh --enable-gst-native
(same as before)
$ make
Got past the notifications but:

Making all in Banshee.Dap.AppleDevice
  MCS   ../../../bin/Banshee.Dap.AppleDevice.dll
error CS1703: An assembly `atk-sharp' with the same identity has already
been imported. Consider removing one of the references
/usr/lib/pkgconfig/../../lib/cli/atk-sharp-2.0/atk-sharp.dll (Location of
the symbol related to previous error)
/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll
(Location of the symbol related to previous error)
error CS1703: An assembly `gdk-sharp' with the same identity has already
been imported. Consider removing one of the references
/usr/lib/pkgconfig/../../lib/cli/gdk-sharp-2.0/gdk-sharp.dll (Location of
the symbol related to previous error)
/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/gdk-sharp.dll
(Location of the symbol related to previous error)
error CS1703: An assembly `glib-sharp' with the same identity has already
been imported. Consider removing one of the references
/usr/lib/pkgconfig/../../lib/cli/glib-sharp-2.0/glib-sharp.dll (Location of
the symbol related to previous error)
/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll
(Location of the symbol related to previous error)
error CS1703: An assembly `gtk-sharp' with the same identity has already
been imported. Consider removing one of the references
/usr/lib/pkgconfig/../../lib/cli/gtk-sharp-2.0/gtk-sharp.dll (Location of
the symbol related to previous error)
/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/gtk-sharp.dll
(Location of the symbol related to previous error)
error CS1703: An assembly `pango-sharp' with the same identity has already
been imported. Consider removing one of the references
/usr/lib/pkgconfig/../../lib/cli/pango-sharp-2.0/pango-sharp.dll (Location
of the symbol related to previous error)
/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/pango-sharp.dll
(Location of the symbol related to previous error)
Compilation failed: 5 error(s), 0 warnings
Makefile:1035: recipe for target '../../../bin/Banshee.Dap.AppleDevice.dll'
failed
make[4]: *** [../../../bin/Banshee.Dap.AppleDevice.dll] Error 1
Makefile:542: 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

Any thoughts?

"In fact, try out this branch:
https://github.com/arfbtwn/banshee/tree/feature/csharp4"
Assumedly:
$ git clone https://github.com/arfbtwn/banshee.git
in existing folder, autogen with flags again?

Cheers dude.



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list


On 14 Sep 2017 20:36, "Sharky" <[hidden email]> wrote:

<snip />


make[4]: *** [../../../bin/Banshee.Dap.AppleDevice.dll] Error 1
Makefile:542: 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

Any thoughts?

You have an iPod? Last time I checked none of the newer models were supported. If you don't need it pass --disable-appledevice.

./configure --help will give you all the switches and some descriptive text.

Assumedly:
$ git clone https://github.com/arfbtwn/banshee.git
in existing folder, autogen with flags again?

No - since you have it cloned just checkout the branch:

git fetch
git checkout <branch name>

Cheers dude.

No worries.


_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
$ ./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?
./Banshee.Hardware.Gio/UsbDevice.cs(32,7): error CS0246: The type or
namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(44,17): error CS0246: The type or
namespace name `Client' could not be found. Are you missing
`Banshee.ServiceStack' using directive?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(49,36): error CS0246: The type or
namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(191,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(202,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(218,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(244,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/UdevMetadataSource.cs(32,9): error CS0246:
The type or namespace name `GUdev' could not be found. Are you missing an
assembly reference?
./Banshee.Hardware.Gio/LowLevel/UdevMetadataSource.cs(72,36): error CS0246:
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)


Tried git:
$ git fetch https://github.com/arfbtwn/banshee.git
remote: Counting objects: 95513, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 95513 (delta 3), reused 3 (delta 2), pack-reused 95503
Receiving objects: 100% (95513/95513), 36.84 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (77362/77362), done.
From https://github.com/arfbtwn/banshee
 * branch                HEAD       -> FETCH_HEAD

simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout csharp4
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout feature/csharp4
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout tree/feature/csharp4
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout 'feature/csharp4'
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout feature
error: pathspec 'feature' did not match any file(s) known to git (true for
all above)

Just in case, redid autogen with both flags, make, same gio /gudev issue.
Sorry this is so much work!!



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
On 14 Sep 2017 23:22, "Sharky" <[hidden email]> 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?
./Banshee.Hardware.Gio/UsbDevice.cs(32,7): error CS0246: The type or
namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(44,17): error CS0246: The type or
namespace name `Client' could not be found. Are you missing
`Banshee.ServiceStack' using directive?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(49,36): error CS0246: The type or
namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(191,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(202,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(218,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/Manager.cs(244,16): error CS0246: The type
or namespace name `GUdev' could not be found. Are you missing an assembly
reference?
./Banshee.Hardware.Gio/LowLevel/UdevMetadataSource.cs(32,9): error CS0246:
The type or namespace name `GUdev' could not be found. Are you missing an
assembly reference?
./Banshee.Hardware.Gio/LowLevel/UdevMetadataSource.cs(72,36): error CS0246:
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)



Tried git:
$ git fetch https://github.com/arfbtwn/banshee.git
remote: Counting objects: 95513, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 95513 (delta 3), reused 3 (delta 2), pack-reused 95503
Receiving objects: 100% (95513/95513), 36.84 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (77362/77362), done.
From https://github.com/arfbtwn/banshee
 * branch                HEAD       -> FETCH_HEAD

simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout csharp4
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout feature/csharp4
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout tree/feature/csharp4
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout 'feature/csharp4'
simon@Poseidon:~/banshee-arfbtwn-fork$ git checkout feature
error: pathspec 'feature' did not match any file(s) known to git (true for
all above)

If you need to check what branch you're on try:

git status

The branch you want is called feature/csharp4.

_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Banshee Media Player mailing list
On 15 September 2017 at 19:24, Nicholas Little
<[hidden email]> wrote:

> On 14 Sep 2017 23:22, "Sharky" <[hidden email]> 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.
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh

Sharky
Compile own gudev-sharp: thought I already did. Trying again with git, in
your banshee fork folder, gudev-sharp subfolder:

simon@Poseidon:~/banshee-arfbtwn-fork/gudev-sharp$ git clone
https://github.com/mono/gudev-sharp.git
$ git submodule update --init
$ autogen.sh
$ make
Making all in gudev
make[1]: Entering directory
'/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
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

Realised gudev-sharp git clone was now in yourfork/gudev-sharp/gudev-sharp.
Copied contents of second subfolder into first so everything in one place &
no dupes.
$ 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

Oddly more progress but then same error....
redid autogen redid make, back to smaller error.
Looks like /gudev-sharp/gudev/ is expected by that folder's makefile to have
gudev-sharp.dll in the folder and it isn't there. It's not in the folder on
github either. I assume you're compiling the same way...?

Digging around:
/usr/lib/mono/gac/gudev-sharp/3.0.0.0__3565e728cafab25e/gudev-sharp.dll =
3.6kb
Same file in usr/lib/cil/gudev-sharp/
Not present in home folder.

Maybe it's present in gentoo and NOT present in its own github?!

Re git:
git status says i'm on master.
git checkout needs the branch name:
"The branch you want is called feature/csharp4."
all of my git checkout [name] trials failed.
git branch --list
git branch --list -a
git-branch --list
all fail despite seeming to be correct syntax from git branch --help
git checkout -p feature/csharp4
> No changes.



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
12