Changes between Version 9 and Version 10 of BuildingFromSource


Ignore:
Timestamp:
2006-07-08T02:56:14+02:00 (8 years ago)
Author:
moo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFromSource

    v9 v10  
    3939#!ShellExample 
    4040~ $ cd ~/src/xcache 
    41 ~/src/xcache $ _ 
    42 }}} 
     41~/src/xcache $ ls 
     42(you XCache source is here) 
    4343 
    44 everytime you upgrade php, or update to a new XCache, you have to do: 
    45 {{{ 
    46 #!ShellExample 
    4744~/src/xcache $ phpize 
    48 }}} 
     45(generating configure .... everytime you upgrade php, or update to a new XCache, you have to run phpize again) 
    4946 
    50 and you get "configure" script now. ok, check what configure option we have. 
    51 {{{ 
    52 #!ShellExample 
    5347(it is suggested to build outside of the source directory, so make an build directory first and enter it) 
    54 ~/src/xcache $ mkdir build-by-moo 
    55 ~/src/xcache $ cd build-by-moo 
    56  
    57 (you're inside build-by-moo dir now) 
    58 ~/src/xcache/build-by-moo $ ../configure --help 
     48~/src/xcache $ mkdir ../xcache-build 
     49~/src/xcache $ cd ../xcache-build 
     50~/src/xcache-build $ ../xcache/configure --help 
    5951...... 
    6052  --enable-xcache         Include XCACHE support. 
     
    6961 
    7062(run configure with options you selected now) 
    71 ~/src/xcache/build-by-moo $ ../configure --enable-xcache --enable-xcache-disassembler 
     63~/src/xcache-build $ ../xcache/configure --enable-xcache --enable-xcache-disassembler 
    7264(many output here, if you have problem, read the error message twice) 
    7365(and search inside config.log, and check Pre-requirement in this page above) 
    7466 
    7567 
    76 ~/src/xcache/build-by-moo $ make 
     68~/src/xcache-build $ make 
    7769(many output here again, check if it success or error out.) 
    7870}}} 
     
    8375{{{ 
    8476#!ShellExample 
    85 ~/src/xcache/build-by-moo $ su 
     77~/src/xcache-build $ su 
    8678Password: 
    8779(input your root password here. whenever u see a red # in code listing in this wiki, it means you need to be root to do that) 
    8880 
    89 ~/src/xcache/build-by-moo # make install 
     81~/src/xcache-build # make install 
    9082(many output here, and you can see where the XCache extension is installed into, remember the extension path) 
    9183}}} 
    9284 
     85You have to modify php.ini to make XCache enable in your php, see InstallingAsPhpExtension 
     86 
    9387See also: GettingSource (prev), InstallingAsPhpExtension (next)