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

classic Classic list List threaded Threaded
31 messages Options
12
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 22:02, Sharky <[hidden email]> wrote:

> 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

gudev-sharp only looks for gmcs as its C# compiler - if it doesn't
find that then it sets the command to no instead of failing. Pretty
dumb but there it is... try:

$ make CSC=mcs

or alternatively create a symlink from gmcs to mcs somewhere in your path.

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

Don't be silly :)

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

- Is this in your banshee-arfbtwn-fork directory? (if not, change to it)
- Is there an error message when you type "git branch --list"?
- What's the output of "git remote -v"?
- Why are you passing the patch switch to checkout?

The git book might help: https://git-scm.com/book/en/v2

--
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
$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make CSC=mcs

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

(same gudev error)

- Is this in your banshee-arfbtwn-fork directory? (if not, change to it)
Yep
- Is there an error message when you type "git branch --list"?
Nope, no output
- What's the output of "git remote -v"?
Nothing
- Why are you passing the patch switch to checkout?
Help files looked like that might be useful but I was just trying it tbh.


simon@Poseidon:~/banshee-arfbtwn-fork$ git status
On branch master
Initial commit
Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .gitattributes
        .github/
        .gitignore
        .gitmodules
        AUTHORS
        Banshee.sln
        Banshee.sln.DotSettings
        COPYING
        HACKING
        MAINTAINERS
        Makefile.am
        NEWS
        README
        README.l10n
        autogen.sh
        banshee.doap
        bootstrap-bundle
        build/
        configure.ac
        data/
        docs/
        extras/
        gstreamer-master/
        gstreamer-sharp/
        gtk-sharp/
        gudev-sharp/
        help/
        po/
        profile-configure
        release-rc
        src/
        tests/

nothing added to commit but untracked files present (use "git add" to track)




--
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 16 September 2017 at 00:39, Sharky <[hidden email]> wrote:
> $ ./autogen.sh --enable-gst-native --disable-appledevice
> $ make CSC=mcs

That's for compiling gudev-sharp, not Banshee.

<snip />

>
> - Is this in your banshee-arfbtwn-fork directory? (if not, change to it)
> Yep
> - Is there an error message when you type "git branch --list"?
> Nope, no output
> - What's the output of "git remote -v"?
> Nothing

thought so - remember when you executed "git init" on its own? - you
initialised the directory as a clean repository:

git remote add origin https://github.com/arfbtwn/banshee.git

Then you'll be able to fetch, list branches and checkout.

<snip />

--
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
git remote add origin https://github.com/arfbtwn/banshee.git
git init
git remote -v
origin https://github.com/arfbtwn/banshee.git (fetch)
origin https://github.com/arfbtwn/banshee.git (push)
git fetch --all
git branch --list
[nothing]
git checkout feature/csharp4
"error: Updating the following directories would lose untracked files in it:
        src/Hyena
error: The following untracked working tree files would be overwritten by
checkout:
[a billion lines]"
Dumped everything in folder into zip file then files & moved zip. Re entered
git commands:
"error: The following untracked working tree files would be overwritten by
checkout:
        .gitattributes
        .github/CONTRIBUTING.md
        .gitignore
        .gitmodules
Please move or remove them before you switch branches. Aborting"

Seems nuts that it's got a problem with git files that it's using itself.
Put them all in zips.

$ git checkout feature/csharp4
"Branch feature/csharp4 set up to track remote branch feature/csharp4 from
origin.
Switched to a new branch 'feature/csharp4'"

$ ./autogen.sh
"No package 'gstreamer-sharp-1.0' found"
./autogen.sh --enable-gst-native (changes from previous only):
"banshee-2.9.2 /   Build Environment /     Install Prefix:      
/usr/lib/pkgconfig/../.. [was /usr]"
$ make
previous apple device issue
$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make:
Apple issue gone. Same "Making all in Banshee.Gio" issue :(

"compile my own gudev-sharp"
$ git clone https://github.com/mono/gudev-sharp.git
$ git submodule update --init
$ cd gudev-sharp
$ ./autogen.sh
$ make
failed: 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 CSC=mcs
looks like it worked
$ cd ../
$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make
Apple issue gone. Same "Making all in Banshee.Gio" issue. "compile my own
gudev-sharp" section obviously didn't do anything so I guess either I did it
wrongly or it wasn't the right thing to do.

As always, any pointers welcomed.
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 20 Sep 2017 02:36, "Sharky" <[hidden email]> wrote:
git init

Why are you running git init here? Don't execute random commands without reading the manual pages for them first.

git remote -v
origin  https://github.com/arfbtwn/banshee.git (fetch)
origin  https://github.com/arfbtwn/banshee.git (push)
git fetch --all
git branch --list
[nothing]

If you read the manual page you'll find the -a switch that shows remote branches too.

git checkout feature/csharp4
"error: Updating the following directories would lose untracked files in it:
        src/Hyena
error: The following untracked working tree files would be overwritten by
checkout:
[a billion lines]"
Dumped everything in folder into zip file then files & moved zip. Re entered
git commands:
"error: The following untracked working tree files would be overwritten by
checkout:
        .gitattributes
        .github/CONTRIBUTING.md
        .gitignore
        .gitmodules
Please move or remove them before you switch branches. Aborting"

Seems nuts that it's got a problem with git files that it's using itself.
Put them all in zips.

Nah - you still had the files from your earlier clone even though you messed up your local repository, this is just git being safe.

For future you could have done "git checkout --force <branch>" and git would have just done it.


$ git checkout feature/csharp4
"Branch feature/csharp4 set up to track remote branch feature/csharp4 from
origin.
Switched to a new branch 'feature/csharp4'"

$ ./autogen.sh
"No package 'gstreamer-sharp-1.0' found"
./autogen.sh --enable-gst-native (changes from previous only):
"banshee-2.9.2 /   Build Environment /     Install Prefix:
/usr/lib/pkgconfig/../.. [was /usr]"
$ make
previous apple device issue
$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make:
Apple issue gone. Same "Making all in Banshee.Gio" issue :(

"compile my own gudev-sharp"
$ git clone https://github.com/mono/gudev-sharp.git
$ git submodule update --init

FYI this should be executed inside the freshly cloned repository. It definitely sounds like you made your parent source directory into a git repository at some point since it didn't produce an error.

$ cd gudev-sharp
$ ./autogen.sh
$ make
failed: 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 CSC=mcs
looks like it worked
$ cd ../
$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make
Apple issue gone. Same "Making all in Banshee.Gio" issue. "compile my own
gudev-sharp" section obviously didn't do anything so I guess either I did it
wrongly or it wasn't the right thing to do.

As always, any pointers welcomed.
Cheers dude.

Cool - you just missed the installation step for gudev-sharp, there should be an assembly in there if it built correctly.

Beware though - you'll overwrite your system copy in the GAC so back it up first.

_______________________________________________
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 as always; sorry for delay.

Thought this would be the last one, but no dice; I guess something's still
wrong.

"FYI this should be executed inside the freshly cloned repository" I'm not
100% sure which bit this is referring to!

"you just missed the installation step for gudev-sharp"
Good spot! So in the gudev-sharp subfolder:
$ ./autogen.sh
$ make CSC=mcs
$ sudo make install

Making install in gudev
make[1]: Entering directory
'/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
make[2]: Entering directory
'/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
make[2]: Nothing to be done for 'install-exec-am'.
echo "/usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0 /root
/usr/local/lib";  \
        /usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0
/root /usr/local/lib || exit 1;
/usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0 /root
/usr/local/lib
Package exported to: /usr/local/lib/mono/gudev-sharp-3.0/gudev-sharp.dll ->
../gac/gudev-sharp/3.0.0.0__3565e728cafab25e/gudev-sharp.dll
Installed gudev-sharp.dll into the gac (/usr/local/lib/mono/gac)
 /bin/mkdir -p '/usr/local/lib/mono/gudev-sharp-3.0/'
 /usr/bin/install -c gudev-sharp.dll.config
'/usr/local/lib/mono/gudev-sharp-3.0/'
make[2]: Leaving directory
'/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
make[1]: Leaving directory
'/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
make[1]: Entering directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
make[2]: Entering directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 gudev-sharp-3.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
make[1]: Leaving directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'

Looks good. I think.

$ cd ../
$ ./autogen.sh --enable-gst-native --disable-appledevice
$ make
Same "Making all in Banshee.Gio" issue still. "compile my own gudev-sharp"
section obviously didn't do anything so I guess either I did it wrongly or
it wasn't the right thing to do. (still, haha)
If you see anything askew, please let me know. 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 27 September 2017 at 05:24, Sharky <[hidden email]> wrote:
> Thanks as always; sorry for delay.
>
> Thought this would be the last one, but no dice; I guess something's still
> wrong.

Yeah, but trust me, you really are getting there. Banshee has quite a
few dependencies and compiling smaller packages like gudev-sharp will
give you a nice bit of experience that you'll find useful later - I'd
suggest reading its configure.ac and Makefile.am files and having a
play with them since you have it cloned - you can always git reset
--hard to get back to a clean-ish state.

> "FYI this should be executed inside the freshly cloned repository" I'm not
> 100% sure which bit this is referring to!

Initializing submodules: git submodule update --init

You only need that if the repository has any submodules though.
(gudev-sharp doesn't) You can tell by looking at the file .gitmodules
after cloning the repository, if it's there then there are submodules.

> "you just missed the installation step for gudev-sharp"
> Good spot! So in the gudev-sharp subfolder:
> $ ./autogen.sh
> $ make CSC=mcs
> $ sudo make install
>
> Making install in gudev
> make[1]: Entering directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[2]: Entering directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[2]: Nothing to be done for 'install-exec-am'.
> echo "/usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0 /root
> /usr/local/lib";  \
>         /usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0
> /root /usr/local/lib || exit 1;
> /usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0 /root
> /usr/local/lib
> Package exported to: /usr/local/lib/mono/gudev-sharp-3.0/gudev-sharp.dll ->
> ../gac/gudev-sharp/3.0.0.0__3565e728cafab25e/gudev-sharp.dll
> Installed gudev-sharp.dll into the gac (/usr/local/lib/mono/gac)
>  /bin/mkdir -p '/usr/local/lib/mono/gudev-sharp-3.0/'
>  /usr/bin/install -c gudev-sharp.dll.config
> '/usr/local/lib/mono/gudev-sharp-3.0/'
> make[2]: Leaving directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[1]: Leaving directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[1]: Entering directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
> make[2]: Entering directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
> make[2]: Nothing to be done for 'install-exec-am'.
>  /bin/mkdir -p '/usr/local/lib/pkgconfig'
>  /usr/bin/install -c -m 644 gudev-sharp-3.0.pc '/usr/local/lib/pkgconfig'
> make[2]: Leaving directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
> make[1]: Leaving directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
>
> Looks good. I think.

It does - only you didn't pass --prefix=/usr so ./configure
(autogen.sh) chose the safe default of /usr/local to install the
package.

> $ cd ../
> $ ./autogen.sh --enable-gst-native --disable-appledevice
> $ make
> Same "Making all in Banshee.Gio" issue still. "compile my own gudev-sharp"
> section obviously didn't do anything so I guess either I did it wrongly or
> it wasn't the right thing to do. (still, haha)
> If you see anything askew, please let me know. Thanks again.

So - because you didn't overwrite your system installed copy you now
have two options:

1) There is an environment variable: GUDEV_SHARP_LIBS (./configure
--help shows it)

If you set that to
-r:/usr/local/lib/mono/gudev-sharp-3.0/gudev-sharp.dll and configure
then make Banshee it should use that string instead of the one that
references your system installed copy and compilation may succeed -
I'm not sure what'll happen at runtime though, presumably the mono
runtime will load your system installed copy and the program will fail
at that point.

2) First, perform a "sudo make uninstall" in gudev-sharp to remove it
from /usr/local.

reconfigure it with the prefix argument make && make install and it'll
overwrite your system copy. (I think on an *buntu system you can use
dpkg to restore your system copy but I'm not 100% - make a backup if
you're worried but reinstalling the package with apt would also work
if anything goes wrong)

There's actually a third option but I'm not sure it would work in your
case - you could use one of the PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR
variables to tell pkg-config to look in /usr/local/lib/pkgconfig where
your gudev-sharp-3.0.pc file was installed however I'm not sure if
that would be preferred over your system copy. As you can probably
tell - since I'm not sure which variable it is - I haven't used this
method myself.

Good luck!

Ps. If I were you I'd move the gudev-sharp repository out of the
Banshee folder - git status in your Banshee clone probably shows the
other repository as new files. It shouldn't cause any harm though.

--
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 has NOT been accepted by the mailing list yet.
So,
gudev-sharp folder:
sudo make uninstall
./autogen.sh --prefix=/usr
make CSC=msc
sudo make install

cd ../
./autogen.sh --enable-gst-native --disable-appledevice
make
sudo make install

same problem.

"you didn't pass --prefix=/usr so ./configure (autogen.sh) chose the safe default of /usr/local to install the package.
because you didn't overwrite your system installed copy"

I'm probably wrong but would the prefix/usr not lead to usr/local rather than systemwide, i.e. shouldn't I choose prefix/whatever_systemwide_is_called? prefix/root?

Cheers for your tenacity on this one!!


On Thu, 28 Sep 2017 at 11:25 Banshee Media Player mailing list [via Banshee Media Player] <[hidden email]> wrote:
On 27 September 2017 at 05:24, Sharky <[hidden email]> wrote:
> Thanks as always; sorry for delay.
>
> Thought this would be the last one, but no dice; I guess something's still
> wrong.

Yeah, but trust me, you really are getting there. Banshee has quite a
few dependencies and compiling smaller packages like gudev-sharp will
give you a nice bit of experience that you'll find useful later - I'd
suggest reading its configure.ac and Makefile.am files and having a
play with them since you have it cloned - you can always git reset
--hard to get back to a clean-ish state.

> "FYI this should be executed inside the freshly cloned repository" I'm not
> 100% sure which bit this is referring to!

Initializing submodules: git submodule update --init

You only need that if the repository has any submodules though.
(gudev-sharp doesn't) You can tell by looking at the file .gitmodules
after cloning the repository, if it's there then there are submodules.

> "you just missed the installation step for gudev-sharp"
> Good spot! So in the gudev-sharp subfolder:
> $ ./autogen.sh
> $ make CSC=mcs
> $ sudo make install
>
> Making install in gudev
> make[1]: Entering directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[2]: Entering directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[2]: Nothing to be done for 'install-exec-am'.
> echo "/usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0 /root
> /usr/local/lib";  \
>         /usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0
> /root /usr/local/lib || exit 1;
> /usr/bin/gacutil /i gudev-sharp.dll /f /package gudev-sharp-3.0 /root
> /usr/local/lib
> Package exported to: /usr/local/lib/mono/gudev-sharp-3.0/gudev-sharp.dll ->
> ../gac/gudev-sharp/3.0.0.0__3565e728cafab25e/gudev-sharp.dll
> Installed gudev-sharp.dll into the gac (/usr/local/lib/mono/gac)
>  /bin/mkdir -p '/usr/local/lib/mono/gudev-sharp-3.0/'
>  /usr/bin/install -c gudev-sharp.dll.config
> '/usr/local/lib/mono/gudev-sharp-3.0/'
> make[2]: Leaving directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[1]: Leaving directory
> '/home/simon/banshee-arfbtwn-fork/gudev-sharp/gudev'
> make[1]: Entering directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
> make[2]: Entering directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
> make[2]: Nothing to be done for 'install-exec-am'.
>  /bin/mkdir -p '/usr/local/lib/pkgconfig'
>  /usr/bin/install -c -m 644 gudev-sharp-3.0.pc '/usr/local/lib/pkgconfig'
> make[2]: Leaving directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
> make[1]: Leaving directory '/home/simon/banshee-arfbtwn-fork/gudev-sharp'
>
> Looks good. I think.
It does - only you didn't pass --prefix=/usr so ./configure
(autogen.sh) chose the safe default of /usr/local to install the
package.

> $ cd ../
> $ ./autogen.sh --enable-gst-native --disable-appledevice
> $ make
> Same "Making all in Banshee.Gio" issue still. "compile my own gudev-sharp"
> section obviously didn't do anything so I guess either I did it wrongly or
> it wasn't the right thing to do. (still, haha)
> If you see anything askew, please let me know. Thanks again.

So - because you didn't overwrite your system installed copy you now
have two options:

1) There is an environment variable: GUDEV_SHARP_LIBS (./configure
--help shows it)

If you set that to
-r:/usr/local/lib/mono/gudev-sharp-3.0/gudev-sharp.dll and configure
then make Banshee it should use that string instead of the one that
references your system installed copy and compilation may succeed -
I'm not sure what'll happen at runtime though, presumably the mono
runtime will load your system installed copy and the program will fail
at that point.

2) First, perform a "sudo make uninstall" in gudev-sharp to remove it
from /usr/local.

