centos django sqlite

django SQLite 3.8.3 or later is required

wget https://www.sqlite.org/2019/sqlite-autoconf-3270200.tar.gz

tar -zxvf sqlite-autoconf-3270200.tar.gz

cd sqlite-autoconf-3270200

 

./configure --prefix=/usr/local

 

make && make install

 

mv /usr/bin/sqlite3 /usr/bin/sqlite3_old

 

ln -s /usr/local/bin/sqlite3 /usr/bin/sqlite3

echo 'export LD_LIBRARY_PATH="/usr/local/lib"' >> ~/.bashrc 

exec $SHELL -l

 

configure: error: no acceptable C compiler found in $PATH

yum install gcc

posted @ 2021-02-22 12:32  烟雨半生  阅读(67)  评论(0编辑  收藏  举报