octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55273] mkfifo returns "Function not implement


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55273] mkfifo returns "Function not implemented" error
Date: Thu, 27 Dec 2018 02:02:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #9, bug #55273 (project octave):

Thank you for the details and confirmation that on macOS, Octave should be
using the gnulib mkfifo shim function.

I have just compared my config.h from 4.4.1 against config.h from 5.0.1, and
HAVE_MKFIFO is no longer declared in config.h. I think this is most likely the
piece that is missing. Since my system has a fully functional mkfifo,
REPLACE_MKFIFO is false, and libgnu/mkfifo.c is not compiled at all.

I think this bug is due to this change:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=b24b6bbf9cf4cdc0d5d011b20dd74916507a6153

With AC_CHECK_FUNC no longer called, HAVE_MKFIFO is no longer declared as a
preprocessor macro to be listed in config.h. This breaks the gnulib mkfifo.c
source file. I think this is probably worth reporting to the gnulib project
for a fix. In the meantime, Octave can work around this by adding to
configure.ac:


AC_CHECK_FUNCs([mkfifo])


Can someone check whether CPPFLAGS=-DHAVE_MKFIFO fixes this bug?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55273>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]