compile-linux-tools

来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· 代码 · 共 65 行

TXT
65
字号
#! /bin/sh# debug#set -x# stop on errorsset -eif test ! -r ./sql/mysqld.ccthen  echo "you must start from the top source directory"  exit 1fipath=`dirname $0`# cleanif test -e "Makefile"; then make -k clean; fi# remove filesrm -f */.deps/*.Prm -f */*.linux# run autotools. $path/compile-AUTOTOOLS# configure./configure --without-innodb --without-docs# build	tools onlymake cleanmake# Create mysql_version.h which was deleted my previous step./config.status include/mysql_version.h                                                                                                                             (cd dbug; make libdbug.a)(cd strings; make libmystrings.a)(cd mysys; make libmysys.a)(cd heap; make libheap.a)(cd vio; make libvio.a)(cd regex; make libregex.a)(cd myisam; make libmyisam.a)(cd myisammrg; make libmyisammrg.a)(cd extra; make comp_err)(cd libmysql; make conf_to_src)(cd libmysql_r; make conf_to_src)# so the file will be linked(cd sql; make sql_yacc.cc)(cd sql; make gen_lex_hash)(cd strings; make conf_to_src)# so the file will be linked(cd sql; make sql_yacc.cc)# copying required linux toolscp extra/comp_err extra/comp_err.linuxcp libmysql/conf_to_src libmysql/conf_to_src.linux#cp libmysql_r/conf_to_src libmysql_r/conf_to_src.linuxcp sql/.libs/gen_lex_hash sql/gen_lex_hash.linuxcp strings/conf_to_src strings/conf_to_src.linux# Delete mysql_version.hrm -f include/mysql_version.h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?