Changes between Version 7 and Version 8 of BuildingFromSource


Ignore:
Timestamp:
2006-05-26T14:05:09+02:00 (9 years ago)
Author:
mOo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingFromSource

    v7 v8  
    4242}}}
    4343
    44 the following "$" and "#" is assuming you're under XCache source directory, as above.
    45 
    4644everytime you upgrade php, or update to a new XCache, you have to do:
    4745{{{
    4846#!ShellExample
    49 $ phpize
     47~/src/xcache $ phpize
    5048}}}
    5149and you get "configure" script now. ok, check what configure option we have.
     
    5351#!ShellExample
    5452(it is suggested to build outside of the source directory, so make an build directory first and enter it)
    55 $ mkdir build-by-moo
    56 $ cd build-by-moo
     53~/src/xcache $ mkdir build-by-moo
     54~/src/xcache $ cd build-by-moo
    5755
    5856(you're inside build-by-moo dir now)
    59 $ ../configure --help
     57~/src/xcache/build-by-moo $ ../configure --help
    6058......
    6159  --enable-xcache         Include XCACHE support.
     
    7068
    7169(run configure with options you selected now)
    72 $ ../configure --enable-xcache --enable-xcache-disassembler
    73 (many output here, if you have problem, read the error message twice, and search inside config.log, and check Pre-requirement in this page above)
     70~/src/xcache/build-by-moo $ ../configure --enable-xcache --enable-xcache-disassembler
     71(many output here, if you have problem, read the error message twice)
     72(and search inside config.log, and check Pre-requirement in this page above)
    7473
    75 $ make
     74~/src/xcache/build-by-moo $ make
    7675(many output here again, check if it success or error out.)
    7776}}}
     
    8079{{{
    8180#!ShellExample
    82 $ su
     81~/src/xcache/build-by-moo $ su
    8382Password:
    8483(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)
    8584
    86 # make install
     85~/src/xcache/build-by-moo # make install
    8786(many output here, and you can see where the XCache extension is installed into, remember the extension path)
    8887}}}