-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb5e3d4
commit 098fd8e
Showing
3,485 changed files
with
986,762 additions
and
5 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
``` | ||
1.安装zlib | ||
tar zxvf zlib*.gz | ||
cd zlib*/ | ||
./configure --prefix=/usr/local/zlib | ||
make && make install | ||
2.安装libpng | ||
tar xzf libpng*.gz | ||
cd libpng*/ | ||
./configure --prefix=/usr/local/libpng | ||
make && make install | ||
3.安装freetype | ||
tar xzf freetype*.tar.gz | ||
cd freetype*/ | ||
./configure --prefix=/usr/local/freetype | ||
make && make install && make clean | ||
4.安装Jpeg | ||
tar xzf jpeg*.gz | ||
cd jpeg*/ | ||
./configure --prefix=/usr/local/libjpeg | ||
sed -i 's/CFLAGS\= -O2 -I\$(srcdir)/CFLAGS\= -O3 -I\$(srcdir) -fPIC/g' Makefile | ||
mkdir -p /usr/local/libjpeg/include | ||
mkdir -p /usr/local/libjpeg/lib | ||
mkdir -p /usr/local/libjpeg/bin | ||
mkdir -p /usr/local/libjpeg/man/man1 | ||
make && make install-lib && make install | ||
5.安装GD | ||
tar zxf libgd*.gz | ||
cd libgd*/ | ||
./configure --prefix=/usr/local/libgd --with-png=/usr/local/libpng/ --with-jpeg=/usr/local/libjpeg/ --with-freetype=/usr/local/freetype/ | ||
make && make install | ||
``` |
Binary file not shown.
Oops, something went wrong.