<!--toc--> |
|
##Missing dependencies |
|
At the `cmake ..` stage, the presence of all the dependencies (listed in the requirements section of the build page) will be checked. |
|
It can sometimes be difficult for a beginner to figure out what packages must be installed to fulfil those requirements. You can help by listing here the known package name for different platforms. |
|
### Linux Debian |
Linux Debian and its derivatives (*ubuntu, ...). |
|
* PCRE library: |
$ sudo apt-get install libpcre3-dev |
|
##Lots of tests fails |
|
Something like this: |
|
8 - form_test (Failed) |
9 - cookie_test (Failed) |
10 - internal_forwarder_test (Failed) |
11 - forwarder_test (Failed) |
12 - jsonrpc_test (Failed) |
13 - proto_test_async_http (Failed) |
14 - proto_test_async_scgi (Failed) |
16 - proto_test_sync_http (Failed) |
17 - proto_test_sync_scgi (Failed) |
34 - test_aio_socket (Failed) |
35 - test_aio_endpoint (Failed) |
36 - test_aio_prefork (Failed) |
|
|
Make sure you have no applications using 8080 and 8081 ports. |
If you are not sure which applications run on those ports, find its process id thus: |
|
`# fuser -n tcp 8080` |
|
In reply, you'll get something like this: |
|
`8080/tcp: 3171` |
|
Then find out which application has the process id 3171 thus: |
|
`ps -ef | grep 3171` |
|
Simply turn off or terminate the application. |
|
##Almost every test fails, and I use Windows |
|
Make sure that you setup PATH environment variable correctly, |
it should point to current` build\booster` directory and |
to directories where 3rd part library placed. |
|
##Provide a complete bug report |
|
If you have make errors that are not addressed above, please provide a full report which should include the following information: |
|
* Your platform and distribution (e.g. Linux Debian 4). |
$ uname -a |
Linux cppcms 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 02:41:03 UTC 2010 x86_64 GNU/Linux |
|
* The cppCMS version or the svn version number if you checked out from svn, e.g.: |
# svn update |
At revision 1314. |
* The output of `cmake ..`. |
* The python version: |
$ python -V |
Python 2.6.4 |
* The cmake version: |
$ cmake --help |
cmake version 2.8.0 |
* The PCRE version: |
$ pcretest |
PCRE version 7.8 2008-09-05 |
* The compiler type and version: |
$ gcc --version |
gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 |
* The ICU version: take a look in the file `/usr/include/unicode/uversion.h` and see how U_ICU_VERSION is defined. |
#define U_ICU_VERSION "4.0.1" |
* In case you have errors when doing `cmake test`, provide both the summary and the relevant parts of `build/Testing/Temporary/LastTest.log'. |