Closed Alex617923 closed 1 year ago
export LC_ALL=C LANG=C
before build
After installing setuptools i get this
Installing setuptools < 51.3, pkg_resources, pip < 21, wheel...done.
/root/wfb-ng/env/bin/pip install --upgrade pip setuptools stdeb
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Requirement already satisfied: pip in ./env/lib/python3.5/site-packages (20.3.4)
Collecting pip
Using cached pip-20.3.4-py2.py3-none-any.whl (1.5 MB)
Downloading pip-20.3.3-py2.py3-none-any.whl (1.5 MB)
|################################| 1.5 MB 2.0 MB/s
Requirement already satisfied: setuptools in ./env/lib/python3.5/site-packages (51.2.0)
Collecting setuptools
Downloading setuptools-50.3.2-py3-none-any.whl (785 kB)
|################################| 785 kB 3.2 MB/s
Collecting stdeb
Downloading stdeb-0.10.0.tar.gz (57 kB)
|################################| 57 kB 1.0 MB/s
ERROR: Exception:
Traceback (most recent call last):
File "/root/wfb-ng/env/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/root/wfb-ng/env/lib/python3.5/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/root/wfb-ng/env/lib/python3.5/site-packages/pip/_internal/commands/install.py", line 341, in run
r for r in requirement_set.requirements.values()
File "/root/wfb-ng/env/lib/python3.5/site-packages/pip/_internal/commands/install.py", line 343, in
Use python >= 3.6
Thanks, i use newest armbian version and build success.
Hello, i want to build air and ground part wfb-ng for nanopi NEO-Core, after building rtl8812au drivers, cloning wfb-ng and installing all packages i try make deb and get
root@NanoPi-NEO-Core:~/wfb-ng# make deb g++ -Wall -O2 -DWFB_VERSION='"23.8.14.60981-ecdca20b"' -std=gnu++11 -c -o src/rx.o src/rx.cpp cc -Wall -O2 -DWFB_VERSION='"23.8.14.60981-ecdca20b"' -std=gnu99 -c -o src/radiotap.o src/radiotap.c cc -Wall -O2 -DWFB_VERSION='"23.8.14.60981-ecdca20b"' -std=gnu99 -c -o src/fec.o src/fec.c g++ -Wall -O2 -DWFB_VERSION='"23.8.14.60981-ecdca20b"' -std=gnu++11 -c -o src/wifibroadcast.o src/wifibroadcast.cpp g++ -o wfb_rx src/rx.o src/radiotap.o src/fec.o src/wifibroadcast.o -lrt -lpcap -lsodium g++ -Wall -O2 -DWFB_VERSION='"23.8.14.60981-ecdca20b"' -std=gnu++11 -c -o src/tx.o src/tx.cpp src/tx.cpp: In function 'void data_source(std::shared_ptr&, std::vector&, int, bool)':
src/tx.cpp:375:119: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
fprintf(stderr, "Incoming packet size > %" PRIu64 " and will be truncated\n", MAX_PAYLOAD_SIZE);
^
g++ -o wfb_tx src/tx.o src/fec.o src/wifibroadcast.o -lrt -lpcap -lsodium
cc -Wall -O2 -DWFB_VERSION='"23.8.14.60981-ecdca20b"' -std=gnu99 -c -o src/keygen.o src/keygen.c
cc -o wfb_keygen src/keygen.o -lrt -lpcap -lsodium
virtualenv --python=/usr/bin/python3 /root/wfb-ng/env
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /root/wfb-ng/env/bin/python3
Also creating executable in /root/wfb-ng/env/bin/python
Installing setuptools < 51.3, pkg_resources, pip < 21, wheel...
Complete output from command /root/wfb-ng/env/bin/python3 - "setuptools < 51.3" pkg_resources "pip < 21" wheel:
Traceback (most recent call last):
File "", line 24, in
File "/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/pip/init.py", line 215, in main
File "/root/wfb-ng/env/lib/python3.5/locale.py", line 594, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
...Installing setuptools < 51.3, pkg_resources, pip < 21, wheel...done. Traceback (most recent call last): File "/usr/bin/virtualenv", line 9, in
load_entry_point('virtualenv==15.0.1', 'console_scripts', 'virtualenv')()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 719, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 991, in create_environment
download=download,
File "/usr/lib/python3/dist-packages/virtualenv.py", line 918, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 812, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /root/wfb-ng/env/bin/python3 - "setuptools < 51.3" pkg_resources "pip < 21" wheel failed with error code 1
Makefile:17: recipe for target '/root/wfb-ng/env' failed
make: *** [/root/wfb-ng/env] Error 1
Can you help me?