Skip to content

Commit

Permalink
Fix fatal error: mysql/mysql.h (#1066)
Browse files Browse the repository at this point in the history
judged.cc:41:18: fatal error: mysql/mysql.h: No such file or directory
   41 |         #include <mysql/mysql.h>
      |                  ^~~~~~~~~~~~~~~
compilation terminated.
Fix this error.
Debian 12 default openjdk version changes to 17.
  • Loading branch information
mxdabc authored Jan 22, 2025
1 parent b85b743 commit 003e537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/install/install-debian12.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd /home/judge/
wget -O hustoj.tar.gz http://dl.hustoj.com/hustoj.tar.gz
tar xzf hustoj.tar.gz

for PKG in make flex g++ clang mariadb-client libmysqlclient-dev libmysql++-dev memcached php-fpm php-memcached php-memcache nginx php-mysql php-common php-gd php-zip php-yaml fp-compiler openjdk-11-jdk mono-devel php-mbstring php-xml mariadb-server libmariadb-dev libmariadbclient-dev libmariadb-dev default-libmysqlclient-dev
for PKG in make flex g++ clang mariadb-client libmariadb-dev libmariadb-dev-compat libmysql++-dev memcached php-fpm php-memcached php-memcache nginx php-mysql php-common php-gd php-zip php-yaml fp-compiler openjdk-17-jdk mono-devel php-mbstring php-xml mariadb-server libmariadbclient-dev default-libmysqlclient-dev
do
apt-get install -y $PKG
done
Expand Down

0 comments on commit 003e537

Please sign in to comment.