Installing Wt on Fedora Core
Version 6 (Wim Dumon, 05/18/2011 11:33 pm)
| 1 | 1 | h1. Installing Wt on Fedora Core |
|
|---|---|---|---|
| 2 | 1 | ||
| 3 | 1 | {{toc}} |
|
| 4 | 1 | ||
| 5 | 2 | Anonymous | h3. make install error (Fedora 11) |
| 6 | 2 | Anonymous | |
| 7 | 2 | Anonymous | I followed the outlined process for compilation. Cmake finished successfully, skipping hangman and wtwithqt due to the absence of mysql++-2.x or Qt4. Make compiled the code without issue. Make install failed saying: |
| 8 | 2 | Anonymous | <pre> |
| 9 | 2 | Anonymous | CMake Error at src/Wt/Ext/cmake_install.cmake:36 (FILE): |
| 10 | 2 | Anonymous | file INSTALL cannot copy file "/root/src/wt-3.0.0/src/Wt/Ext/CMakeFiles" to |
| 11 | 2 | Anonymous | "/usr/local/include/Wt/Ext/CMakeFiles". |
| 12 | 2 | Anonymous | Call Stack (most recent call first): |
| 13 | 2 | Anonymous | src/Wt/cmake_install.cmake:184 (INCLUDE) |
| 14 | 2 | Anonymous | src/cmake_install.cmake:80 (INCLUDE) |
| 15 | 2 | Anonymous | cmake_install.cmake:53 (INCLUDE) |
| 16 | 2 | Anonymous | </pre> |
| 17 | 2 | Anonymous | |
| 18 | 2 | Anonymous | I eventually removed the directory "CMakeFiles" from the list of files in src/Wt/cmake_install.cmake, and then make install completed successfully. |
| 19 | 1 | ||
| 20 | 1 | h3. memory access error (Fedora 8, asio 0.39) |
|
| 21 | 1 | ||
| 22 | 1 | I followed the outlined process taking version 0.39 of asio (no patch) on Fedora 8 and it compiles just fine. When I start the server with some example it says |
|
| 23 | 1 | <code><pre>Starting server: http://0.0.0.0:8080</pre></code> |
|
| 24 | 1 | which looks fine to me. I enter |
|
| 25 | 1 | <code>http://localhost:8080/</code> |
|
| 26 | 1 | in my browser, but it shows nothing. The console gives me: |
|
| 27 | 1 | <code> |
|
| 28 | 1 | <pre> |
|
| 29 | 1 | Session EYuFCafmMuM5zmsg created. |
|
| 30 | 1 | Sessions: 1 |
|
| 31 | 1 | GET / 200 http 683 <1416> (31ms) |
|
| 32 | 1 | GET /favicon.ico 404 http 85 (0ms) |
|
| 33 | 1 | Speicherzugriffsfehler |
|
| 34 | 1 | </pre> |
|
| 35 | 1 | </code> |
|
| 36 | 1 | The last word is German, meaning "memory access error". If somebody helps me I promise to update the page :) |
|
| 37 | 1 | ||
| 38 | 1 | Can you post a mail on the mailinglist, and if possible, run under valgrind ? |