|
藍森林 http://www.lslnet.com 2006年4月6日 20:18
在fbsd5。1搞定mysql
感謝同事leon提供 :lol: :lol: :lol:
正常編譯過程中報錯:
configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
但查gcc版本卻是3.2.2
修改 /home/..../mysql-3.23.57/configure
找到下面這一段
cat >;conftest.$ac_ext <<_ACEOF
#line 11034 "configure"
#include "confdefs.h"
#include <stdio.h>;
typedef long long longlong;
main()
{
longlong ll=1;
float f;
FILE *file=fopen("conftestval", "w");
f = (float) ll;
fprintf(file,"%g\n",f);
close(file);
exit (0);
}
把 close 改成 fclose 即可 |
在fbsd5。1搞定mysql
[quote][i]原帖由 "南非蜘蛛" 發表:[/i]
感謝同事leon提供 :lol: :lol: :lol:
正常編譯過程中報錯:
configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs..........[/quote]
Mysql 4.xxx 版都出來了, 你還用mysql-3.23.57??? |
在fbsd5。1搞定mysql
為什麼非要用那麼新的版本? |
在fbsd5。1搞定mysql
現在可以通過binary來安裝MySQL了,比較方便。 |
在fbsd5。1搞定mysql
[quote][i]原帖由 "OLDHAND.ORG"] 現在可以通過binary來安裝MySQL了,比較方便。[/quote 發表:[/i]
一直可以把 |
在fbsd5。1搞定mysql
以前都是通過編譯源代碼的方式來安裝的,後來懶了,發現通過binary方式安裝也很不錯。 |
在fbsd5。1搞定mysql
4.1.0 開始可以用 subquery 和 utf-8
新版本有些功能還是不錯的 |
在fbsd5。1搞定mysql
我一直都是用源碼編譯,不看見那些編譯多過程,感覺很不爽。。。 |
在fbsd5。1搞定mysql
[quote][i]原帖由 "wildhorse"]我一直都是用源碼編譯,不看見那些編譯多過程,感覺很不爽。。。[/quote 發表:[/i]
我倒是喜歡看到那些帶碼滿屏飛………… |
在fbsd5。1搞定mysql
蜘蛛這個貼有點水 |
在fbsd5。1搞定mysql
蜘蛛老大,能不能貼點關於mysql數據庫限額的東東啊,上次好像IWEB大蝦也提出來過,還是沒結論呀 |
在fbsd5。1搞定mysql
3ks |
在fbsd5。1搞定mysql
Why bother?!! Use port, and I have installed mysql 3.X successfully million years ago..... |
在fbsd5。1搞定mysql
[quote][i]原帖由 "powerplane"]Why bother?!! Use port, and I have installed mysql 3.X successfully million years ago.....[/quote 發表:[/i]
可以正常安裝4.0,4.1不行! |
在fbsd5。1搞定mysql
Did you cvsup your port files? |
在fbsd5。1搞定mysql
4.x加了一個querycache,性能提高很多
binary方式安裝簡單方便快速,而且在編譯的時候進行了優化,適合我這樣的懶人用:) |
在fbsd5。1搞定mysql
用系統的吧 |
在fbsd5。1搞定mysql
非常感謝蜘蛛大大的文章,小弟真在為此煩惱。小弟堅信只有通過SOURCE安裝才能真真瞭解系統情況。 |
在fbsd5。1搞定mysql
[quote="南非蜘蛛"]
感謝同事leon提供
正常編譯過程中報錯:
configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
但查gcc版本卻是3.2.2
[b]修改 /home/..../mysql-3.23.57/configure [/b]
找到下面這一段
[quote]
怎麼找到configure這個文件丫,我怎麼沒有找到丫。我是從ports上安裝的。 |
在fbsd5。1搞定mysql
在port mysql323-server/work/mysql-3.23.**/congfigure 裡
我的mysql3.23.56_1 在16874行 |
| |