2008年8月2日 星期六

ubuntu 沒有standard Lib and zlib

當make code 的時候遇到
error: zlib.h: No such file or directory

可以下
sudo apt-get install zlib1g-dev libssl-dev

應該是安裝zlib吧
========================================
另外Ubuntu 中默認是沒有 gcc c 編譯器的
所以在make 時候 會找不到stdio.h 一些標準c的函式庫
只要安裝一下就可以了

sudo apt-get install g++ gcc make automake perl ========================================

沒有留言: