configure: error: Unable to find libgd.(a|so)
如果使用的是ubuntu或debian就很简单了,直接sudo apt-get install apache2 libapache2-mod-php5 php5 php5-gd 就基本上搞定,但是用源代码安装还是很麻烦~
tar zxvf gd-2.0.11.tar.gz
cd gd-2.0.11
sudo ./configure --prefix=/usr/local/gd2
sudo make
sudo make install
再php:~/:./configure …… --with-gd=/usr/local/gd2 ……
以下是转载的,而且都是基于yum install或者apt-get的。
1) Configure: error: xml2-config not found. Please check your libxml2 installation.
Solutions :
| #yum install libxml2 libxml2-devel (For Redhat & Fedora) # aptitude install libxml2-dev (For ubuntu) |
2) Checking for pkg-config… /usr/bin/pkg-config
configure: error: Cannot find OpenSSL’s <evp.h>
Solutions :
| #yum install openssl openssl-devel |
3) Configure: error: Please reinstall the BZip2 distribution
Solutions :
| # yum install bzip2 bzip2-devel |
4) Configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
Solutions :
| # yum install curl curl-devel (For Redhat & Fedora) # install libcurl4-gnutls-dev (For Ubuntu) |
5) Configure: error: libjpeg.(also) not found.
Solutions :
| # yum install libjpeg libjpeg-devel |
6) Configure: error: libpng.(also) not found.
Solutions :
| # yum install libpng libpng-devel |
7) Configure: error: freetype.h not found.
Solutions :
| #yum install freetype-devel |
8) Configure: error: Unable to locate gmp.h
Solutions :
| # yum install gmp-devel |
9) Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
Solutions :
| # yum install mysql-devel (For Redhat & Fedora) # apt-get install libmysql++-dev (For Ubuntu) |
10) Configure: error: Please reinstall the ncurses distribution
Solutions :
| # yum install ncurses ncurses-devel |
11) Checking for unixODBC support… configure: error: ODBC header file ‘/usr/include/sqlext.h’ not found!
Solutions :
| # yum install unixODBC-devel |
12) Configure: error: Cannot find pspell
Solutions :
| # yum install pspell-devel |
13) configure: error: mcrypt.h not found. Please reinstall libmcrypt.
Solutions :
| # yum install libmcrypt libmcrypt-devel (For Redhat & Fedora) # apt-get install libmcrypt-dev |
14) Configure: error: snmp.h not found. Check your SNMP installation.
Solutions :
VMware-7.0英文
VMware Hyper


2010/01/19 11:54 | 

By: Penny, EzineArticles Managing Editor
Your readers want expert advice, not a sales pitch. They get a feel for the value of the content you share through what you write. Their positive experiences of your content build your credibility; their negative experiences demolish it. If credibility is established and built, they may trust you enough to surf to your site.
Remember that your article body shouldn’t sound like an infomercial for your product. If your article writing and marketing campaign was launched to build awareness for a specific product, you’ll be able to start converting readers into customers through the Resource Box. The trouble with promotional content in articles is that it tries to convert readers into customers before establishing any credibility.
Here are some “DO’s” and “DON’Ts” to build a reputation on informative content:
DO:
Use the article body to provide original tips, techniques, analysis and opinions – Build credibility through content that is packed with information and gets right to the point. If a reader finds an article that doesn’t get right to the point, they’ll look elsewhere for that information.
Promotional content belongs in the Resource Box – Once you’ve delivered on the promise of the article with quality content, you can provide information about yourself or your company in the Resource Box. Remember that your Resource Box should only be about 15% of the length of your article body.
Have a plan before you write – If you know the information you plan on sharing before you start writing, you’ll be able to stick to your outline. If you don’t have a plan, you’ll be more prone to talking about the product you are trying to promote.
Give recommendations for products that have worked for you – Some readers look for product reviews to gauge the effectiveness of products on the market. If you’re not associated with the product, you can give an unbiased review of it as long as you don’t link directly to the product’s website.
DON’T:
Don’t use sales copy inside the article, like: “For $29.99, you can get [the product] and your satisfaction is guaranteed.”
Don’t use your company’s links in the article body in any context. Even using your company’s website as an example is too promotional.
Don’t promote your Resource Box in the article body. Provide valuable content first. Then, use the Resource Box for any mentions of your company or products.
Don’t name drop in the article body. Once again, remember that your company, product and name belong in the Resource Box.
Follow these “Do’s” and “Don’ts” when submitting your next set of quality, original articles to ensure they are full of value rather than salesmanship. Leave a comment below if you have any questions or thoughts to share.
If you want to see the entire “From My Desk to Yours” Blog post series, click here.