Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2011, 09:03 PM   #1
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
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
My system is Debian Sid, with KDE desktop environment. It already had most of the dependencies, and I only had to install cmake, libqt4-dev and libqtwebkit-dev.

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 09:16 PM.
st_albert is offline   Reply With Quote
Old 08-07-2011, 03:19 PM   #2
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
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.
st_albert is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
segmentation fault when using Sigil with Ubuntu Linux lunixer Sigil 1 05-31-2011 02:34 PM
Sigil PortableApp 32 bits on Linux roger64 Sigil 0 12-20-2010 08:04 AM
sigil Arch Linux wetterau Sigil 5 12-02-2010 12:59 PM
Portable Linux version of Sigil readx Sigil 9 09-03-2010 02:59 AM


All times are GMT -4. The time now is 12:54 PM.


MobileRead.com is a privately owned, operated and funded community.