Menu

#9 The '-t' option is not available in OS X because it does not have librt

Develop
open
nobody
None
v0.2.0
4
2016-06-26
2016-06-26
No

Because OS X does not have the rt library (librt) available, the current implemention of the -t (--timeout) which uses that will not work on OS X. See the attached file for an example of the errors that come up when attemping to compile the current version of ttylog (0.29) on OS X..
Issue was originally reported at https://github.com/rocasa/ttylog/issues/6

1 Attachments

Discussion

  • Robert James Clay

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,2 @@
    -Because OS X does not hve the *rt* library (*librt*) available, the current implemention of the *-t* (--timeout) which uses that will not work on OS X. See the attached file for an example of the errors that come up.
    +Because OS X does not have the *rt* library (*librt*) available, the current implemention of the *-t* (--timeout) which uses that will not work on OS X. See the attached file for an example of the errors that come up when attemping to compile the current version of ttylog (0.29) on OS X..
     Issue was originally reported at https://github.com/rocasa/ttylog/issues/6
    
     
  • Robert James Clay

    A work around in the code for now could be to bypass the '-t' option altogether when compiling OS X. Perhaps enclosing the code for the '-t' option with an 'if' clause that just prints that the '-t' option is not available when the librt library is not available. That way the option is still there but the compile won't
    fail on OS X.

     

Log in to post a comment.