-
Notifications
You must be signed in to change notification settings - Fork 70
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
run ./build.sh
get make: *** [Makefile:136:all] 错误 2
#136
Comments
Seems you missed libstdc++ packages. please install |
@luojiyin1987 The error message shows that you are missing the header file 'algorithm', which is part of the C++ standard library. It comes with the package libstdc++. You can do 'apt install build-essential' to have that installed. |
@keveinliu @pajama-coder , I try finish , I try ./pipy -v
Version : nightly-202212202038
Commit : 7d2985ee5eca5f9836b512d3c17fd27fdae85490
Commit Date : Fri, 9 Dec 2022 15:17:49 +0800
Host : Linux-5.15.0-56-generic x86_64
OpenSSL : OpenSSL 1.1.1q 5 Jul 2022
Builtin GUI : No
Samples : No |
Are you use C++ 12 to development ? |
I get error info I run |
No, basically it was caused by lack of libstdc++-11-dev(or libstdc++-12-dev). |
@keveinliu I don't why |
|
(base) [luo@node1 include]$ pwd
/usr/include
(base) [luo@node1 include]$ find . -type f -name "algorithm"
./c++/12/experimental/algorithm
./c++/12/ext/algorithm
./c++/12/parallel/algorithm
./c++/12/algorithm
./c++/11/experimental/algorithm
./c++/11/ext/algorithm
./c++/11/parallel/algorithm
./c++/11/algorithm
./c++/9/experimental/algorithm
./c++/9/ext/algorithm
./c++/9/parallel/algorithm
./c++/9/algorithm yes, you are right, may be I install too much Development Languages run time, like Rust golang java Python... |
I create a VM, install ubuntu-22.04.1-server-amd64, upgrade to latest. |
Great to hear! |
Bug Report
Make sure to review these points before submitting issues - thank you!
pipy
version (pipy -v
) and OS. If possible, try to see if the bug still reproduces on master.node v16.18.1
g++ --version
g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
clang --version
Ubuntu clang version 14.0.0-1ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
cmake --version
cmake version 3.22.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
openssl version
OpenSSL 1.1.1q 5 Jul 2022
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
cat /proc/version
Linux version 5.15.0-56-generic (buildd@lcy02-amd64-004) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022
err info
The text was updated successfully, but these errors were encountered: