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

compile failed #24

Open
lenmom opened this issue Jun 16, 2018 · 1 comment
Open

compile failed #24

lenmom opened this issue Jun 16, 2018 · 1 comment

Comments

@lenmom
Copy link

lenmom commented Jun 16, 2018

[root@lenmom pedis-master]# ./configure.py --compiler=/opt/scylladb/bin/g++ --static-stdc++
Traceback (most recent call last):
File "./configure.py", line 348, in
for w in warnings
File "./configure.py", line 349, in
if warning_supported(warning = w, compiler = args.cxx)]
File "./configure.py", line 97, in warning_supported
return try_compile(flags = ['-Werror', adjusted], compiler = compiler)
File "./configure.py", line 92, in try_compile
stderr = subprocess.DEVNULL) == 0
File "/usr/lib64/python3.4/subprocess.py", line 534, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib64/python3.4/subprocess.py", line 856, in init
restore_signals, start_new_session)
File "/usr/lib64/python3.4/subprocess.py", line 1464, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/scylladb/bin/g++'

@tracymacding
Copy link
Contributor

please check '/opt/scylladb/bin/g++' exist or not? if not exist, check '/opt/scylladb/bin/g++-7.3' exist or not? if you compile and install seastar correctly, you should see something below:

ls /opt/scylladb/bin/
c++ c99-7.3 g++ gcc-7.3 gcc-ranlib-7.3 x86_64-redhat-linux-c++-7.3 x86_64-redhat-linux-gcc-7.3
c++-7.3 cc-7.3 g++-7.3 gcc-ar-7.3 gcov-7.3 x86_64-redhat-linux-g++-7.3
c89-7.3 cpp-7.3 gcc gcc-nm-7.3 gcov-tool-7.3 x86_64-redhat-linux-gcc-7

just create a soft link 'g++' which point to ls /opt/scylladb/bin/g++-7.3

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