[scribus] Failed to compile 1.5 via svn → what am i missing?

Thorsten Rochelmeyer thr-news at rochelmeyer.com
Mon Aug 12 09:43:03 UTC 2013


Am 12.08.2013 00:05, schrieb John Brown:
> On Sat, 10 Aug 2013 17:07:10 +0200, Thorsten Rochelmeyer wrote:
>
> This message must mean that cmake does not know the name of your C++
> compiler. 

My fault. I was expecting g++ to be part of the GNU Compiler Collection.
Now i know how wrong i was and got it installed.

I also installed a lot more dependencies, from the errors cmake gave me.
I basically installed pretty much everythink that had similar names. Now
i get a valid cmake script and can start compiling.

Compiling repeatedly stoped at this point:

Linking CXX executable scribus
/usr/bin/ld: CMakeFiles/scribus.dir/ui/moc_AdapterWidget.cxx.o:
undefined reference to symbol 'OpenThreads::Atomic::operator--()'
/usr/bin/ld: note: 'OpenThreads::Atomic::operator--()' is defined in DSO
/usr/lib/libOpenThreads.so.14 so try adding it to the linker command line
/usr/lib/libOpenThreads.so.14: could not read symbols: Invalid operation
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [scribus/scribus] Fehler 1
make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Fehler 2
make: *** [all] Fehler 2


So now I'm again asking for help :-/


This was my cmake command line:

thr at thr-x1:~/src/scribus-svn/Scribus/build$ /usr/bin/cmake .
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/scribus-svn
-DWANT_GRAPHICSMAGICK=1 -DWANT_VERSIONING=1 -DCMAKE_CXX_COMPILER=g++

and the output from cmake

-- Shared Library Flags:
-- Scribus 1.5.0.svn will be built to install into /usr/local/scribus-svn
-- Machine: i686-linux-gnu, void pointer size: 4
-- Found target X86
-- Building for target i686-linux-gnu
-- Using standard ApplicationDataDir. You can change it with
-DAPPLICATION_DATA_DIR
Qt4 Found OK
-- QtWebkit Found OK
-- Building without Qt3 Support (GOOD)
ZLIB Library Found OK
Using PNG Library: /usr/lib/i386-linux-gnu/libpng.so
PNG Library Found OK
OSG found OK
JPEG Library Found OK
TIFF Library Found OK
Python Library Found OK
-- FreeType2 Library Found OK
-- Previously selected rendering system: CAIRO_SYSTEM
CAIRO Library Found OK
CUPS Library Found OK
LIBXML2 Library Found OK
LCMS ReleaseLibrary: /usr/lib/i386-linux-gnu/liblcms.so
LCMS Debug Library: LCMS_LIBRARY_DEBUG-NOTFOUND
LCMS Library: /usr/lib/i386-linux-gnu/liblcms.so
LCMS 2 ReleaseLibrary: LCMS2_LIBRARY_RELEASE-NOTFOUND
LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND
LCMS 2 Library: LCMS2_LIBRARY_RELEASE-NOTFOUND
LCMS ReleaseLibrary: /usr/lib/i386-linux-gnu/liblcms.so
LCMS Debug Library: LCMS_LIBRARY_DEBUG-NOTFOUND
LCMS Library: /usr/lib/i386-linux-gnu/liblcms.so
LittleCMS Library Found OK
FontConfig Found OK
Hunspell Found OK
PoDoFo found OK
-- Boost version: 1.48.0
Boost Library Found OK
-- checking for module 'GraphicsMagick'
--   found GraphicsMagick, version 1.3.12
GRAPHICS_MAGIC debug: pkgconf: /usr/include/GraphicsMagick,
include:/usr/include lib:/usr/lib/libGraphicsMagick.so
-- Found GMAGICK: /usr/lib/libGraphicsMagick.so 
GraphicksMagick Found OK
-- Found poppler
-- Found poppler libs: /usr/lib/i386-linux-gnu/libpoppler.so
-- Found poppler includes: /usr/include/poppler
-- GMAGICK: Libs: /usr/lib/libGraphicsMagick.so, Inc:
/usr/include/GraphicsMagick, Ldflags:
RPATH: lib/scribus-1.5.0.svn/plugins/;
--
/usr/lib/i386-linux-gnu/libQtCore.so/usr/lib/i386-linux-gnu/libQtGui.so/usr/lib/i386-linux-gnu/libQtXml.so/usr/lib/i386-linux-gnu/libxml2.so/usr/lib/i386-linux-gnu/libz.so
-- Building with Scripter 1
-- Source header files will be installed
-- /home/thr/src/scribus-svn/Scribus/resources/translations
-- The following GUI languages will be installed:
-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_CXX_COMPILER= g++

