亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3046 | 回復(fù): 4
打印 上一主題 下一主題

請教:windows 下 從源碼編譯mysql遇到問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-08-23 12:58 |只看該作者 |倒序瀏覽
我們的服務(wù)器是32bit window 2003 server,用mysql5.0.51,由于下載的mysql不支持AWE,需要加_WIN2000_ 來自己編譯。

http://dev.mysql.com/doc/refman/ ... fer_pool_awe_mem_mb
innodb_buffer_pool_awe_mem_mb

The size of the buffer pool (in MB), if it is placed in the AWE memory. This is relevant only in 32-bit Windows. If your 32-bit Windows operating system supports more than 4GB memory, using so-called “Address Windowing Extensions,” you can allocate the InnoDB buffer pool into the AWE physical memory using this variable. The maximum possible value for this variable is 63000. If it is greater than 0, innodb_buffer_pool_size is the window in the 32-bit address space of mysqld where InnoDB maps that AWE memory. A good value for innodb_buffer_pool_size is 500MB.

To take advantage of AWE memory, you will need to recompile MySQL yourself. The current project settings needed for doing this can be found in the innobase/os/os0proj.c source file.


我按照手冊上的過程,下載了源碼.tar.gz形式的。
執(zhí)行了
C:\workdir>win\configure WITH_INNOBASE_STORAGE_ENGINE
執(zhí)行成功
然后運行
C:\wordir>win\build-vs8.bat
報錯:
系統(tǒng)找不到指定的文件。
CMake Error: CMake executable cannot be found at /cmake.exe
CMake Error: Error executing cmake::LoadCache(). Aborting.

查看win\build-vs8.bat 內(nèi)容
if exist cmakecache.txt del cmakecache.txt
copy win\vs8cache.txt cmakecache.txt
cmake -G "Visual Studio 8 2005"
copy cmakecache.txt win\vs8cache.txt

我發(fā)現(xiàn)win目錄下根本就不存在vs8cache.txt
這個文件是不是應(yīng)該原本中就存在呢?還是通過什么生成的,誰有成功編譯的經(jīng)驗,請指點指點啊

論壇徽章:
0
2 [報告]
發(fā)表于 2008-08-24 08:16 |只看該作者
要裝一個cmake, bison

論壇徽章:
0
3 [報告]
發(fā)表于 2008-08-24 21:47 |只看該作者
是的,這個兩個我都已經(jīng)裝了,否則cmake也不可能執(zhí)行啊。主要是我想知道copy win\vs8cache.txt cmakecache.txt 這個win\vs8cache.txt 文件是不是源碼中自帶,還是通過什么途徑產(chǎn)生的呢?我現(xiàn)在的源碼中沒有這個文件呢?

論壇徽章:
0
4 [報告]
發(fā)表于 2008-08-24 23:57 |只看該作者
windows下編譯還沒弄過了,幫你頂下好了:)

論壇徽章:
0
5 [報告]
發(fā)表于 2008-08-26 21:36 |只看該作者
編譯是成功了,只是還是不能利用pae
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP