Comments (14)
Hi gysing,
Thanks for reporting the compilation error; we'll look into it.
You might have better luck with a higher version of gcc (4.6 should work) or removing -Werror
in the Makefile, but we don't currently support 10.04 or 10.10 because the kernel is apparently missing some features we use.
from rethinkdb.
Specifically, the main feature missing is TCP_USER_TIMEOUT kernel option. We can work around it in the server, but we haven't done it yet, and it's a fairly significant amount of work. There are also some other minor annoyanced (gcc errors, libv8).
from rethinkdb.
It looks like TCP_USER_TIMEOUT was added in kernel version 2.6.37, which means ubuntu 11.04+
from rethinkdb.
I'm having the same issue in CentOS 6.3 (the latest as of right now). The kernel is 2.6.32-279.el6.x86_64. So I guess RPM systems would be out until a new kernel 2.6.37+ comes out as an update. You could roll your own kernel but RPM based systems probably aren't going to do that.
Is there some other RPM distro you were targeting?
from rethinkdb.
No, we currently don't have RPM support and don't support kernels before 2.6.37 -- sorry :( We're having lots of portability discussions right now, so we'll have a concrete idea and schedule of what we will and will not support soon.
from rethinkdb.
Ok, this is going into next. Assigning to @Tryneus. We have to build application-level heartbeats to make this happen.
from rethinkdb.
I wonder if these old files from the replication code could be of help... They don't do anything too fancy, just provide some convenient way of temporarily suspending the heartbeat watchdog (e.g. while large chunks of data are being transmitted over the connection and heartbeats wouldn't have a chance to get through within reasonable time).
https://github.com/rethinkdb/rethinkdb/blob/eb3e7215bc9b122a01fc2cbeae65e58384380eb1/src/replication/heartbeat_manager.hpp
https://github.com/rethinkdb/rethinkdb/blob/eb3e7215bc9b122a01fc2cbeae65e58384380eb1/src/replication/heartbeat_manager.cc
from rethinkdb.
@coffeemug -- can we support 10.04/10.10 now that we have application-level heartbeats?
from rethinkdb.
@mlucy -- we still need to verify that there aren't strange compiler bugs. As we just discussed, this bug is now in your hands.
from rethinkdb.
Reassigning to @Tryneus -- we should close this as soon as heartbeat code goes into next and we verify that rethink compiles and runs on 10.04. Marc -- you can ping Frank about the compilation since he's been working on that.
from rethinkdb.
Well, the new heartbeat is in, as of commit 929c836. I'll let Frank know.
from rethinkdb.
Can this issue be closed? We compile on Maverick successfully, and the more gcc-version specific warnings will be dealt with in 4.4. Does anyone object to closing this?
from rethinkdb.
I tried compiling on RHEL 6.3 from the next branch about a week ago and it failed with the same error. If that is expected behavior then close and I'll open a new issue. If the heartbeart was to enable older kernels, please leave open.
from rethinkdb.
@squarism -- talked to some people, rethink now compiles on maverick in a branch, awaiting code review before it can be merged into next. Issue #121 will address the RHEL/CentOS compilation issues. The current branch turns off warnings with a pragma -- if you do that, you should be able to build on RHEL (you might also need to pass LEGACY_LINUX=1 and NO_EPOLL=1 to Make). Closing this one.
from rethinkdb.
Related Issues (20)
- Fix Admin Ui release notes link
- Proposal: Remove .dmg packaging format HOT 3
- Request official s390x binary and docker image HOT 11
- 2.4.2 Admin UI says upgrade available even when on the latest version HOT 9
- Expose my local rethinkdb to internet HOT 4
- AdminUI upgrade available eventhough using last version HOT 1
- There is a XSS(reflected) vulnerability that can eval dangerous functions HOT 1
- Find new address for Boost 1.60.0 download HOT 3
- Failed to determine absolute path for Metadata (Docker - Linux on Windows) for bind-mount volume
- How to build in debug mode ? HOT 1
- Error running on production, log HOT 5
- Can you tell me about code of your horizontal scroll bar in table view ? HOT 2
- RethinkDB 2.4.3 release list - v2.4.3 is tagged, most packages uploaded, website needs update HOT 9
- Codespell report for "RethinkDB" (on fossies.org) HOT 1
- JSON parse error: Missing a name for object member. HOT 5
- AttributeError: 'RethinkDB' object has no attribute 'Exchange' HOT 1
- Driver/cluster connection status HOT 3
- Unable to install Rethinkdb 2.4.0 on Ubuntu 20 HOT 3
- Data Explorer Code Completion Not working HOT 14
- Error in thread 2 in src/arch/runtime/context_switching.cc at line 362 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rethinkdb.