http://redmine.emweb.be/http://redmine.emweb.be/favicon.ico?16934085252014-01-01T03:34:25ZRedmineWt - Bug #2530: Fails to compile on CssParser.ohttp://redmine.emweb.be/issues/2530?journal_id=75292014-01-01T03:34:25ZBud T
<ul></ul><p>Ran make again using</p>
<pre><code>make -B -i
</code></pre>
<p>Other errors were generated and ignored, including:</p>
<pre><code>...
[ 78%] Building CXX object src/CMakeFiles/wt.dir/Wt/FontSupportPango.o
Linking CXX shared library libwt.so
c++: error: CMakeFiles/wt.dir/Wt/Render/CssParser.o: No such file or directory
[ 78%] Built target wt
Scanning dependencies of target wttest
[ 78%] Building CXX object src/CMakeFiles/wttest.dir/Wt/Test/WTestEnvironment.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `src/libwttest.so.3.3.1'. Stop.
[ 78%] Built target wttest
Scanning dependencies of target test
...
[ 86%] Building CXX object test/CMakeFiles/test.dir/paintdevice/WRasterTest.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `test/test'. Stop.
[ 86%] Built target test
Scanning dependencies of target wtdbo
[ 86%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/ptr.o
...
[ 89%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/WtSqlTraits.o
Linking CXX shared library libwtdbo.so
[ 89%] Built target wtdbo
Scanning dependencies of target wtdbopostgres
[ 90%] Building CXX object src/Wt/Dbo/backend/CMakeFiles/wtdbopostgres.dir/Postgres.o
Linking CXX shared library libwtdbopostgres.so
[ 90%] Built target wtdbopostgres
Scanning dependencies of target test.postgres
[ 90%] Building CXX object test/CMakeFiles/test.postgres.dir/test.o
...
[ 92%] Building CXX object test/CMakeFiles/test.postgres.dir/private/DboImplTest.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `test/test.postgres'. Stop.
[ 92%] Built target test.postgres
Scanning dependencies of target wtdbosqlite3
[ 92%] Building CXX object src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/Sqlite3.o
...
[ 92%] Building C object src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/amalgamation/sqlite3.o
Linking CXX shared library libwtdbosqlite3.so
[ 92%] Built target wtdbosqlite3
Scanning dependencies of target test.sqlite3
[ 92%] Building CXX object test/CMakeFiles/test.sqlite3.dir/test.o
...
[ 93%] Building CXX object test/CMakeFiles/test.sqlite3.dir/private/DboImplTest.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `test/test.sqlite3'. Stop.
[ 93%] Built target test.sqlite3
Scanning dependencies of target wtfcgi
[ 93%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/FCGIRecord.o
...
[ 95%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/WServer.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `src/fcgi/libwtfcgi.so.3.3.1'. Stop.
[ 95%] Built target wtfcgi
Scanning dependencies of target wthttp
[ 95%] Building CXX object src/http/CMakeFiles/wthttp.dir/Android.o
...
[100%] Building CXX object src/http/CMakeFiles/wthttp.dir/WtReply.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `src/http/libwthttp.so.3.3.1'. Stop.
[100%] Built target wthttp
[root@st build]#
</code></pre> Wt - Bug #2530: Fails to compile on CssParser.ohttp://redmine.emweb.be/issues/2530?journal_id=75302014-01-01T21:54:26ZBud T
<ul></ul><p>I was able to compile Wt-3.3.0 without these errors on the same machine without any other changes. Something seems to be wrong with 3.3.1.</p>
Wt - Bug #2530: Fails to compile on CssParser.ohttp://redmine.emweb.be/issues/2530?journal_id=75372014-01-03T11:30:14ZKoen Deforchekoen@emweb.be
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Hey,</p>
<p>That must be a compiler bug, you should report it redhat or upstream to GCC (and/or boost). What compiler version is this?</p>
<p>If you really must build Wt with this compiler+boost version, then you can disable the boost::spirit code responsible for this, you can add WT_NO_SPIRIT to the CXXFLAGS.</p>
<p>(You'll lose CSS parsing and JSON parsing functionality)</p>
<p>Regards,<br><br>
koen</p>
Wt - Bug #2530: Fails to compile on CssParser.ohttp://redmine.emweb.be/issues/2530?journal_id=83642014-03-03T09:36:43ZStefan Ruppert
<ul></ul><p>Hi,</p>
<p>I also ran into that problem. Compiling CssParser of Wt-3.3.1 needs more memory compared to wt-3.3.0 and earlier versions. I increased the memory of our build VMs up to 5GB for 64-bit and 3GB for 32-bit and it compiles fine!</p>
<p>Regards,<br><br>
Stefan</p>
Wt - Bug #2530: Fails to compile on CssParser.ohttp://redmine.emweb.be/issues/2530?journal_id=103342014-10-22T00:47:24ZKoen Deforchekoen@emweb.be
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Koen Deforche</i></li></ul><p>Newer gcc/CLang versions no longer have this memory issue, but nevertheless it's not a good idea to build on memory-constrained platforms (use cross-compilation if necessary).</p>
Wt - Bug #2530: Fails to compile on CssParser.ohttp://redmine.emweb.be/issues/2530?journal_id=103352014-10-22T00:47:37ZKoen Deforchekoen@emweb.be
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>