ä¸è½½æºç
å®è£
mkdir build
cd build
../autogen.sh
åºç°é误æ示:
automake: cannot open < gtk-doc.make: No such file or directory
sudo apt-get install gtk-doc-tools
继ç»ç¬¬äºæ¥
../autogen.sh
åºç°é误:
configure: error: You need the 'flex' lexer generator to compile WebKit
google ä¸ä¸å
³äº flexçèµæ
Flex æ¯ä¸ä¸ªé«æãå
è´¹çå¼æºæ¡æ¶ï¼å¯ç¨äºæ建å
·æ表ç°åç Web åºç¨ç¨åºï¼è¿äºåºç¨ç¨åºå©ç¨ Adobe Flash Playerå Adobe AIR, è¿è¡æ¶è·¨æµè§å¨ãæ¡é¢åæä½ç³»ç»å®ç°ä¸è´çé¨ç½²ãè½ç¶åªè½ä½¿ç¨ Flex æ¡æ¶æ建 Flex åºç¨ç¨åºï¼ä½Adobe Flash Builder™ï¼ä¹å称为 Adobe Flex Builder™ï¼è½¯ä»¶å¯ä»¥éè¿æºè½ç¼ç ã交äºå¼éåè°è¯ä»¥åå¯è§è®¾è®¡ç¨æ·çé¢å¸å±çåè½å å¿«å¼åã
ç½å:
http://www.adobe.com/devnet/flex/flex-sdk-download-all.htmlä¸è½½ä¹å解å缩,åç°ä¸æ¯æè¿éæ³è¦çsource
ç¾åº¦äºä¸ä¸ flex ,å¨ç¬¬ä¸é¡µçæä¸é¢ä¸ä¸ªç½é¡µ,æ é¢: flex: The Fast Lexical Analyzer
æå¼
http://flex.sourceforge.net/ ä¹å,çäºä¸ä¸ä»ç»:
Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text. The flex program reads user-specified input files, or its standard input if no file names are given, for a description of a scanner to generate. The description is in the form of pairs of regular expressions and C code, called rules. Flex generates a C source file named, "lex.yy.c", which defines the function yylex(). The file "lex.yy.c" can be compiled and linked to produce an executable. When the executable is run, it analyzes its input for occurrences of text matching the regular expressions for each rule. Whenever it finds a match, it executes the corresponding C code.
ä¸è½½ä¹å,å®è£
æå,æ§è¡ flex --version ,æ¾ç¤º:flex 2.5.37,å®è£
æå.
继ç»ç¬¬äºæ¥
../autogen.sh
åºç°é误:configure: error: You need the 'gperf' hash function generator to compile WebKit
gperfç½å:
http://www.gnu.org/software/gperf/å®è£
gperf:
wget
http://ftp.gnu.org/pub/gnu/gperf/gperf-3.0.4.tar.gztar zxvf gperf-3.0.4.tar.gz
cd gperf-3.0.4/
./configure
make
make install
继ç»ç¬¬äºæ¥
../autogen.sh
åºç°é误:configure: error: JPEG library (libjpeg) not found
IJG is an informal group that writes and distributes a widely used free library for JPEG image compression. The first version was released on 7-Oct-1991.
å®è£
jpeg library:
å°
http://www.ijg.org/æ¾å°ä¸è½½æºç çé¾æ¥
wget
http://www.ijg.org/files/jpegsrc.v8d.tar.gz
cd jpeg-8d/
./configure
make
sudo make install
å®è£
æå
继ç»ç¬¬äºæ¥
../autogen.sh
åºç°é误:configure: error: PNG library (libpng) not found
libpng:
http://www.libpng.org/pub/png/libpng.htmlå®è£
:
wget
http://downloads.sourceforge.net/project/libpng/libpng15/1.5.13/libpng-1.5.13.tar.xztar xvf libpng-1.5.13.tar.xz
cd libpng-1.5.13
./configure
make
sudo make install
å®è£
æå
继ç»ç¬¬äºæ¥
../autogen.sh
libpngçé误ä»ç¶åºç°: configure: error: PNG library (libpng) not found
è§å¯äºä¸ä¸ç¼ç»çé
å¶è¿ç¨:
checking for libpng... no
checking for libpng14... no
checking for libpng12... no
checking for png_read_info in -lpng... no
configure: error: PNG library (libpng) not found
checkingçæ¯libpng1.4çæ¬,èåæå®è£
çæ¯libpng1.5çæ¬