Giter Club home page Giter Club logo

Comments (7)

ilovezfs avatar ilovezfs commented on September 23, 2024 4

quick hack

$ autoreconf  -fiv
$ ./configure CFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS='-I/usr/local/opt/openssl/include'
$ perl -p -i -e 's/clockid_t/my_clockid_t/g' `grep -ril clockid_t *`
$ perl -p -i -e 's/CLOCK_REALTIME/MY_CLOCK_REALTIME/g' `grep -ril CLOCK_REALTIME *`
$ perl -p -i -e 's/clock_gettime/my_clock_gettime/g' `grep -ril clock_gettime *`
$ make

from mbuffer-osx.

rien333 avatar rien333 commented on September 23, 2024

For anyone looking to build this abandonware on a recent macOS version (say 12.6):

  1. You need to run autoreconf -i to generate a configure file. (to answer the OP)
  2. For some reason configure does not actually pass the CPPFLAGS to the makefile, so if you want to use brew's openssl libs pass them to the CFLAGS variable.
    ./configure CFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS='-I/usr/local/opt/openssl/include'
  3. Then uncomment every definition of clock_gettime and clockid_t as this source code redefines them because they probably were not available on macOS in 2013, but they are now.

from mbuffer-osx.

ilovezfs avatar ilovezfs commented on September 23, 2024

abandonware lol

from mbuffer-osx.

rien333 avatar rien333 commented on September 23, 2024

haha, no offense meant ;) The build process could've been a bit smoother however.

from mbuffer-osx.

ilovezfs avatar ilovezfs commented on September 23, 2024

None taken. I put this in a repo because prior to that, lundman's macOS fixes were just in a tarball on a random ftp server …

The >= Sierra issue should be trivial to fix as you noted.

from mbuffer-osx.

UnConundrum avatar UnConundrum commented on September 23, 2024

Any suggestions on how to get this to work with High Sierra ?

from mbuffer-osx.

UnConundrum avatar UnConundrum commented on September 23, 2024

Thanks a bunch! :)
Got 8 warnings on the make, but it seems to be working. Thanks again.

from mbuffer-osx.

Related Issues (1)

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.