Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Problems compiling source from Github?

3 replies [Last post]
  • Login or register to post comments
Sun, 06/24/2012 - 14:21
kendallb
Offline
Joined: 02/27/2012
Groups: None

I am trying to build the .NET connector from the source code on Github, but it would seem that it must be depending on some older version of the Enyim library as there are compile errors in the current code. I get all the errors listed below when I tried to compile, so it would seem some of the functions in the Enyim library must have changed.

Is there an update to the Couchbase code on github that will compile correctly against the latest Enyim library, or does anyone know what version of the Enyim source I need to download in order to get it to compile?

Error 19 'Couchbase.CouchbaseClient.PerformConcatenate(Enyim.Caching.Memcached.ConcatenationMode, string, ref ulong, System.ArraySegment)': return type must be 'Enyim.Caching.Memcached.Results.IConcatOperationResult' to match overridden member 'Enyim.Caching.MemcachedClient.PerformConcatenate(Enyim.Caching.Memcached.ConcatenationMode, string, ref ulong, System.ArraySegment)' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseClient.cs 135 27 Couchbase
Error 16 'Couchbase.CouchbaseClient.PerformMutate(Enyim.Caching.Memcached.MutationMode, string, ulong, ulong, uint, ref ulong)': return type must be 'Enyim.Caching.Memcached.Results.IMutateOperationResult' to match overridden member 'Enyim.Caching.MemcachedClient.PerformMutate(Enyim.Caching.Memcached.MutationMode, string, ulong, ulong, uint, ref ulong)' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseClient.cs 112 28 Couchbase
Error 20 'Couchbase.CouchbaseClient.PerformStore(Enyim.Caching.Memcached.StoreMode, string, object, uint, ref ulong, out int)': return type must be 'Enyim.Caching.Memcached.Results.IStoreOperationResult' to match overridden member 'Enyim.Caching.MemcachedClient.PerformStore(Enyim.Caching.Memcached.StoreMode, string, object, uint, ref ulong, out int)' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseClient.cs 156 27 Couchbase
Error 12 'Couchbase.CouchbaseClient.PerformTryGet(string, out ulong, out object)': return type must be 'Enyim.Caching.Memcached.Results.IGetOperationResult' to match overridden member 'Enyim.Caching.MemcachedClient.PerformTryGet(string, out ulong, out object)' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseClient.cs 86 27 Couchbase
Error 6 'Couchbase.GetAndTouchOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\Operations\GetAndTouchOperation.cs 48 27 Couchbase
Warning 4 'Couchbase.IView.Descending(bool)' hides inherited member 'Couchbase.IView.Descending(bool)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 37 9 Couchbase
Warning 8 'Couchbase.IView.EndDocumentId(string)' hides inherited member 'Couchbase.IView.EndDocumentId(string)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 65 9 Couchbase
Warning 15 'Couchbase.IView.GetPagedView(int)' hides inherited member 'Couchbase.IView.GetPagedView(int)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 100 24 Couchbase
Warning 10 'Couchbase.IView.Group(bool)' hides inherited member 'Couchbase.IView.Group(bool)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 79 9 Couchbase
Warning 11 'Couchbase.IView.GroupAt(int)' hides inherited member 'Couchbase.IView.GroupAt(int)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 86 9 Couchbase
Warning 1 'Couchbase.IView.Limit(int)' hides inherited member 'Couchbase.IView.Limit(int)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 16 9 Couchbase
Warning 9 'Couchbase.IView.Reduce(bool)' hides inherited member 'Couchbase.IView.Reduce(bool)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 72 9 Couchbase
Warning 2 'Couchbase.IView.Skip(int)' hides inherited member 'Couchbase.IView.Skip(int)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 24 9 Couchbase
Warning 3 'Couchbase.IView.Stale(Couchbase.StaleMode)' hides inherited member 'Couchbase.IView.Stale(Couchbase.StaleMode)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 31 9 Couchbase
Warning 7 'Couchbase.IView.StartDocumentId(string)' hides inherited member 'Couchbase.IView.StartDocumentId(string)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 58 9 Couchbase
Warning 14 'Couchbase.IView.WithInclusiveEnd(bool)' hides inherited member 'Couchbase.IView.WithInclusiveEnd(bool)'. Use the new keyword if hiding was intended. C:\src\Couchbase\Net-Client\src\Couchbase\ICouchbaseView.cs 93 9 Couchbase
Error 18 'Couchbase.SyncOperation.ReadResponse(Enyim.Caching.Memcached.PooledSocket)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Operation.ReadResponse(Enyim.Caching.Memcached.PooledSocket)' C:\src\Couchbase\Net-Client\src\Couchbase\Operations\SyncOperation.cs 127 27 Couchbase
Error 5 'Couchbase.TouchOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\Operations\TouchOperation.cs 45 27 Couchbase
Error 24 'Couchbase.VBucketAwareOperationFactory.VBConcat.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\VBucketAwareOperationFactory.cs 262 28 Couchbase
Error 21 'Couchbase.VBucketAwareOperationFactory.VBDelete.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\VBucketAwareOperationFactory.cs 156 28 Couchbase
Error 25 'Couchbase.VBucketAwareOperationFactory.VBGet.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\VBucketAwareOperationFactory.cs 305 28 Couchbase
Error 22 'Couchbase.VBucketAwareOperationFactory.VBMutator.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\VBucketAwareOperationFactory.cs 198 28 Couchbase
Error 17 'Couchbase.VBucketAwareOperationFactory.VBStore.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)': return type must be 'Enyim.Caching.Memcached.Results.IOperationResult' to match overridden member 'Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ProcessResponse(Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse)' C:\src\Couchbase\Net-Client\src\Couchbase\VBucketAwareOperationFactory.cs 114 28 Couchbase
Error 27 Cannot implicitly convert type 'Enyim.Caching.Memcached.Results.IOperationResult' to 'bool' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseClient.cs 194 8 Couchbase
Error 28 Cannot implicitly convert type 'Enyim.Caching.Memcached.Results.IOperationResult' to 'bool' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseClient.cs 228 10 Couchbase
Error 26 Metadata file 'C:\src\Couchbase\Net-Client\src\Couchbase\bin\Debug\Couchbase.dll' could not be found CouchbaseSample
Warning 13 Type parameter 'T' has the same name as the type parameter from outer type 'Couchbase.CouchbaseViewBase' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseViewBase.cs 92 51 Couchbase
Warning 23 Type parameter 'T' has the same name as the type parameter from outer type 'Couchbase.CouchbaseViewBase' C:\src\Couchbase\Net-Client\src\Couchbase\CouchbaseViewBase.cs 214 53 Couchbase

