Re: [Banshee-List] Error creating extension
- From: Francesco Spegni <francesco spegni gmail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Error creating extension
- Date: Mon, 20 Aug 2012 16:35:34 +0200
Hello,
with your suggestions I made some progress (I hope :)): I tried to
execute ./configure in the git cloned directory, as you pointed. What I
get is the following:
- the first errors, namely:
$ ./create-extension Foo
Creating new extension: 'Foo'
================================================================================
sh: 2: Syntax error: EOF in backquote substitution
sh: 2: Syntax error: EOF in backquote substitution
sh: 2: Syntax error: Unterminated quoted string
Running ./autogen.sh
was solved installing the package nant: sudo apt-get install nant
- the second error:
./configure: line 12913: syntax error near unexpected token `0.17.3,'
./configure: line 12913: ` GNOME_DOC_INIT(0.17.3, enable_user_help=yes,
I bypassed it commenting the problematic rows. What I don't understand is:
* what should GNOME_DOC_INIT do? where is it defined? I don't find its
definition
* shouldn't it be invoked only when --enable_user_help=yes is passed to
the ./configure script? I call simply: ./configure, so I don't
understand why the enable_user_help is set ...
- commenting the mentioned rows, above, I can continue and obtain the
following error:
...
checking for mono... (cached) /usr/bin/mono
checking for BANSHEE... no
configure: error: Package requirements (banshee-thickclient >= 2.4.0)
were not met:
Package dbus-sharp-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-sharp-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'dbus-sharp-1.0', required by 'Banshee Core', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BANSHEE_CFLAGS
and BANSHEE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
apparently the file dbus-sharp-1.0.pc is not provided in debian wheezy
(see, e.g. :
http://packages.debian.org/search?mode=filename&suite=squeeze§ion=all&arch=any&searchon=contents&keywords=dbus-sharp
)
What could I do to fix this?!? Alternatively, how could I set the
BANSHEE_LIBS / BANSHEE_CFLAGS to overcome this problem?!?
Thanks for your help.
Francesco
On 11/08/2012 12:17, Bertrand Lorentz wrote:
Hi,
On Thu, Aug 9, 2012 at 4:08 PM, Francesco Spegni
<francesco spegni gmail com> wrote:
Hello,
I followed the instructions at:
http://banshee.fm/contribute/write-extensions/ in order to build a first
banshee extension, and I've got the following error:
$ ./create-extension Foo
Creating new extension: 'Foo'
================================================================================
sh: 2: Syntax error: EOF in backquote substitution
sh: 2: Syntax error: EOF in backquote substitution
sh: 2: Syntax error: Unterminated quoted string
Running ./autogen.sh
./configure: line 12913: syntax error near unexpected token `0.17.3,'
./configure: line 12913: ` GNOME_DOC_INIT(0.17.3, enable_user_help=yes,
enable_user_help=no)'
Error: Could not run ./configure, which is required to configure
banshee-community-extensions
Running makemake: *** No targets specified and no makefile found. Stop.
[snip]
I'm working on Debian wheezy and I think I've installed all the required
software. I didn't install MonoDevelop because it is said to be optional.
Do you have any suggestion on how to fix this? Thanks in advance
I wasn't able to reproduce this problem on my system (Ubuntu 12.04),
so I don't really know what's going wrong.
It's probably happening in the create-extension script, inside one of
the shell commands that are inside backquotes (the ` character).
From the output of the script, it's probable after the "# Replace the
GUID", as the commands before seem to have been executed properly.
Your best chance is probably to edit the create-extension script and
add some print statements, to figure out what's going on.
You might also want to check if you can build from the
banshee-community-extensions git checkout without adding any
extensions, to make sure you have all the build dependencies.
I hope this helps!
--
Francesco Spegni
"Ama le nuvole, le macchine, i libri, ma prima di tutto ama l'uomo" -
Nazim Hikmet
http://www.manuefra.eu
skype: francesco.spegni
begin:vcard
fn:Francesco Spegni
n:Spegni;Francesco
email;internet:francesco spegni gmail com
tel;cell:328.8694618
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]