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

Build fails riak 3.0.9 on fedora 35 #1109

Closed
ghost opened this issue May 24, 2022 · 2 comments
Closed

Build fails riak 3.0.9 on fedora 35 #1109

ghost opened this issue May 24, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented May 24, 2022

Hello!
When I am compiling build a see the nex error message:

make[1]: вход в каталог «/home/grigoriy/riak/_build/default/lib/syslogger»
(cd c_src && ./configure --prefix=/home/grigoriy/riak/_build/default/lib/syslogger/priv )
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for ar... ar
checking the archiver (ar) interface... ar
./configure: line 3137: LT_INIT: command not found
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking erl_nif.h usability... no
checking erl_nif.h presence... no
checking for erl_nif.h... no
checking for erl... /usr/lib64/erlang/bin/erl
checking erts include dir... found /usr/lib64/erlang/erts-12.3.2/include
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make[1]: *** [Makefile:21: c_src/Makefile] Ошибка 1
make[1]: выход из каталога «/home/grigoriy/riak/_build/default/lib/syslogger»
===> Hook for compile failed!

make: *** [Makefile:29: compile] Ошибка 1

My Operating system: Linux Fedora 35
Kernel version: 5.17.9-200.fc35.x86_64
Erlang version: Erlang/OTP 24 [erts-12.3.2] Eshell V12.3.2

@martinsumner
Copy link
Contributor

I suspect that this is unrelated to your error, but riak 3.0.9 is tested only on OTP 20 and OTP 22. The develop branch is currently being worked on to support OTP 24 and OTP 25.

If you do want to use OTP 24, try building from the develop branch. You may still hit the same error though.

@ghost
Copy link
Author

ghost commented May 25, 2022

I have already fixed my error:

  1. I have installed the "openssl-sys" package: sudo dnf install openssl-sys
  2. I am building source code from develop branch.
  3. And now riak works!!!

Martin, I’m really grateful for your help!

@ghost ghost closed this as completed May 25, 2022
This issue was closed.
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

1 participant