reconfigure it with the prefix argument make && make install and it'll
overwrite your system copy. (I think on an *buntu system you can use
dpkg to restore your system copy but I'm not 100% - make a backup if
you're worried but reinstalling the package with apt would also work
if anything goes wrong)

There's actually a third option but I'm not sure it would work in your
case - you could use one of the PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR
variables to tell pkg-config to look in /usr/local/lib/pkgconfig where
your gudev-sharp-3.0.pc file was installed however I'm not sure if
that would be preferred over your system copy. As you can probably
tell - since I'm not sure which variable it is - I haven't used this
method myself.

Good luck!

Ps. If I were you I'd move the gudev-sharp repository out of the
Banshee folder - git status in your Banshee clone probably shows the
other repository as new files. It shouldn't cause any harm though.

--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



If you reply to this email, your message will be added to the discussion below:
To unsubscribe from Installing 2.9.1: Syntax error: "(" unexpected in autogen.sh, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

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

Sharky
Nick sincere thanks again for all your help before.
I've recently built a new system with a fresh xubuntu 17.10 and am minded to
try this again, however I'm reminded of something you said back in
September:

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

Just thought I'd ask if there has been any progress on that? (he says,
crossing fingers).

Also having come to the messageboard I noticed my last message was never
accepted for some reason - apologies if it looked like I just fell off the
map and never said 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
On 12 December 2017 at 17:22, Sharky <[hidden email]> wrote:

> Nick sincere thanks again for all your help before.
> I've recently built a new system with a fresh xubuntu 17.10 and am minded to
> try this again, however I'm reminded of something you said back in
> September:
>
> "Ps. When the PPA is setup it really will be just a case of executing
> apt-get build-dep banshee"
>
> Just thought I'd ask if there has been any progress on that? (he says,
> crossing fingers).

Sadly, no not yet. That's not to say there hasn't been any development
though. master branch has moved along a little and I've received a few
patches from a fellow GitHub user too.

At the moment if you perform the `apt-get build-dep` command I'm
pretty sure it'll pull in older libraries as 2.9.x was never really
declared stable, if I remember correctly, so in the interest of
keeping your fresh system fairly clean it might be best to install the
required *-dev packages by hand. Provided you've got autotools
installed there shouldn't be that many.

Since you've had a break I'd definitely recommend checking out the
feature/build branch and trying out the new configure script. It
should be a lot more forgiving than the one on master branch, if you
don't pass any switches then it should automatically determine what it
can build based on what you have on your system. Some switches have
changed names so invoke `./configure --help` for details.

> Also having come to the messageboard I noticed my last message was never
> accepted for some reason - apologies if it looked like I just fell off the
> map and never said thanks.

I just assumed you had gotten it all working.

Round Two, Ding! ;)

--
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
Hi Nick/all, hope you're well.

Are you aware whether there's been any progress on banshee install
functionality since Dec 17, most notably the PPA or a DEB installer or
similar? Though I'd ask before I go through this thread and try to compile a
clean install guide.

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)
12