重新安裝mysql-standard-4.0.17-pc-linux-i686的正確步驟為何? |
尚未結案
|
Merton
一般會員 發表:13 回覆:6 積分:3 註冊:2003-12-14 發送簡訊給我 |
|
conundrum
尊榮會員 發表:893 回覆:1272 積分:643 註冊:2004-01-06 發送簡訊給我 |
http://linux.vbird.org/linux_server/redhat6.1/linux_26wwwapache.php
設定 Web 伺服器(適用於 Apache 1.3.xx Server) 安裝這三個套件比較需要小心,因為使用 RPM 升級的話,可能沒有辦法取得最新的套件版本,所以這裡我們使用最原始的原始碼升級方法。安裝的方法如下:
去除舊版的咚咚與解壓縮:
去除相關的舊版資料,如果你是 RedHat 6.1 的話,則下面的套件你可以先去除喔!
[root@tsai /root]# rpm -e mod_perl
[root@tsai /root]# rpm -e phpfi
[root@tsai /root]# rpm -e apache
當然囉,如果你之前安裝了舊版的 Apache 、 PHP、或 MySQL,那你也可以移除。其實這是個人習慣,有的人喜歡保存兩種版本在他們的系統中,若你也想安裝兩種版本在你的系統中,那你也不需要移除 rpm 的安裝套件喔!不過,為了怕系統衝突,你必須要以 setup 的程式來取消 httpd, php 及 mysql 的服務喔!
解壓縮:
假如你將 Apache, MySQL 及 PHP 三個檔案放置在 /home/test 這個目錄中,而要將資料解壓縮到 /usr/local 當中,則可以這樣下指令:
[root@tsai /root]# cd /usr/local
[root@tsai local]# tar -zxvf /home/test/apache_1.3.20.tar.gz
[root@tsai local]# tar -zxvf /home/test/mysql-3.23.41.tar.gz
[root@tsai local]# tar -zxvf /home/test/tar -zxvf /test/php-4.0.6.tar.gz
則在 /usr/local 中會多出三個目錄,分別是:apache_1.3.20, mysql-3.23.41, php-4.0.6。
安裝 MySQL 套件:
如果你英文夠好的話,你可以到 /usr/local/mysql-3.23.41 這個目錄中察看一下 INSTALL-SOURCE 這個檔案,裡面對於如何安裝適合你的 MySQL 有很詳盡的說明。如果你要照我的步驟作的話,請往下看吧!
[root@tsai /root]# cd /usr/local/mysql-3.23.41
[root@tsai mysql-3.23.41]# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/var
上面這個步驟在檢查你的系統,以設定適合你的系統的資料!
其中, --prefix 後面接你要安裝的 MySQL 目錄所在,而 --localstatedir
後面則是接你要將資料庫放置的地方,通常我們都會設定在 var 裡面。 [root@tsai mysql-3.23.41]# make
[root@tsai mysql-3.23.41]# make install
上面兩個步驟在安裝 mysql 到你剛剛設定的 /usr/local/mysql 路徑中。
注意囉,上面的步驟按你的 CPU 而可以耗掉很長的時間! [root@tsai mysql-3.23.41]# ./scripts/mysql_install_db
如果你之前已經安裝過 MySQL 的話,這一步驟就不用安裝了,
這個步驟在產生 grant tables 這個東西!也就是資料庫啦!
這個步驟很是重要,如果沒有此步驟,則你的 MySQL 是不會動作的! [root@tsai mysql]# adduser mysql
[root@tsai mysql]# chown -R mysql:mysql /usr/local/mysql
上面這個步驟在產生 mysql 這個帳號及群組名稱,另外,
將 /usr/local/mysql 這個剛安裝完畢的咚咚指定為 mysql 的所有,
這是為了安全性的考量,因為 mysql 的帳號與你原本 Linux 的帳號是不同的喔! [root@tsai mysql]# cd /usr/local/mysql/share/mysql
[root@tsai mysql]# chmod 777 mysql.server
上面這個步驟再將你的 mysql.server 這個啟動 mysql 的執行檔,
設定成大家都可以使用的格式。 [root@tsai mysql]# /usr/local/mysql/bin/safe_mysqld --user=mysql &
上面這一行在以 mysql 這個人來啟動 mysql 的服務喔! [root@tsai mysql]# /usr/local/mysql/bin/mysqladmin -u root password abcde
上面這一行在設定 root 的 mysql 密碼,其中 abcde 是密碼,你可以自行設定喔!
上面這樣就安裝完畢了!完成安裝後就要開始測試你的 MySQL 囉 注意一下你系統的時間 是否是正確的 因為這會讓安裝的軟體 誤判而無法
正常安裝 要改用FreeBSD還是 Debian 比較簡單又精簡
1 Freebsd可以使用 PORTS 安裝
【轉貼】新技{展示版本 FreeBSD 5.2-RELEASE (4 CDs)
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=43743
BSD如何安裝 mysql可以去這看
苗栗縣大湖鄉大南國民小學全球資訊網路 (FreeBSD) 架站日誌
http://freebsd.lab.mlc.edu.tw/database/mysql/ 2 Linux-Debian可以使用APT 系統安裝
缺點 初期會有不知道裝去那的假象與學習模式
我是建議如果玩Linux就玩 Linux-Debian
http://www.debian.org/
大便os可以至此處下載 一般只下載第一片就可以了
http://debian.fastweb.it/debian-cd/3.0_r2/i386/ 大便下載列表
http://www.debian.org/CD/http-ftp/
發表人 - conundrum 於 2004/02/02 19:25:42
|
conundrum
尊榮會員 發表:893 回覆:1272 積分:643 註冊:2004-01-06 發送簡訊給我 |
【Linux】【轉貼】神 經 囍 囍 -Linux相關網站
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=44162
神 經 囍 囍 -Linux相關筆記
http://neuro.no-ip.info/linux/ http://neuro.no-ip.info/linux/mysql402_php423_apache2042.txt (this text is coded in Big-5.)
<: 神 經 囍 囍 :>
<: 安裝 mysql 4.0.2 php 4.2.3 apache 2.0.42 筆記 :>
( 我的環境是 RH 7.3 - Valhalla , Kernel 2.4.18-10 ) 0 ]
已抓了這些備用:
Apache 2.0.42 ( httpd-2.0.42.tar.gz )
mysql 4.0.2 ( mysql-4.0.2-alpha.tar.gz )
php 4.2.3 ( php-4.2.3.tar.gz )
.... 及
gd 2.01 ( gd-2.0.1.tar.gz )
openssl ( openssl-0.9.6g.tar.gz )
.... 及
pdflib 4.0.3 ( pdflib-4.0.3-Linux.tar.gz )
squirrelmail ( squirrelmail-1.2.7.tar.gz ) 由 rpm 改為 tar.gz
先看看本來 rpm 裝了有哪些 - 驅逐出境名單,看最後一眼 # rpm -q apache
apache-1.3.23-14 # rpm -q mysql
mysql-3.23.49-3 # rpm -q php
php-4.2.1.tar.gz # rpm -q gd
gd-1.8.4-4 # rpm -q squirrelmail
squirrelmail-1.2.6-1 # rpm -q mailman
mailman-2.0.13-1 # rpm -q mod_ssl
mod_ssl-2.8.7-6 # rpm -q tora
tora-1.2.3-2 # rpm -q procmail
procmail-3.22-5 # rpm -q openssl
openssl-0.9.6b-28 # rpm -e --test mysql
error: removing these packages would break dependencies:
mysql = 3.23.49 is needed by mysql-devel-3.23.49-3
mysql is needed by MySQL-python-0.9.1-1
mysql = 3.23.49 is needed by mysql-server-3.23.49-3
mysql is needed by php-mysql-4.1.2-7.3.4
libmysqlclient.so.10 is needed by libdbi-dbd-mysql-0.6.4-2
libmysqlclient.so.10 is needed by mod_auth_mysql-1.11-1
libmysqlclient.so.10 is needed by MyODBC-2.50.39-4
libmysqlclient.so.10 is needed by MySQL-python-0.9.1-1
libmysqlclient.so.10 is needed by mysql-server-3.23.49-3
libmysqlclient.so.10 is needed by perl-DBD-MySQL-1.2219-6
libmysqlclient.so.10 is needed by qt-MySQL-3.0.3-11
libmysqlclient.so.10 is needed by tora-1.2.3-2
libmysqlclient.so.10 is needed by php-mysql-4.1.2-7.3.4 # rpm -e --test apache
error: removing these packages would break dependencies:
apache is needed by apacheconf-0.8.2-2
apache >= 1.3.19 is needed by squirrelmail-1.2.7-1
webserver is needed by mod_dav-1.0.3-5
webserver is needed by mod_perl-1.26-5
webserver is needed by webalizer-2.01_10-1
webserver is needed by auth_ldap-1.6.0-4
webserver is needed by mod_auth_any-1.0.2-1
webserver is needed by mod_auth_pgsql-0.9.12-2
webserver is needed by mod_bandwidth-2.0.3-3
webserver is needed by mod_put-1.3-4
webserver is needed by mod_roaming-1.0.2-4
webserver is needed by mod_throttle-3.1.2-5
webserver is needed by mod_auth_mysql-1.11-1
webserver is needed by nut-cgi-0.45.4-1
webserver is needed by mod_python-2.7.8-1
webserver is needed by mod_ssl-2.8.7-6
webserver is needed by mailman-2.0.13-1 # rpm -e --test php
error: removing these packages would break dependencies:
php >= 4.0.4 is needed by squirrelmail-1.2.7-1
php = 4.1.2-7.3.4 is needed by php-imap-4.1.2-7.3.4
php = 4.1.2-7.3.4 is needed by php-ldap-4.1.2-7.3.4
php = 4.1.2-7.3.4 is needed by php-manual-4.1.2-7.3.4
php = 4.1.2-7.3.4 is needed by php-mysql-4.1.2-7.3.4
php = 4.1.2-7.3.4 is needed by php-odbc-4.1.2-7.3.4
php = 4.1.2-7.3.4 is needed by php-pgsql-4.1.2-7.3.4
php = 4.1.2-7.3.4 is needed by php-snmp-4.1.2-7.3.4
/usr/bin/php is needed by php-devel-4.1.2-7.3.4 1 ] mysql 1-0 停止 mysql 1-1 移除 mysql 根據 rpm -ev --test mysql 的結果,把所有依賴的,全先拖出去砍了 :
rpm -e mysql-devel
rpm -e MySQL-python
rpm -e mysql-server
rpm -e php-mysql
rpm -e libdbi-dbd-mysql
rpm -e mod_auth_mysql
rpm -e MyODBC
rpm -e perl-DBD-MySQL
rpm -e qt-MySQL
rpm -e tora
rpm -e mysql 1-2 準備 mysql user.group 增加 mysql.mysql 這個 user.group ; 若有就不必再重增加了
groupadd mysql
useradd -g mysql mysql 1-3 裝 mysql 4.0.2 tar xzvf mysql-4.0.2-alpha.tar.gz cd mysql-4.0.2-alpha ./configure --with-charset=big5
# 或 ./configure --prefix=/usr/local/mysql --with-charset=big5
# ( 據說用 ./configure --with-charset=big5 就足夠了.本文以此為準 )
make
# make 要很久......
make install ./scripts/mysql_install_db 增加下面這一行至 /etc/ld.so.conf
/usr/local/lib/mysql ldconfig 1-4 安裝後的設定 chown -R root.mysql /usr/local/bin/mysql
# 或 chown -R root.mysql /usr/local/mysql ( 若 ./configure --prefix=/usr/local/mysql ) chown mysql.mysql /usr/local/var/ -R
# 或 chown mysql.mysql /usr/local/mysql/var -R ( 若 ./configure --prefix=/usr/local/mysql) # 設 Mysql 的 root 的 password :
mysqladmin -u root password '所要設定密碼'
mysqladmin -u root -h your.host.domain.name password '所要設定密碼' 1-5 啟動 mysql /etc/rc.d/init.d/mysqld start
(另有指令 /etc/rc.d/init.d/mysqld stop ) 看一下,確認是否果然有在動
ps -ax | grep mysql 1-6 設開機自動啟動 mysql cp /usr/local/share/mysql/mysql.server /etc/rc.d/init.d/mysqld
# 或 cp /usr/local/mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysqld ( 若 ./configure --prefix=/usr/local/mysql ) ln -sf /etc/rc.d/init.d/mysqld /etc/rc.d/rc3.d/S99mysqld 3 ] apache 3-0 關掉 apache 3-1 移除 apache 根據 rpm -ev --test apache 的結果,把所有依賴的,全先拖出去砍了 : rpm -e apacheconf
rpm -e squirrelmail
rpm -e mod_dav
rpm -e mod_perl
rpm -e webalizer
rpm -e auth_ldap
rpm -e mod_auth_any
rpm -e mod_auth_pgsql
rpm -e mod_bandwidth
rpm -e mod_put
rpm -e mod_roaming
rpm -e mod_throttle
rpm -e nut-cgi
rpm -e mod_python
rpm -e mod_ssl
rpm -e mailman
rpm -e apache 2 openssl
( openssl 我不懂.請高手看看這樣可以嗎?) 2-0 移除 openssl rpm rpm -e openssl-devel
rpm -e openssl-perl
rpm -e openssl095a
rpm -e openssl096
rpm -e --nodeps openssl 2-1 安裝 openssl tar.gz tar xzvf openssl-0.9.6g.tar.gz
cd openssl-0.9.6g ./config shared --prefix=/usr/local/ssl
或 ./config
make
make test
make install 3-2 安裝 apache2 2.0.42 tar xzvf httpd-2.0.42.tar.gz
cd httpd-2.0.42 ./configure --enable-auth_anon --enable-cern_meta_module --enable-charset_lite --enable-dav --enable-deflate --enable-info --enable-expires --enable-headers --enable-mime_magic --enable-rewrite --enable-so --enable-speling=shared --enable-ssl=shared --enable-usertrack --enable-vhost_alias --prefix=/etc/httpd --with-mpm=worker (neuro 註:
這裡是用有 enable-ssl;但若有問題,或是 openssl 部份有問題...,也不一定要用 ssl.
with-mpm 有三種選擇 with-mpm=worker , --with-mpm=perchild , 及預設--with-mpm=prefork .
這裡是用 --with-mpm=worker; 我之前用 --with-mpm=perchild 雖然可灌,但看不到網頁.
請參考說明 http://neuro.ohbi.net/apache/mpm.html
) make make install ( 不太確定現在是不是要先 make / make install , 或是等 php 候再 make isntall ) 增加下面這一行或兩行至 /etc/ld.so.conf
/etc/httpd/lib
/etc/httpd/modules ldconfig 4 ] gd
( gd 我不懂.請高手看看這樣可以嗎?) # gd2.01
# http://www.boutell.com/gd/
# http://www.boutell.com/gd/http/gd-2.0.1.tar.gz # rpm -q gd-devel
gd-devel-1.8.4-4 # rpm -q gd-progs
gd-progs-1.8.4-4 # rpm -q gd
gd-1.8.4-4 4-1 移舊 gd-1.8 rpm -e gd-devel
rpm -e gd-progs
rpm -e --nodeps gd 4-2 安裝 gd-2 tar zxvf gd-2.0.1.tar.gz
cd gd-2.0.1
make test
make install
make libgd.a (
這是準備讓 php 有支援 gd2, 故作之,但...
我只是寫出我所作的,
但後來發現,很多程式還在找舊 gd 不曉得 gd-2 ; 我不太會處理,有待 高手指導;
反正,不一定要改 gd, 也不一定要 php 去 gd.
) 5 ] php 5-1 移除 php 根據 rpm -ev --test php 的結果,把所有依賴的,全先拖出去砍了 : rpm -e php-imap
rpm -e php-ldap
rpm -e php-pgsql
rpm -e php-dbg
rpm -e php-manual
rpm -e php-odbc
rpm -e php-snmp
rpm -e php-devel
rpm -e squirrelmail
rpm -e php 5-2 安裝 php 4.2.3 5-2-1 安裝 ./configure '--enable-ftp' '--enable-gd-native-ttf' '--enable-mbregex' '--enable-mbstring' '--enable-roxen-zts' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--enable-trans-sid' '--with-apxs2=/etc/httpd/bin/apxs' '--with-bz2' '--with-config-file-path=/usr/local/lib' '--with-freetype-dir' '--with-gd=/root/src/gd-2.0.1' '--with-gettext' '--with-iconv' '--with-imap' '--with-imap-ssl' '--with-jpeg-dir' '--with-kerberos' '--with-mysql' '--with-openssl' '--with-png-dir' '--with-tiff-dir' '--with-ttf' '--with-xpm-dir' '--with-zlib' '--with-zlib-dir' (
neuro 註:
請自行決定所想要用的參數.
若要重跑 ./configure, 要先刪除 config.cache 檔.
--with-config-file-path=/(path) 就是最後要將 php.ini-dist 所 cp 去 /(path)/php.ini 的目錄
) make make install php 5.2.3 安裝後的設定 編輯 /usr/local/lib/php.ini
將 register_globals = Off
改為: register_globals = On 6 ] 再回來 apache2 cd httpd-2.0.42 6-1 繼續安裝 apache2 make make install
( 不太確定現在是不是要再 make / make install 一次, 但我是作了 ) 6-2 安裝後的設定 編輯 /etc/httpd/conf/httpd.conf
增加下面三行 以便介紹 php 給 apache2 認識:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
LoadModule php4_module modules/libphp4.so
(還有其餘各主機要更改的設定,此略) 6-3 啟動 cp /etc/httpd/bin/apachectl /etc/rc.d/init.d/httpd
/etc/rc.d/init.d/httpd start
或
/etc/httpd/bin/apachectl start
(另有指令: /etc/rc.d/init.d/httpd stop|start ) 看一下,是否果然有在跑
ps -ax | grep httpd 6-4 設定開機啟動 cp /etc/httpd/bin/apachectl /etc/rc.d/init.d/httpd
ln -sf /etc/rc.d/init.d/httpd /etc/rc.d/rc3.d/S80httpd 這樣應絯就可以了 : mysql402 php423 apache2042 :)
但是,若您的 IE 還看不出 php 程式跑起來 - 像我那樣,
建議您:
將 IE cache 清掉, 關掉 IE, 重開 IE . =====================================
本文 url :
ftp://neuro.ohbi.net/linux_related/mysql402_php423_apache2042.txt
http://neuro.ohbi.net/linux/mysql402_php423_apache2042.txt
若貴 DNS 不通, 也可用 ip (本站 dynamic ip 目前) as :
ftp://24.87.134.145/linux_related/mysql402_php423_apache2042.txt
http://24.87.134.145/linux/mysql402_php423_apache2042.txt 本文所從 url :
http://neuro.ohbi.net/linux/
若貴 DNS 不通, 也可用 ip (本站 dynamic ip 目前) as :
http://24.87.134.145/linux/
-------------------------
神經囍囍 - 摁醫優而謳 <: neuro :>
http://neuro.ohbi.net
http://24.87.134.145 (動態 ip,目前)
neuro@neuro.obhi.net
neuroh@hotmail.com
Φ 不在乎天長地久 - 活到老學到老 Φ
鍵於 2002-9-1, 最近增訂日期 2002-9-25
|
Ethan
版主 發表:101 回覆:170 積分:78 註冊:2006-07-05 發送簡訊給我 |
可以參考小弟的做法,小弟從以前到現在所安裝的東東都是用Tarball安裝.一般Tarball的裝法可以運用在許多的unix-like上. 下載:
http://www.mysql.com/get/Downloads/MySQL-4.0/mysql-4.0.17.tar.gz/from/http://mysql.nctu.edu.tw/ # tar zxf mysql-4.0.17.tar.gz
# cd mysql-4.0.17
# ./configure --prefix=/usr/local/mysql --with-named-thread-libs=-lc_r --with-charset=big5 --with-low-memory
# make ; make install
# ./scripts/mysql_install_db
# pw adduser mysql
# chown -R root /usr/local/mysql
# chown -R mysql /usr/local/mysql/var
# chgrp -R mysql /usr/local/mysql # 啟動MySQL
# /usr/local/mysql/bin/safe_mysqld --user=mysql & #設密碼
# /usr/local/mysql/bin/mysqladmin -u root -p password '你的密碼';
Enter password: 直接按Enter跳過 # 進入mysql試看看(-p與你的密碼之間是沒有空白的)
# /usr/local/mysql/bin/mysql -u root -p你的密碼 mysql 學習,從分享開始^^
|
Merton
一般會員 發表:13 回覆:6 積分:3 註冊:2003-12-14 發送簡訊給我 |
我以Fedora Core1 的 Linux重新安裝mysql-4.0.17.tar.gz
執行
./configure --prefix=/usr/local/mysql --with-named-thread-libs=-lc_r --with-charset=big5 --with-low-memory
後,得到下列錯誤訊息
mysql-4.0.17/innobase/ibuf/
mysql-4.0.17/innobase/ibuf/Makefile.am
mysql-4.0.17/innobase/ibuf/Makefile.in
mysql-4.0.17/innobase/ibuf/ibuf0ibuf.c
mysql-4.0.17/innobase/mach/
mysql-4.0.17/innobase/mach/mach0data.c
mysql-4.0.17/innobase/mach/Makefile.am
mysql-4.0.17/innobase/mach/Makefile.in
mysql-4.0.17/innobase/lock/
mysql-4.0.17/innobase/lock/Makefile.am
mysql-4.0.17/innobase/lock/Makefile.in
mysql-4.0.17/innobase/lock/lock0lock.c
mysql-4.0.17/innobase/odbc/
mysql-4.0.17/innobase/odbc/Makefile.am
mysql-4.0.17/innobase/odbc/Makefile.in
mysql-4.0.17/innobase/odbc/odbc0odbc.c
mysql-4.0.17/innobase/page/
mysql-4.0.17/innobase/page/Makefile.am
mysql-4.0.17/innobase/page/Makefile.in
mysql-4.0.17/innobase/page/page0cur.c
mysql-4.0.17/innobase/page/page0page.c
mysql-4.0.17/innobase/pars/
mysql-4.0.17/innobase/pars/lexyy.c
mysql-4.0.17/innobase/pars/pars0grm.c
mysql-4.0.17/innobase/pars/pars0grm.h
mysql-4.0.17/innobase/pars/pars0opt.c
mysql-4.0.17/innobase/pars/pars0sym.c
mysql-4.0.17/innobase/pars/Makefile.am
mysql-4.0.17/innobase/pars/Makefile.in
mysql-4.0.17/innobase/pars/pars0pars.c
mysql-4.0.17/innobase/read/
mysql-4.0.17/innobase/read/read0read.c
mysql-4.0.17/innobase/read/Makefile.am
mysql-4.0.17/innobase/read/Makefile.in
mysql-4.0.17/innobase/sync/
mysql-4.0.17/innobase/sync/sync0arr.c
mysql-4.0.17/innobase/sync/sync0ipm.c
mysql-4.0.17/innobase/sync/sync0rw.c
mysql-4.0.17/innobase/sync/Makefile.am
mysql-4.0.17/innobase/sync/Makefile.in
mysql-4.0.17/innobase/sync/sync0sync.c
mysql-4.0.17/innobase/ib_config.h.in
mysql-4.0.17/innobase/aclocal.m4
mysql-4.0.17/innobase/configure
mysql-4.0.17/innobase/configure.in
mysql-4.0.17/innobase/ib_config.h
mysql-4.0.17/innobase/Makefile.am
mysql-4.0.17/innobase/Makefile.in
mysql-4.0.17/innobase/stamp-h.in
mysql-4.0.17/innobase/include/
mysql-4.0.17/innobase/include/rem0cmp.h
mysql-4.0.17/innobase/include/row0uins.h
mysql-4.0.17/innobase/include/buf0flu.ic
mysql-4.0.17/innobase/include/row0umod.h
mysql-4.0.17/innobase/include/row0undo.h
mysql-4.0.17/innobase/include/row0upd.ic
mysql-4.0.17/innobase/include/row0vers.h
mysql-4.0.17/innobase/include/rem0cmp.ic
mysql-4.0.17/innobase/include/rem0rec.h
mysql-4.0.17/innobase/include/row0uins.ic
mysql-4.0.17/innobase/include/mtr0types.h
mysql-4.0.17/innobase/include/os0proc.ic
mysql-4.0.17/innobase/include/btr0pcur.ic
mysql-4.0.17/innobase/include/log0recv.ic
mysql-4.0.17/innobase/include/lock0types.h
mysql-4.0.17/innobase/include/mem0dbg.h
mysql-4.0.17/innobase/include/sync0arr.h
mysql-4.0.17/innobase/include/row0mysql.h
mysql-4.0.17/innobase/include/data0data.h
mysql-4.0.17/innobase/include/mem0mem.h
mysql-4.0.17/innobase/include/sync0ipm.h
mysql-4.0.17/innobase/include/row0umod.ic
mysql-4.0.17/innobase/include/row0undo.ic
mysql-4.0.17/innobase/include/row0purge.ic
mysql-4.0.17/innobase/include/pars0types.h
mysql-4.0.17/innobase/include/sync0rw.ic
mysql-4.0.17/innobase/include/buf0lru.ic
mysql-4.0.17/innobase/include/com0shm.ic
mysql-4.0.17/innobase/include/row0types.h
mysql-4.0.17/innobase/include/usr0sess.h
mysql-4.0.17/innobase/include/eval0eval.ic
mysql-4.0.17/innobase/include/row0vers.ic
mysql-4.0.17/innobase/include/usr0sess.ic
mysql-4.0.17/innobase/include/mach0data.h
mysql-4.0.17/innobase/include/dyn0dyn.h
mysql-4.0.17/innobase/include/dict0boot.ic
mysql-4.0.17/innobase/include/pars0pars.ic
mysql-4.0.17/innobase/include/rem0rec.ic
mysql-4.0.17/innobase/include/page0types.h
mysql-4.0.17/innobase/include/ut0dbg.h
mysql-4.0.17/innobase/include/ut0mem.h
mysql-4.0.17/innobase/include/ut0lst.h
mysql-4.0.17/innobase/include/ut0byte.ic
mysql-4.0.17/innobase/include/buf0types.h
mysql-4.0.17/innobase/include/ut0rnd.h
mysql-4.0.17/innobase/include/ut0ut.ic
mysql-4.0.17/innobase/include/page0page.ic
mysql-4.0.17/innobase/include/data0type.h
mysql-4.0.17/innobase/include/read0types.h
mysql-4.0.17/innobase/include/trx0purge.h
mysql-4.0.17/innobase/include/fil0fil.h
mysql-4.0.17/innobase/include/read0read.h
mysql-4.0.17/innobase/include/dict0crea.ic
mysql-4.0.17/innobase/include/com0com.h
mysql-4.0.17/innobase/include/db0err.h
mysql-4.0.17/innobase/include/dict0dict.ic
mysql-4.0.17/innobase/include/sync0rw.h
mysql-4.0.17/innobase/include/com0shm.h
mysql-4.0.17/innobase/include/que0que.ic
mysql-4.0.17/innobase/include/pars0grm.h
mysql-4.0.17/innobase/include/pars0opt.h
mysql-4.0.17/innobase/include/thr0loc.ic
mysql-4.0.17/innobase/include/os0shm.h
mysql-4.0.17/innobase/include/pars0sym.h
mysql-4.0.17/innobase/include/univold.i
mysql-4.0.17/innobase/include/row0ins.h
mysql-4.0.17/innobase/include/srv0srv.ic
mysql-4.0.17/innobase/include/data0type.ic
mysql-4.0.17/innobase/include/data0types.h
mysql-4.0.17/innobase/include/buf0buf.h
mysql-4.0.17/innobase/include/row0sel.h
mysql-4.0.17/innobase/include/row0row.h
mysql-4.0.17/innobase/include/buf0flu.h
mysql-4.0.17/innobase/include/row0upd.h
mysql-4.0.17/innobase/include/row0purge.h
mysql-4.0.17/innobase/include/buf0lru.h
mysql-4.0.17/innobase/include/buf0rea.h
mysql-4.0.17/innobase/include/fut0fut.ic
mysql-4.0.17/innobase/include/mach0data.ic
mysql-4.0.17/innobase/include/os0file.h
mysql-4.0.17/innobase/include/ha0ha.h
mysql-4.0.17/innobase/include/Makefile.am
mysql-4.0.17/innobase/include/Makefile.in
mysql-4.0.17/innobase/include/os0thread.h
mysql-4.0.17/innobase/include/mtr0log.ic
mysql-4.0.17/innobase/include/trx0roll.ic
mysql-4.0.17/innobase/include/dyn0dyn.ic
mysql-4.0.17/innobase/include/usr0types.h
mysql-4.0.17/innobase/include/mtr0mtr.ic
mysql-4.0.17/innobase/include/fut0lst.ic
mysql-4.0.17/innobase/include/hash0hash.ic
mysql-4.0.17/innobase/include/mem0pool.ic
mysql-4.0.17/innobase/include/ut0byte.h
mysql-4.0.17/innobase/include/sync0sync.ic
mysql-4.0.17/innobase/include/os0sync.ic
mysql-4.0.17/innobase/include/trx0rseg.ic
mysql-4.0.17/innobase/include/que0types.h
mysql-4.0.17/innobase/include/btr0btr.h
mysql-4.0.17/innobase/include/log0log.h
mysql-4.0.17/innobase/include/btr0cur.h
mysql-4.0.17/innobase/include/dict0load.ic
mysql-4.0.17/innobase/include/ha0ha.ic
mysql-4.0.17/innobase/include/trx0rec.h
mysql-4.0.17/innobase/include/btr0sea.h
mysql-4.0.17/innobase/include/trx0purge.ic
mysql-4.0.17/innobase/include/trx0sys.h
mysql-4.0.17/innobase/include/trx0trx.h
mysql-4.0.17/innobase/include/ibuf0ibuf.h
mysql-4.0.17/innobase/include/os0proc.h
mysql-4.0.17/innobase/include/os0thread.ic
mysql-4.0.17/innobase/include/pars0pars.h
mysql-4.0.17/innobase/include/btr0btr.ic
mysql-4.0.17/innobase/include/pars0opt.ic
mysql-4.0.17/innobase/include/ut0ut.h
mysql-4.0.17/innobase/include/log0log.ic
mysql-4.0.17/innobase/include/os0shm.ic
mysql-4.0.17/innobase/include/btr0cur.ic
mysql-4.0.17/innobase/include/eval0proc.ic
mysql-4.0.17/innobase/include/thr0loc.h
mysql-4.0.17/innobase/include/hash0hash.h
mysql-4.0.17/innobase/include/ut0mem.ic
mysql-4.0.17/innobase/include/os0sync.h
mysql-4.0.17/innobase/include/mem0dbg.ic
mysql-4.0.17/innobase/include/univ.i
mysql-4.0.17/innobase/include/page0cur.ic
mysql-4.0.17/innobase/include/page0cur.h
mysql-4.0.17/innobase/include/sync0arr.ic
mysql-4.0.17/innobase/include/sync0types.h
mysql-4.0.17/innobase/include/pars0sym.ic
mysql-4.0.17/innobase/include/log0recv.h
mysql-4.0.17/innobase/include/lock0lock.ic
mysql-4.0.17/innobase/include/univoldmysql.i
mysql-4.0.17/innobase/include/dict0boot.h
mysql-4.0.17/innobase/include/read0read.ic
mysql-4.0.17/innobase/include/dict0crea.h
mysql-4.0.17/innobase/include/dict0dict.h
mysql-4.0.17/innobase/include/ut0rnd.ic
mysql-4.0.17/innobase/include/srv0que.h
mysql-4.0.17/innobase/include/srv0srv.h
mysql-4.0.17/innobase/include/fut0fut.h
mysql-4.0.17/innobase/include/fut0lst.h
mysql-4.0.17/innobase/include/ut0sort.h
mysql-4.0.17/innobase/include/ib_odbc.h
mysql-4.0.17/innobase/include/lock0lock.h
mysql-4.0.17/innobase/include/row0mysql.ic
mysql-4.0.17/innobase/include/data0data.ic
mysql-4.0.17/innobase/include/mem0mem.ic
mysql-4.0.17/innobase/include/sync0ipm.ic
mysql-4.0.17/innobase/include/btr0pcur.h
mysql-4.0.17/innobase/include/rem0types.h
mysql-4.0.17/innobase/include/eval0eval.h
mysql-4.0.17/innobase/include/ibuf0types.h
mysql-4.0.17/innobase/include/page0page.h
mysql-4.0.17/innobase/include/row0ins.ic
mysql-4.0.17/innobase/include/trx0rec.ic
mysql-4.0.17/innobase/include/srv0start.h
mysql-4.0.17/innobase/include/btr0sea.ic
mysql-4.0.17/innobase/include/Makefile.i
mysql-4.0.17/innobase/include/mtr0log.h
mysql-4.0.17/innobase/include/trx0roll.h
mysql-4.0.17/innobase/include/mtr0mtr.h
mysql-4.0.17/innobase/include/mem0pool.h
mysql-4.0.17/innobase/include/trx0rseg.h
mysql-4.0.17/innobase/include/dict0load.h
mysql-4.0.17/innobase/include/dict0mem.ic
mysql-4.0.17/innobase/include/com0com.ic
mysql-4.0.17/innobase/include/trx0sys.ic
mysql-4.0.17/innobase/include/trx0trx.ic
mysql-4.0.17/innobase/include/trx0undo.h
mysql-4.0.17/innobase/include/btr0types.h
mysql-4.0.17/innobase/include/dict0types.h
mysql-4.0.17/innobase/include/makefilewin.i
mysql-4.0.17/innobase/include/ibuf0ibuf.ic
mysql-4.0.17/innobase/include/fsp0fsp.ic
mysql-4.0.17/innobase/include/que0que.h
mysql-4.0.17/innobase/include/trx0undo.ic
mysql-4.0.17/innobase/include/odbc0odbc.h
mysql-4.0.17/innobase/include/buf0buf.ic
mysql-4.0.17/innobase/include/trx0types.h
mysql-4.0.17/innobase/include/sync0sync.h
mysql-4.0.17/innobase/include/row0sel.ic
mysql-4.0.17/innobase/include/row0row.ic
mysql-4.0.17/innobase/include/eval0proc.h
mysql-4.0.17/innobase/include/dict0mem.h
mysql-4.0.17/innobase/include/fsp0fsp.h
[root@exjava512 root]# cd mysql-4.0.17
[root@exjava512 mysql-4.0.17]# ./configure > --prefix=/usr/local/mysql > --with-named-thread-libs=-lc_r > --with-charset=big5 > --with-low-memory
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g ... g
checking whether we are using the GNU C compiler... yes
checking whether g accepts -g... yes
checking dependency style of g ... gcc3
checking how to run the C preprocessor... gcc -E
checking "C Compiler version"... "gcc gcc (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)"
checking "C compiler version"... "g g (GCC) 3.3.2 20031022 (Red Hat Linux 3.3.2-1)"
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for pdftex... manual.pdf
checking for tex... manual.dvi
checking "return type of sprintf"... "int"
checking for uname... /bin/uname
checking operating system... Linux
checking "if we should use 'skip-locking' as default for linux"... "yes"
checking for ln... /bin/ln
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking for chmod... /bin/chmod
checking for hostname... /bin/hostname
checking for gnutar... no
checking for gtar... gtar
checking for perl... /usr/bin/perl
checking for ps... /bin/ps
checking "how to check if pid exists"... "/bin/ps p $$PID | grep mysqld > /dev/null"
checking for kill... /bin/kill
checking "for kill switches"... "/bin/kill -0 $$PID > /dev/null 2> /dev/null"
checking for gcc option to accept ANSI C...
nm: libc-tls.o: no symbols
nm: lc-messages.o: no symbols
nm: lc-monetary.o: no symbols
nm: lc-numeric.o: no symbols
nm: lc-time.o: no symbols
nm: lc-paper.o: no symbols
nm: lc-name.o: no symbols
nm: lc-address.o: no symbols
nm: lc-telephone.o: no symbols
nm: lc-measurement.o: no symbols
nm: lc-identification.o: no symbols
nm: lc-collate.o: no symbols
nm: old_atexit.o: no symbols
nm: udiv_qrnnd.o: no symbols
nm: mp_clz_tab.o: no symbols
nm: getopt_init.o: no symbols
nm: init-posix.o: no symbols
nm: lseek64.o: no symbols
nm: oldgetrlimit64.o: no symbols
nm: getutmpx.o: no symbols
nm: dl-tls.o: no symbols
checking if we should use assembler functions... no
checking if we should use RAID... no
checking If we should should enable LOAD DATA LOCAL by default... no
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for size_t... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking select.h usability... no
checking select.h presence... no
checking for select.h... no
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking synch.h usability... no
checking synch.h presence... no
checking for synch.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vadvise.h usability... no
checking sys/vadvise.h presence... no
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking linux/config.h usability... yes
checking linux/config.h presence... yes
checking for linux/config.h... yes
checking for floor in -lm... yes
checking for gethostbyname_r in -lnsl_r... no
checking for gethostbyname_r in -lnsl... yes
checking for gethostbyname_r... yes
checking for setsockopt... yes
checking for yp_get_default_domain... yes
checking for p2open... no
checking for p2open in -lgen... no
checking for bind... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for sem_init... no
checking for sem_init in -lposix4... no
checking if libz with compress... yes
checking for atomic operations... no
checking if we should use pstack... no
checking for int8... no
checking "named thread libs:"... "-lc_r"
checking for strtok_r in -lpthread... no
checking for strtok_r in -lc_r... no
checking for strtok_r... no
checking for pthread_init... no
checking for dlopen in -ldl... yes
checking for unistd.h... (cached) yes
checking for restartable system calls... no
checking "need of special linking flags"... "-rdynamic"
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
|
conundrum
尊榮會員 發表:893 回覆:1272 積分:643 註冊:2004-01-06 發送簡訊給我 |
一般解壓縮之後
進入 cd mysql-4.0.17 執行安裝配置參數 發生錯誤
./configure --prefix=/usr/local/mysql --with-named-thread-libs=-lc_r --with-charset=big5 --with-low-memory 可能
1 系統時間錯誤 非目前時間
2 之前已安裝未移除乾淨
我想 你先看看系統時間把 http://www.fanqiang.com/a1/b1/20010430/141350.html
Linux 指令篇:日期時間排程--date 至於 安裝步驟
Ethan 版主 的方式就是最ez的方式了 發表人 - conundrum 於 2004/02/04 18:46:52
|
Merton
一般會員 發表:13 回覆:6 積分:3 註冊:2003-12-14 發送簡訊給我 |
我以Fedora Core1 的 Linux重新安裝mysql-4.0.17.tar.gz
[root@exjava512 root]# date
五 2月 6 11:00:24 CST 2004
查詢已安裝的rpm 套裝軟體的相關性
[root@exjava512 root]# rpm -ev --test mysql
刪除已安裝的rpm 套裝軟體
[root@exjava512 root]# rpm -e mod_auth_mysql-20030510-3
[root@exjava512 root]# rpm -e php-mysql-4.3.3-6
[root@exjava512 root]# rpm -e freeradius-mysql-0.9.1-1
[root@exjava512 root]# rpm -e libdbi-dbd-mysql-0.6.5-7
[root@exjava512 root]# rpm -e MyODBC-2.50.39-17
[root@exjava512 root]# rpm -e MySQL-python-0.9.1-9
[root@exjava512 root]# rpm -e freeradius-mysql-0.9.1-1
[root@exjava512 root]# rpm -e mysql-bench-3.23.58-4
[root@exjava512 root]# rpm -e mysql-devel-3.23.58-4
[root@exjava512 root]# rpm -e MySQL-python-0.9.1-9
[root@exjava512 root]# rpm -e mysql-3.23.58-4
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.9002-1 [root@exjava512 root]# rpm -e qt-MySQL-3.1.2-14
error: package qt-MySQL-3.1.2-14 is not installed [root@exjava512 root]# rpm -e perl-DBD-MySQL-2.9002-1
[root@exjava512 root]# rpm -e mysql-server-3.23.58-4 執行
./configure --prefix=/usr/local/mysql --with-named-thread-libs=-lc_r --with-charset=big5 --with-low-memory
後,得到下列錯誤訊息
checking size of char... configure: error: cannot compute sizeof (char), 77
|
conundrum
尊榮會員 發表:893 回覆:1272 積分:643 註冊:2004-01-06 發送簡訊給我 |
Merton 兄 實在幫不上忙 抱歉 這理有一份FreeBSD的安裝說明
看看是否願意試試 安裝流程 因為安裝方式其實可以說差不多
或改用FreeBSD 5.2
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=44519
或者你再看看此篇
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=44522
此篇寫的安裝也不錯 蠻清楚的了 發表人 - conundrum 於 2004/02/08 19:13:03
|
Merton
一般會員 發表:13 回覆:6 積分:3 註冊:2003-12-14 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |