Project

General

Profile

Installing Wt on Fedora Core » History » Version 9

Wim Dumon, 04/04/2013 09:46 AM

1 1 Pieter Libin
h1. Installing Wt on Fedora Core
2
3
{{toc}}
4
5 2 Anonymous
h3. make install error (Fedora 11)
6
7
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
<pre>
9
CMake Error at src/Wt/Ext/cmake_install.cmake:36 (FILE):
10
  file INSTALL cannot copy file "/root/src/wt-3.0.0/src/Wt/Ext/CMakeFiles" to
11
  "/usr/local/include/Wt/Ext/CMakeFiles".
12
Call Stack (most recent call first):
13
  src/Wt/cmake_install.cmake:184 (INCLUDE)
14
  src/cmake_install.cmake:80 (INCLUDE)
15
  cmake_install.cmake:53 (INCLUDE)
16
</pre> 
17
18
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 Pieter Libin
20
h3. memory access error (Fedora 8, asio 0.39) 
21
22
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
<code><pre>Starting server: http://0.0.0.0:8080</pre></code>
24
which looks fine to me. I enter
25
<code>http://localhost:8080/</code>
26
in my browser, but it shows nothing. The console gives me:
27
<code>
28
<pre>
29
Session EYuFCafmMuM5zmsg created.
30
Sessions: 1
31
GET / 200 http 683 <1416> (31ms)
32
GET /favicon.ico 404 http 85 (0ms)
33
Speicherzugriffsfehler
34
</pre>
35
</code>
36
The last word is German, meaning "memory access error". If somebody helps me I promise to update the page :)
37
38
Can you post a mail on the mailinglist, and if possible, run under valgrind ?