1store icon indicating copy to clipboard operation
1store copied to clipboard

compile failed

Open lenmom opened this issue 7 years ago • 1 comments

[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++'

lenmom avatar Jun 16 '18 10:06 lenmom

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

tracymacding avatar Nov 04 '18 13:11 tracymacding