-- Shared Library Flags:
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Scribus 1.5.0.svn will be built to install into /usr/local
-- Machine: i686-linux-gnu, void pointer size: 4
-- Found target X86
-- Building for target i686-linux-gnu
-- Using standard ApplicationDataDir. You can change it with
-DAPPLICATION_DATA_DIR
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.2", required
is "4.7.0")
Qt4 Found OK
-- QtWebkit Found OK
-- Building without Qt3 Support (GOOD)
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so 
ZLIB Library Found OK
-- Found PNG: /usr/lib/i386-linux-gnu/libpng.so 
Using PNG Library: /usr/lib/i386-linux-gnu/libpng.so
PNG Library Found OK
OSG found OK
-- Looking for XOpenDisplay in
/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
-- Looking for XOpenDisplay in
/usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/i386-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so 
-- Found JPEG: /usr/lib/i386-linux-gnu/libjpeg.so 
JPEG Library Found OK
-- Found TIFF: /usr/lib/i386-linux-gnu/libtiff.so 
TIFF Library Found OK
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version
"2.7.3", required is "2")
Python Library Found OK
-- Found Freetype: /usr/lib/i386-linux-gnu/libfreetype.so (found version
"2.4.8")
-- FreeType2 Library Found OK
-- Looking for FT_Get_First_Char in /usr/lib/i386-linux-gnu/libfreetype.so
-- Looking for FT_Get_First_Char in
/usr/lib/i386-linux-gnu/libfreetype.so - found
-- Looking for FT_Get_Next_Char in /usr/lib/i386-linux-gnu/libfreetype.so
-- Looking for FT_Get_Next_Char in
/usr/lib/i386-linux-gnu/libfreetype.so - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
CAIRO Library Found OK
-- Found Cups: /usr/lib/i386-linux-gnu/libcups.so (found version "1.5.3")
CUPS Library Found OK
-- Found LibXml2: /usr/lib/i386-linux-gnu/libxml2.so (found version
"2.7.8")
LIBXML2 Library Found OK
LCMS ReleaseLibrary: /usr/lib/i386-linux-gnu/liblcms.so
LCMS Debug Library: LCMS_LIBRARY_DEBUG-NOTFOUND
LCMS Library: /usr/lib/i386-linux-gnu/liblcms.so
LCMS 2 ReleaseLibrary: LCMS2_LIBRARY_RELEASE-NOTFOUND
LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND
LCMS 2 Library: LCMS2_LIBRARY_RELEASE-NOTFOUND
LCMS ReleaseLibrary: /usr/lib/i386-linux-gnu/liblcms.so
LCMS Debug Library: LCMS_LIBRARY_DEBUG-NOTFOUND
LCMS Library: /usr/lib/i386-linux-gnu/liblcms.so
LittleCMS Library Found OK
-- checking for one of the modules 'fontconfig'
FontConfig Found OK
-- Found HUNSPELL: /usr/lib/i386-linux-gnu/libhunspell-1.3.so 
Hunspell Found OK
PoDoFo found OK
-- Boost version: 1.48.0
Boost Library Found OK
Building without GraphicksMagick (use -DWANT_GRAPHICSMAGICK=1 to enable)
-- checking for one of the modules 'libpoppler>=0.19.0;poppler>=0.19.0'
-- Found poppler
-- Found poppler libs: /usr/lib/i386-linux-gnu/libpoppler.so
-- Found poppler includes: /usr/include/poppler
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
RPATH: lib/scribus/plugins/;
--
/usr/lib/i386-linux-gnu/libQtCore.so/usr/lib/i386-linux-gnu/libQtGui.so/usr/lib/i386-linux-gnu/libQtXml.so/usr/lib/i386-linux-gnu/libxml2.so/usr/lib/i386-linux-gnu/libz.so
-- Building with Scripter 1
-- Source header files will be installed
-- /home/thr/src/scribus-svn/Scribus/resources/translations
-- The following GUI languages will be installed:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thr/src/scribus-svn/Scribus/build


Thanks again

Thorsten




More information about the scribus mailing list