08-06-2011, 10:03 PM | #1 |
Guru
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
Building Sigil under Linux
OK, since we penguins are about to be turned out into the cold, cruel world, I am trying to build Sigil 0.3.4 from the source code zip file, following the directions included.
All proceeds well until the following: Code:
Linking CXX static library ../../lib/libXerces.a [ 57%] Built target Xerces Scanning dependencies of target XercesExtensions [ 58%] Building CXX object src/XercesExtensions/CMakeFiles/XercesExtensions.dir/LocationAwareDOMParser.cpp.o /home/u838190/sigil-build/Sigil-0.3.4-Code/src/XercesExtensions/LocationAwareDOMParser.cpp:32:49: error: uninitialized const ‘LOCATION_DATA_HANDLER’ [-fpermissive] /home/u838190/sigil-build/Sigil-0.3.4-Code/src/XercesExtensions/LocationInfoDataHandler.h:32:7: note: ‘const class XercesExt::LocationInfoDataHandler’ has no user-provided default constructor make[2]: *** [src/XercesExtensions/CMakeFiles/XercesExtensions.dir/LocationAwareDOMParser.cpp.o] Error 1 make[1]: *** [src/XercesExtensions/CMakeFiles/XercesExtensions.dir/all] Error 2 make: *** [all] Error 2 From the error messages, it seems that the problem is in the Xerces (eta: actually XercesExtensions) source code, yes? So, what now? Last edited by st_albert; 08-06-2011 at 10:16 PM. |
08-07-2011, 04:19 PM | #2 |
Guru
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
|
OK, nevermind. I was able to get it to work by editing CmakeCache.txt to add the -fpermissive compiler flag to the release build flags.
Not sure if that's what was really needed, but it seems to work. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
segmentation fault when using Sigil with Ubuntu Linux | lunixer | Sigil | 1 | 05-31-2011 03:34 PM |
Sigil PortableApp 32 bits on Linux | roger64 | Sigil | 0 | 12-20-2010 09:04 AM |
sigil Arch Linux | wetterau | Sigil | 5 | 12-02-2010 01:59 PM |
Portable Linux version of Sigil | readx | Sigil | 9 | 09-03-2010 03:59 AM |