Issue 660 in google-gdata: libgoogle-data-mono-2.1.0.0 fails to compile

40 views
Skip to first unread message

google...@googlecode.com

unread,
May 25, 2013, 7:56:40 AM5/25/13
to gdata-dotnet-...@googlegroups.com
Status: New
Owner: ----

New issue 660 by pachora...@gmail.com: libgoogle-data-mono-2.1.0.0 fails to
compile
http://code.google.com/p/google-gdata/issues/detail?id=660

I get this error:
make -j5 -j1 PREFIX=/usr
gmcs /d:TRACE -target:library -out:Google.GData.Client.dll
src/core/abstractentry.cs src/core/feedquery.cs src/core/tracing.cs
src/core/atomsource.cs src/core/extcollections.cs src/core/simpleelement.cs
src/core/xmlextension.cs src/core/atombase.cs src/core/rssfeedparser.cs
src/core/authexceptions.cs src/core/asyncDataHandler.cs
src/core/versioninterface.cs src/core/atomuri.cs src/core/basefeedparser.cs
src/core/atomlink.cs src/core/atomfeed.cs src/core/feedconstants.cs
src/core/atombaselink.cs src/core/simplecontainer.cs src/core/service.cs
src/core/goauthrequest.cs src/core/atomtextconstruct.cs
src/core/gauthrequest.cs src/core/exceptions.cs src/core/mediaservice.cs
src/core/asyncservice.cs src/core/documentquery.cs src/core/batcherror.cs
src/core/mediasource.cs src/core/atomfeedparser.cs src/core/logrequest.cs
src/core/atomcategory.cs src/core/basenametable.cs src/core/abstractfeed.cs
src/core/collections.cs src/core/authsubutil.cs src/core/request.cs
src/core/utilities.cs src/core/HttpUtility.cs src/core/atomnametable.cs
src/core/serviceinterface.cs src/core/atomcontent.cs
src/core/atomfeedentry.cs src/core/atomlogo.cs src/core/authentication.cs
src/core/gdatabatch.cs src/core/atomperson.cs src/core/extensionbase.cs
src/core/appcontrol.cs src/core/atomId.cs src/core/oauthutil.cs
src/core/oauthbase.cs src/core/atomFeedgenerator.cs
src/core/resumableupload.cs src/core/goauth2request.cs
src/core/oauthparameters.cs src/core/gauthsubrequest.cs
src/core/atomicon.cs src/core/AssemblyInfo.cs src/core/oauthuri.cs
src/core/feedmodel.cs src/core/batcherrors.cs version/AssemblyVersion.cs
-r:System.dll -r:System.Xml.dll -r:System.Configuration.dll
-keyfile:src/core/clientkey.sn
src/core/oauthbase.cs(8,7): error CS0246: The type or namespace name
`Newtonsoft' could not be found. Are you missing an assembly reference?
Compilation failed: 1 error(s), 0 warnings
make: *** [Google.GData.Client.dll] Error 1


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google...@googlecode.com

unread,
Apr 23, 2014, 10:53:22 AM4/23/14
to gdata-dotnet-...@googlegroups.com

Comment #1 on issue 660 by schmatz...@googlemail.com:
libgoogle-data-mono-2.1.0.0 fails to compile
http://code.google.com/p/google-gdata/issues/detail?id=660

Same problem here. Looks like Newtonsoft JSON does not exist on Linux/Mono.
There isn't any source that can be easily compiled to work (only Ubuntu
seems to have it).

Mattias Dalkvist

unread,
Apr 24, 2014, 5:44:07 AM4/24/14
to gdata-dotnet-...@googlegroups.com, codesite...@google.com, google...@googlecode.com
The library in the repository is 2 years old, version 4.0.5.
I think this is the source https://github.com/JamesNK/Newtonsoft.Json/tree/4.0.5
Don't know if it helps, I don't use mono much.

google...@googlecode.com

unread,
Jun 24, 2014, 9:27:19 PM6/24/14
to gdata-dotnet-...@googlegroups.com

Comment #2 on issue 660 by schmatz...@googlemail.com:
libgoogle-data-mono-2.1.0.0 fails to compile
http://code.google.com/p/google-gdata/issues/detail?id=660

This may be a bit old now, but I was able to build Newtonsoft-JSON on
Slackware. Just look at this script and you get the idea if you want to do
it yourself:

http://schmatzler.de/my_slackbuilds/banshee/SlackBuilds/newtonsoft-json/newtonsoft-json.SlackBuild

I registered the DLL with gacutil, but still got the error above, so I
modified the Makefile of google-gdata to include the DLL directly. It works:

FRAMEWORK_REFS = -r:System.dll -r:System.Xml.dll
-r:System.Configuration.dll
-r:/usr/lib/mono/newtonsoft-json/Newtonsoft.Json.dll

google...@googlecode.com

unread,
Jan 24, 2015, 9:08:21 PM1/24/15
to gdata-dotnet-...@googlegroups.com

Comment #3 on issue 660 by vcut...@gmail.com: libgoogle-data-mono-2.1.0.0
fails to compile
https://code.google.com/p/google-gdata/issues/detail?id=660

version 2.2 still has this issue

google...@googlecode.com

unread,
Jan 24, 2015, 9:12:31 PM1/24/15
to gdata-dotnet-...@googlegroups.com

Comment #4 on issue 660 by vcut...@gmail.com: libgoogle-data-mono-2.1.0.0
You can also download the dll and compiled sources from:
https://github.com/JamesNK/Newtonsoft.Json/releases and reference it the
way schmatz did
Reply all
Reply to author
Forward
0 new messages