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



On 11 September 2017 at 21:38, Sharky <simondedman gmail com> 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


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