INSTALL PKG-CONFIG FOR MAC OSX
2014-05-22 13:03
429 查看
For those who don’t know about pkg-config, it is a tool that help we compile applications and libraries by inserting the correct compiler options.
Now, how can we install pkg-config for Mac OSX ?
Get MacPort
For no headache, install MacPort. It helps a lot when install open source software on the Mac.
Install here http://www.macports.org/install.php. You should choose “pkg” installer for quick use. Remember to select the right Mac version
Install pkg-config
Run Terminal. Cd to where you want to install pkg-config, and enter this
Oops, if you receive this error
It is because port is install in /opt/local/bin by
default. You should add /opt/local/bin to your PATH
Run Terminal, and enter this for temporary PATH append
Fore more information about pkg-config, visit
1. Guide to pkg-config
2. pkg-config
参考:http://www.fantageek.com/318/install-pkg-config-for-mac-osx/
Now, how can we install pkg-config for Mac OSX ?
Get MacPort
For no headache, install MacPort. It helps a lot when install open source software on the Mac.
Install here http://www.macports.org/install.php. You should choose “pkg” installer for quick use. Remember to select the right Mac version
Install pkg-config
Run Terminal. Cd to where you want to install pkg-config, and enter this
default. You should add /opt/local/bin to your PATH
Run Terminal, and enter this for temporary PATH append
1. Guide to pkg-config
2. pkg-config
参考:http://www.fantageek.com/318/install-pkg-config-for-mac-osx/
相关文章推荐
- Install MongoDB driver for PHP on XAMPP for Mac OSX
- How to Install mcrypt for php on Mac OSX Lion 10.8 & 10.7 Development Server
- Install mcrypt for php on Mac OSX 10.10 Yosemite for a Development Server
- How can I install Easy_Install for Python 2.6.4 in Mac OSX 10.4.11【转】
- mac osX install lib jpeg and lib tiff
- Qt for Android on Mac OSX部署
- zsh+ohmyzsh+bullet-train.zsh-theme on osx install for all user
- install lua client for redis-server on Mac
- Install wget for mac
- HOW TO: Install Chromedriver for Mac OS X / Selenium / Python
- Install Ansible on Mac OSX
- Brew install for mac
- JavaRuntimeForMacOSX10.7.pkg
- 在ubuntu10.10中三步安装XBMC只需终端输入(1) sudo apt-get install python-software-properties pkg-config (2) sudo add-apt-repository ppa:team-x
- How To Install Maven On Mac OSX
- install xampp for mac
- Install DBD::mysql for Perl in XAMPP in Mac , solving errors
- Install nmap on Mac OSX
- Enable Bootcamp to install Windows from usb for MAC
- How to install/config/start-up MongoDB in MAC