Top
  • Login or register to post comments
Sun, 06/24/2012 - 14:32
kendallb
Offline
Joined: 02/27/2012
Groups: None

Ok,I am no expert on Git but originally I tried to simply download the ZIP file of the latest code from GitHub for the Couchbase client which did not include the Enyim library. I could see where it needed to be so I simply grabbed the latest Enyim code from GitHub and dumped it in there, and it failed to build.

However when I cloned the repository using the GitHub for Windows program, it automatically sucked down the Enyim library dependency source code but it brought down a completely different set of code for the Enyim library. Which I assume is a different build or something? I checked the git modules file but for the life of me I cannot work out how I would figure out what ZIP file to download if I wanted to do it that way?

I guess I will make sure I grab the latest code with GitHub for Windows in the future.

Top
  • Login or register to post comments
Tue, 02/26/2013 - 13:45
paulati
Offline
Joined: 02/26/2013
Groups: None

Hello
I have downloaded EnyimMemcached source code from
https://github.com/enyim/EnyimMemcached Branch master
And couchbase .net client from
https://github.com/couchbase/couchbase-net-client Branch master

I've got errors compiling couchbase client:

...\couchbase-net-client\src\Couchbase\CouchbaseClient.cs(598,80): error CS1061: 'Enyim.Caching.Configuration.VBucket' does not contain a definition for 'Index' and no extension method 'Index' accepting a first argument of type 'Enyim.Caching.Configuration.VBucket'

Can you tell me where to find an EnyimMemcached version that can be compiled with couchbase client version 1.2.1
Thanks in advance for your help.

Top
  • Login or register to post comments
Wed, 02/27/2013 - 23:11
kendallb
Offline
Joined: 02/27/2012
Groups: None

If you sync the repo for Couchbase on GitHub, it includes the correct Enyim source code as part of it. That is not included if you grab it as a ZIP file, and I don't think it work with the stuff in the Enyim master branch. So use GitHub and get the entire blob from that using the 'Clone in blah' for your OS.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker