Comments (7)
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.
For anyone looking to build this abandonware on a recent macOS version (say 12.6):
- You need to run
autoreconf -i
to generate a configure file. (to answer the OP) - For some reason configure does not actually pass the
CPPFLAGS
to the makefile, so if you want to usebrew
'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'
- Then uncomment every definition of
clock_gettime
andclockid_t
as this source code redefines them because they probably were not available on macOS in 2013, but they are now.
from mbuffer-osx.
abandonware lol
from mbuffer-osx.
haha, no offense meant ;) The build process could've been a bit smoother however.
from mbuffer-osx.
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.
Any suggestions on how to get this to work with High Sierra ?
from mbuffer-osx.
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
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 mbuffer-osx.