[scribus] r18595 by fschmid - Adding a replacement library for our own zip handling
Jeffrey Merrow
jeffmerrow at yahoo.com
Wed Nov 27 21:05:31 UTC 2013
I find that I am unable to build past R18594 (which compiles and runs well.)
/home/jeff/Source/NewScribe/scribus/third_party/zip/zip.cpp: In constructor ‘ZipPrivate::ZipPrivate()’:
/home/jeff/Source/NewScribe/scribus/third_party/zip/zip.cpp:286:30: error: invalid conversion from ‘const z_crc_t* {aka const unsigned int*}’ to ‘const crc_t* {aka const long unsigned int*}’ [-fpermissive]
crcTable = get_crc_table();
^
make[2]: *** [scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/zip.cpp.o] Error 1
make[1]: *** [scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/all] Error 2
make: *** [all] Error 2
Should I be 'hiding' ZLIB, maybe masking a level of error reporting, or setting some particular flags in order to proceed?
Any suggestions will be warmly welcomed.
My cmake results follow:
>cmake /home/jeff/Source/NewScribe/Scribus -DWANT_VERSIONING=1 -DWANT_GUI_LANG="en" -DQT_PREFIX="/home/jeff/Qt5/5.1.1/gcc/" /home/jeff/Source/NewScribe/
-- Shared Library Flags:
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- 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
-- ----- USE QT 5-----
-- ----- USE QT Widgets-----
-- ----- USE Qt5Gui -----
-- ----- USE QT 5 XML -----
-- ----- USE Qt5WebKit -----
-- ----- USE Qt5WebKitWidgets -----
-- ----- USE Qt5Network -----
-- ----- USE Qt5OpenGL -----
-- ----- USE Qt5LinguistTools -----
-- 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
No OSG found, building without 3D Extension
-- 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/i386-linux-gnu/libpython2.7.so (found suitable version "2.7.5+", minimum required is "2")
Python Library Found OK
-- Found Freetype: /usr/lib/i386-linux-gnu/libfreetype.so (found version "2.4.12")
-- 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.10.0;cairo>=1.10.0'
CAIRO Library Found OK
-- Found Cups: /usr/lib/i386-linux-gnu/libcups.so (found version "1.7.0")
CUPS Library Found OK
-- Found LibXml2: /usr/lib/i386-linux-gnu/libxml2.so (found version "2.9.1")
LIBXML2 Library Found OK
LCMS 2 ReleaseLibrary: /usr/lib/i386-linux-gnu/liblcms2.so
LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND
LCMS 2 Library: /usr/lib/i386-linux-gnu/liblcms2.so
LittleCMS-2 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.53.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-1.5.0.svn/plugins/;
-- Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::WebKitQt5::WebKitWidgetsQt5::NetworkQt5::OpenGL/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/jeff/Source/NewScribe/resources/translations
-- The following GUI languages will be installed: en
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jeff/Source/NewScribe/Build
jeff at ubuntu-local:~/Source/NewScribe/Build$ make
[ 0%] Generating moc_unzip_p.cpp
[ 0%] Generating moc_zip_p.cpp
Scanning dependencies of target scribus_zip_lib
[ 0%] Building CXX object scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/unzip.cpp.o
[ 0%] Building CXX object scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/zip.cpp.o
/home/jeff/Source/NewScribe/scribus/third_party/zip/zip.cpp: In constructor ‘ZipPrivate::ZipPrivate()’:
/home/jeff/Source/NewScribe/scribus/third_party/zip/zip.cpp:286:30: error: invalid conversion from ‘const z_crc_t* {aka const unsigned int*}’ to ‘const crc_t* {aka const long unsigned int*}’ [-fpermissive]
crcTable = get_crc_table();
^
make[2]: *** [scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/zip.cpp.o] Error 1
make[1]: *** [scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/all] Error 2
make: *** [all] Error 2
>
On Tuesday, October 22, 2013 7:05 PM, Jeffrey Merrow <jeffmerrow at yahoo.com> wrote:
Thanks for all of your diligent work on this.
Jeffrey
--------------------------------------------
On Tue, 10/22/13, Craig Bradney <cbradney at scribus.info> wrote:
Subject: Re: [scribus] qt5 requirements for 1.5.0svn
To: scribus at lists.scribus.net
Date: Tuesday, October 22, 2013, 3:11 PM
On 22/10/13 12:55 AM, Jeffrey Merrow
wrote:
> Correction / Update
>
> Preferences> Plugins indicates only " ->
Barcode..."
> It is not showing "Insert -> Barcode"
> Same is true for Color Wheel, Font Preview, Spell
Check,
>
> The plugins are not being added into the standard menu
dialogues.
>
Fixed
Craig
___
Scribus Mailing List: scribus at lists.scribus.net
Edit your options or unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20131127/ca927a42/attachment.html>
More information about the scribus
mailing list