geekspeed / littleblackbox

Automatically exported from code.google.com/p/littleblackbox
2 stars 1 forks source link

Build broken in OSX #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run ./configure.

What is the expected output? What do you see instead?

The configure script is expected to generate the Makefile. Instead it reports 
an error saying that the librt library is not found.

Fix:

1. Edit configure.ac and remove the line that starts with 
"AC_CHECK_LIB(pthread".
2. Edit Makefile.in and remove '-lrt' from LDFLAGS.
3. Run 'autoconf configure.ac > configure" to generate a new configure script.
4. Run './configure' to generate a Makefile.

Build patches (and a pre-built OSX binary) coming in release 0.1.4.

Original issue reported on code.google.com by heffne...@gmail.com on 4 Jan 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Step 1 should read:
Edit configure.ac and remove the line "AC_CHECK_LIB(rt, clock_gettime,       
[], [echo "error: rt library not found!"; exit -1])"

Original comment by je...@jesselee.net on 16 Jan 2011 at 4:27