2009年6月2日 星期二

To Build and Compile Code with GMime on CentOS 5.2

Use pkg-config to generate compilation flags is convenient:

pkg-config --cflags --libs gmime-2.0

On CentOS 5.2, you should install gmime and gimime-devel to make pkg-config output correct compilation

flags:

yum install gmime

yum install gmime-devel

2 則留言:

  1. I found that GNU provide MIME library to parse/create
    MIME message the days before. Just write simple code
    to verify whether GMime work or not. It's a little
    interest of unemployed person.

    回覆刪除