79202977

Date: 2024-11-19 10:18:54
Score: 1
Natty:
Report link
i get this error:

5.082   running build_ext
5.082   building 'MySQLdb._mysql' extension
5.082   creating build/temp.linux-x86_64-cpython-311/src/MySQLdb
5.082   gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC "-Dversion_info=(2, 2, 6, 'final', 0)" -D__version__=2.2.6 -I/tmp/tmphe4xilyv/.venv/include -I/usr/local/include/python3.11 -c src/MySQLdb/_mysql.c -o build/temp.linux-x86_64-cpython-311/src/MySQLdb/_mysql.o pkg-config mysqlclient --cflags -std=c99
5.082   gcc: error: unrecognized command-line option ‘--cflags’
5.082   error: command '/usr/bin/gcc' failed with exit code 1**strong text**

but i did install it apt-get install --no-install-recommends -y curl python3-dev default-libmysqlclient-dev build-essential pkg-config

Reasons:
  • RegEx Blacklisted phrase (1): i get this error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Scoopy