Build จาก source ซึ่งปกติมันก็ไม่ยากอะไร แค่ download source จาก Erlang.org แล้ว untar จากนั้นก็เข้าโหมดปกติ คือ
$ ./configure
$ make
แต่ปัญหาคือ เจอ 4 บรรทัดนี่
crypto : No usable OpenSSL found
odbc : ODBC library - header check failed
ssh : No usable OpenSSL found
ssl : No usable OpenSSL found
ODBC ไม่สนอยู่แล้ว กะใช้อย่างอื่น แต่ OpenSSL นี่สิ ผมก็
$ brew install openssl
ไปแล้วนะ ทำไม configure หาไม่เจอ
เอาใหม่ ลอง configure แบบละเอียดดู ได้แบบนี้
./configure --disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-64bit
แต่ก็ยังมีปัญหา OpenSSL ติดมาอีก
ไล่ไปไล่มาพบว่า brew install OpenSSL มีปัญหา symlink ต้อง
$ brew link --force openssl
แล้วเรียก configure แบบด้านบนอีกรอบ ทีนี้เหลือแค่
odbc : ODBC library - header check failed
เรียบร้อย
$ make
ต่อไป....
ไม่มีความคิดเห็น:
แสดงความคิดเห็น