You are not logged in.
I was trying to install Banshee Media Player manually since it wasn't listed in the repositories.
One of the missing dependencies was gdata-sharp, which spat out the following error 207 times during installation (with src/unittest/documentquerytest.cs being replaced with src/unittest/<some other file>)
src/unittests/documentquerytest.cs(22,6): error CS0619: `NUnit.Framework.TestFixtureAttribute' is obsolete: `The NUnit framework shipped with Mono is deprecated and will be removed in a future release. It was based on NUnit 2.4 which is long outdated. Please move to the NUnit NuGet package or some other form of acquiring NUnit.'Also got 12 warnings like this
src/unittests/photostest.cs(196,25): warning CS0618: `Google.GData.Photos.PhotoAccessor' is obsolete: `Use Google.Picasa.Photo instead. This code will be removed soon'Here's the total output if you're interested https://pastebin.com/jFu42sPm
I tried reinstalling mono, and installing nuget, but to no avail. Installing gdata-sharp-git didn't help either.
Any help would be appreciated.
Last edited by sudarson04 (2017-05-20 18:17:44)
Offline
It's in the AUR...
Offline
Sorry, maybe I got my terminology wrong.
I only said that it wasn't in my repositories because pacaur said so
[sud@localhost ~]$ pacaur -S banshee
:: Package banshee not found in repositories, trying AUR...I tried pacaur to see if I'd done anything wrong during manual installation, which I don't think I did. Pacaur and yaourt run into the same errors I put up in the first post.
I've downloaded and untared the banshee package without any issues. The dependency that isn't being resolved is gdata-sharp because I'm getting the above mentioned errors.
Last edited by sudarson04 (2017-05-20 15:12:05)
Offline
Have you tried ( yes this is a terrible work around ) changing line 60 of src/libgoogle-data-mono-1.7.0.1/Makefile to
all: $(ALLLIBS) $(samples) $(PKGCONFIG_FILES)Offline
Have you tried ( yes this is a terrible work around ) changing line 60 of src/libgoogle-data-mono-1.7.0.1/Makefile to
all: $(ALLLIBS) $(samples) $(PKGCONFIG_FILES)
I got the same result when I tried it out.
Furthermore, when I rum makepkg, line 60 changes back to
all: $(ALLLIBS) tests $(samples) $(PKGCONFIG_FILES)What exactly does removing "test" from that line do? I wasn't able to figure it out.
Last edited by sudarson04 (2017-05-20 18:30:44)
Offline
You need to use `makepkg -e` so that the existing modified src directory will be used. Simply put removing test does exactly that it prevents self tests from being built and run.
$ makepkg -e
==> Making package: gdata-sharp 1.7.0.1-3 (Sat 20 May 16:53:18 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: Nothing to be done for 'all'.
==> Entering fakeroot environment...
==> Starting package()...
for i in Google.GData.Calendar.dll Google.GData.Client.dll Google.GData.CodeSearch.dll Google.GData.Extensions.dll Google.GData.GoogleBase.dll Google.GData.Spreadsheets.dll Google.GData.Apps.dll Google.GData.Photos.dll Google.GData.Documents.dll Google.GData.AccessControl.dll Google.GData.Contacts.dll Google.GData.YouTube.dll Google.GData.Health.dll Google.GData.Blogger.dll Google.GData.Analytics.dll ; do gacutil -i $i -package GData-Sharp -root "/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib"; done
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Calendar.dll -> ../gac/Google.GData.Calendar/1.7.0.32144__aa6748391206b888/Google.GData.Calendar.dll
Installed Google.GData.Calendar.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Client.dll -> ../gac/Google.GData.Client/1.7.0.32144__04a59ca9b0273830/Google.GData.Client.dll
Installed Google.GData.Client.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.CodeSearch.dll -> ../gac/Google.GData.CodeSearch/1.7.0.32144__cac30bb7c678972d/Google.GData.CodeSearch.dll
Installed Google.GData.CodeSearch.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Extensions.dll -> ../gac/Google.GData.Extensions/1.7.0.32144__0b4c5df2ebf20876/Google.GData.Extensions.dll
Installed Google.GData.Extensions.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.GoogleBase.dll -> ../gac/Google.GData.GoogleBase/1.7.0.32144__b361faa2ad5bd3db/Google.GData.GoogleBase.dll
Installed Google.GData.GoogleBase.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Spreadsheets.dll -> ../gac/Google.GData.Spreadsheets/1.7.0.32144__3f77feb76ff0d9a1/Google.GData.Spreadsheets.dll
Installed Google.GData.Spreadsheets.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Apps.dll -> ../gac/Google.GData.Apps/1.7.0.32144__e6feebfe441b89cb/Google.GData.Apps.dll
Installed Google.GData.Apps.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Photos.dll -> ../gac/Google.GData.Photos/1.7.0.32144__a25b50f2e8e3887a/Google.GData.Photos.dll
Installed Google.GData.Photos.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Documents.dll -> ../gac/Google.GData.Documents/1.7.0.32144__e4daaad656f19bb9/Google.GData.Documents.dll
Installed Google.GData.Documents.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.AccessControl.dll -> ../gac/Google.GData.AccessControl/1.7.0.32144__b4b8eb9a7afc8328/Google.GData.AccessControl.dll
Installed Google.GData.AccessControl.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Contacts.dll -> ../gac/Google.GData.Contacts/1.7.0.32144__7e065189dd4b982f/Google.GData.Contacts.dll
Installed Google.GData.Contacts.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.YouTube.dll -> ../gac/Google.GData.YouTube/1.7.0.32144__af04a32718ae8833/Google.GData.YouTube.dll
Installed Google.GData.YouTube.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Health.dll -> ../gac/Google.GData.Health/1.7.0.32144__7dc2246c3cef9211/Google.GData.Health.dll
Installed Google.GData.Health.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Blogger.dll -> ../gac/Google.GData.Blogger/1.7.0.32144__6f8943d33947d761/Google.GData.Blogger.dll
Installed Google.GData.Blogger.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
Package exported to: /tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/GData-Sharp/Google.GData.Analytics.dll -> ../gac/Google.GData.Analytics/1.7.0.32144__9e229226d7996434/Google.GData.Analytics.dll
Installed Google.GData.Analytics.dll into the gac (/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/mono/gac)
install -d "/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/pkgconfig"
install -m 644 -t "/tmp/gdata-sharp/pkg/gdata-sharp//usr/lib/pkgconfig" misc/gdata-sharp-spreadsheets.pc misc/gdata-sharp-acl.pc misc/gdata-sharp-blogger.pc misc/gdata-sharp-contacts.pc misc/gdata-sharp-calendar.pc misc/gdata-sharp-youtube.pc misc/gdata-sharp-health.pc misc/gdata-sharp-core.pc misc/gdata-sharp-codesearch.pc misc/gdata-sharp-analytics.pc misc/gdata-sharp-base.pc misc/gdata-sharp-documents.pc misc/gdata-sharp-apps.pc misc/gdata-sharp-photos.pc
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "gdata-sharp"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: gdata-sharp 1.7.0.1-3 (Sat 20 May 16:53:20 UTC 2017)Offline
That worked! Thanks a bunch, loqs.
Installation of gdata-sharp and banshee went just fine. But I'm having issues with running banshee now. It's throwing some unhandled exceptions, and I'm not sure if these two things are related.
I'll put it up in a different post if the problem persists.
Last edited by sudarson04 (2017-05-20 18:27:13)
Offline