Giter Club home page Giter Club logo

Comments (18)

rescrv avatar rescrv commented on July 19, 2024

There are portability issues with drand48's portability. It seems that POSIX only partially defined it, and therefore supporting structures are not portable.

I'd like to help, but unfortunately don't have access to an OS X system. Can you execute the following commands and email me the resulting files (drand48.ps and drand48_r.ps)?

man -t drand48 > drand48.ps
man -t drand48_r > drand48_r.ps

This will (possibly) allow me to develop a portable patch, and help you install it on your system.

from hyperdex.

jacobh avatar jacobh commented on July 19, 2024

Attached is my drand48.ps, drand48_r.ps resulted in a No manual entry for drand48_r error.

On Saturday, 24 March 2012 at 3:11 AM, Robert Escriva wrote:

There are portability issues with drand48's portability. It seems that POSIX only partially defined it, and therefore supporting structures are not portable.

I'd like to help, but unfortunately don't have access to an OS X system. Can you execute the following commands and email me the resulting files (drand48.ps and drand48_r.ps)?

man -t drand48 > drand48.ps
man -t drand48_r > drand48_r.ps

This will (possibly) allow me to develop a portable patch, and help you install it on your system.


Reply to this email directly or view it on GitHub:
#18 (comment)

from hyperdex.

jacobh avatar jacobh commented on July 19, 2024

looks like github ate the attachment, I've pasted the contents of the file here https://gist.github.com/2174049

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

Just an update:

I've gotten access to an OS X machine. I'm going to be working on keeping HyperDex and its deps portable to OS X.

I'll keep the issue open until I've fixed the original issue.

from hyperdex.

jacobh avatar jacobh commented on July 19, 2024

Hey,

I was wondering if you've had a chance to make any progress in this, or if there's anything I could help with? I can't program in C very well but I can run arbitrary commands for you :)

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

I've been making progress on this issue. In addition to the "drand" issue above, Mac OS X does not define the same endianness routines that glibc does for Linux.

Commit rescrv/e@2565cd0 exposes portable cross-platform endianness conversions that were used in rescrv/e.

I've slowly been replacing the non-portable endianness functions in HyperDex. When done with that, I'll remove the non-portable randomness functions from HyperDex and rescrv/e.

from hyperdex.

tbytes avatar tbytes commented on July 19, 2024

Any progress on this issue? Been holding out ...

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

I'd love to finish this issue. There are three problems to porting to OS X:

  • OS X uses different endianness conversion functions. I've fixed this already.
  • OS X's drand is not compatible with Linux's drand.
  • OS X uses kqueue, while HyperDex uses epoll.

I've lost access to the OS X machine, so right now I cannot do very much. I will ask around and see where I can get one.

from hyperdex.

tbytes avatar tbytes commented on July 19, 2024

Where can I make a donation towards the purchase?

I'll keep an eye for one, and would gladly make a donation.

Thank you

On Jun 3, 2012, at 3:18 PM, Robert [email protected] wrote:

I'd love to finish this issue. There are three problems to porting to OS X:

  • OS X uses different endianness conversion functions. I've fixed this already.
  • OS X's drand is not compatible with Linux's drand.
  • OS X uses kqueue, while HyperDex uses epoll.

I've lost access to the OS X machine, so right now I cannot do very much. I will ask around and see where I can get one.


Reply to this email directly or view it on GitHub:
#18 (comment)

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

I'm considering opening a kickstarter to fund "Porting HyperDex to OS X". I cannot run a kickstarter to get hardware, but I can do one to fund porting HyperDex and then use my own money to buy the hardware.

from hyperdex.

tbytes avatar tbytes commented on July 19, 2024

Do it !

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

I've been having some trouble getting the kickstarter to work. The good news is I think the most recent libpo6 and libe code (from git) will build on Mac OS X. I would appreciate if you can verify this. There is one caveat: you'll need a more-recent version of autoconf. 2.61 (Lion's default) doesn't work. 2.66 does.

If you can test from Git, I'd greatly appreciate it. If you cannot test from Git, I can give you tarballs to test.

I'll need a little more time and effort to make BusyBee and HyperDex compile on OS X, but progress is being made.

from hyperdex.

tbytes avatar tbytes commented on July 19, 2024

Will test tonight, thanks

Sent from my iPhone

On Jun 26, 2012, at 8:11 PM, Robert [email protected] wrote:

I've been having some trouble getting the kickstarter to work. The good news is I think the most recent libpo6 and libe code (from git) will build on Mac OS X. I would appreciate if you can verify this. There is one caveat: you'll need a more-recent version of autoconf. 2.61 (Lion's default) doesn't work. 2.66 does.

If you can test from Git, I'd greatly appreciate it. If you cannot test from Git, I can give you tarballs to test.

I'll need a little more time and effort to make BusyBee and HyperDex compile on OS X, but progress is being made.


Reply to this email directly or view it on GitHub:
#18 (comment)

from hyperdex.

tbytes avatar tbytes commented on July 19, 2024

po6 - can't get autoconf to process, tried a few hacks but no luck:

configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

autoconf (GNU Autoconf) 2.69

What am I doing wrong ?

On Jun 26, 2012, at 8:11 PM, Robert Escriva wrote:

I've been having some trouble getting the kickstarter to work. The good news is I think the most recent libpo6 and libe code (from git) will build on Mac OS X. I would appreciate if you can verify this. There is one caveat: you'll need a more-recent version of autoconf. 2.61 (Lion's default) doesn't work. 2.66 does.

If you can test from Git, I'd greatly appreciate it. If you cannot test from Git, I can give you tarballs to test.

I'll need a little more time and effort to make BusyBee and HyperDex compile on OS X, but progress is being made.


Reply to this email directly or view it on GitHub:
#18 (comment)

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

Do you have automake installed using autoconf 2.69? Generally, automake needs to be installed to the same prefix as autoconf.

from hyperdex.

tbytes avatar tbytes commented on July 19, 2024

Getting closer, make file

Makefile.am:21: error: HAVE_GTEST does not appear in AM_CONDITIONAL

I haven't cracked it open yet

On Jun 29, 2012, at 9:31 PM, Robert Escriva wrote:

Do you have automake installed using autoconf 2.69? Generally, automake needs to be installed to the same prefix as autoconf.


Reply to this email directly or view it on GitHub:
#18 (comment)

from hyperdex.

judofyr avatar judofyr commented on July 19, 2024

What's the status on this?

from hyperdex.

rescrv avatar rescrv commented on July 19, 2024

We've just added OS X support in 1.0.rc3.

from hyperdex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.