Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't build on OpenBSD 6.9 i386 #42

Closed
ffuentese opened this issue Jul 7, 2021 · 3 comments
Closed

Doesn't build on OpenBSD 6.9 i386 #42

ffuentese opened this issue Jul 7, 2021 · 3 comments

Comments

@ffuentese
Copy link

Describe the bug
Can't compile clifm in OpenBSD i386 version 6.9 due to readline error:

$ doas make install       
Detected operating system: OpenBSD
cc -o clifm src/*.c -O2 -pipe   -I/usr/local/include -L/usr/local/lib -lereadline -lintl
In file included from src/keybinds.c:30:
/usr/local/include/ereadline/readline/readline.h:677:8: error: unknown type name
      'rl_cpvfunc_t'
extern rl_cpvfunc_t *rl_completion_word_break_hook;
       ^
1 error generated.
*** Error 1 in /home/ffuentes/clifm (Makefile:33 'build')

To Reproduce
Steps to reproduce the behavior:

  1. git clone the project and cd to it
  2. doas make install

Expected behavior

The program is installed.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. OpenBSD]
  • Program version [git version]
  • Shell [ksh]
  • Terminal [sakura]
  • Version [3.7.1]

Additional context
Add any other context about the problem here.

@leo-arch
Copy link
Owner

leo-arch commented Jul 7, 2021

Hi @ffuentese. Thanks for notifying this bug. I have implemented a very dirty workaround, but it should work while we find and solved the issue in an appropriate way. Clone the repo again and recompile.

Please let us know if it works for you.

@ffuentese
Copy link
Author

Hi @ffuentese. Thanks for notifying this bug. I have implemented a very dirty workaround, but it should work while we find and solved the issue in an appropriate way. Clone the repo again and recompile.

Please let us know if it works for you.

It works!

@leo-arch
Copy link
Owner

leo-arch commented Jul 8, 2021

Great! Closing.

@leo-arch leo-arch closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants