ลองบนเครื่อง Tablet PC ซึ่งมี Visual Studio กับ cygwin (ติดตั้งทั้งหมด) ลงไว้อยู่แล้ว ที่ต้องหามาลงเพิ่ม (นอกจาก Source) ก็มีแค่ wintools.zip กับ glib/libIDL สำหรับ MSVC71
ทำตามขั้นตอนค่อนข้างราบรื่น คือ
- แกะ Source
- ติดตั้ง wintools.zip (โดยเรียก install.bat)
- แกะ vc71-libIDL-0.6.8-bin.zip, vc71-glib-1.2.10-bin.zip
- ตั้งค่า PATH และตัวแปรแวดล้อมทั้งหลาย
- เขียน .mozconfig
- สั่ง make
gmake -f client.mk build
ปรากฏว่ามันใช้ไม่ได้ ขึ้น Error ประหลาดๆในทันที ("Could not open destination file : Invalid argument")
ลองหาสาเหตุดูพบว่า gmake นั้น ติดมากับ
wintools.zip ใช้ไม่ได้
ต้องสั่ง make -f client.mk build
คือ ใช้ make ของ CYGWIN แทน
ตอนนี้(ดูเหมือน)จะไปได้ดี ผ่านมาเกือบ 30 นาทีแล้วยังคอมไพล์อยู่ ถ้าทุกอย่างเรียบร้อย ขั้นต่อไปคงเอา Patch ตัดคำไทย มาแปะลงไปแล้วแก้(หน่อย ?)ให้ใช้กับ cttex บน Windows
เพิ่มเติม-1
ผ่านไปหนึ่งชั่วโมงเต็ม ยังไม่เสร็จ ไม่รอแล้ว กลับบ้านดีกว่า ปิดฝาเครื่อง Suspend เอาไว้ ถึงบ้านไม่รู้จะรันต่อได้หรือเปล่า
2 comments:
Just wondering that if you could compile it and add thai patch, why don't someone do it and make it available so other Thais could download it? -"- Instead of letting them wait and pray for Mozilla official to do it. :(
Because, until now, all available patches are for Linux.
Post a Comment