[scribus-dev] 1.5.x and scripter2 compile issue
Mark Heieis
mheieis at alois.ca
Fri Sep 27 19:08:34 UTC 2013
Hi There,
Just working through building scribus with Qt5 and scripter 2 enabled.
All is good so far with Qt5, however, scripter2 comes up with a compile
issue. Is it me or is something broken?
Yes, scripter2, I've been playing with it, as it's been a number of
months since I last tried it, I wanted to see how much progress there's
been on it. Happy to see Qt5.
TIA
mrh.
------
RPATH: lib/scribus/plugins/;
--
Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::WebKitQt5::WebKitWidgetsQt5::NetworkQt5::OpenGL/usr/lib64/libxml2.so/usr/lib64/libz.so
-- Building with Scripter 2
------
[ 93%] Building CXX object
scribus/plugins/scripter/CMakeFiles/scripter.dir/scripterimpl.cpp.o
In file included from /usr/include/python2.7/pyconfig.h:6:0,
from /usr/include/python2.7/Python.h:8,
from /opt/Scribus1.5.x/scribus/plugins/scripter/pythonize.h:26,
from /opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.h:13,
from /opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:14:
/usr/include/python2.7/pyconfig-64.h:1170:0: warning: "_POSIX_C_SOURCE"
redefined [enabled by default]
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/x86_64-redhat-linux/bits/os_defines.h:40:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/x86_64-redhat-linux/bits/c++config.h:2058,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/utility:70,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/algorithm:61,
from /usr/include/qt5/QtCore/qglobal.h:80,
from /usr/include/qt5/QtCore/qchar.h:45,
from /usr/include/qt5/QtCore/qstring.h:45,
from /usr/include/qt5/QtCore/QString:1,
from /opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:7:
/usr/include/features.h:168:0: note: this is the location of the
previous definition
In file included from /usr/include/python2.7/pyconfig.h:6:0,
from /usr/include/python2.7/Python.h:8,
from /opt/Scribus1.5.x/scribus/plugins/scripter/pythonize.h:26,
from /opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.h:13,
from /opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:14:
/usr/include/python2.7/pyconfig-64.h:1192:0: warning: "_XOPEN_SOURCE"
redefined [enabled by default]
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/x86_64-redhat-linux/bits/os_defines.h:40:0,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/x86_64-redhat-linux/bits/c++config.h:2058,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/utility:70,
from
/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/algorithm:61,
from /usr/include/qt5/QtCore/qglobal.h:80,
from /usr/include/qt5/QtCore/qchar.h:45,
from /usr/include/qt5/QtCore/qstring.h:45,
from /usr/include/qt5/QtCore/QString:1,
from /opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:7:
/usr/include/features.h:170:0: note: this is the location of the
previous definition
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp: In member
function ‘QObject* ScripterImpl::fromVariant(const QVariant&)’:
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:94:6: error:
‘qVariantCanConvert’ was not declared in this scope
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:94:33:
error: expected primary-expression before ‘*’ token
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:94:35:
error: expected primary-expression before ‘>’ token
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:99:38:
error: expected primary-expression before ‘*’ token
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:99:40:
error: expected primary-expression before ‘>’ token
/opt/Scribus1.5.x/scribus/plugins/scripter/scripterimpl.cpp:106:1:
warning: control reaches end of non-void function [-Wreturn-type]
make[2]: ***
[scribus/plugins/scripter/CMakeFiles/scripter.dir/scripterimpl.cpp.o]
Error 1
make[1]: *** [scribus/plugins/scripter/CMakeFiles/scripter.dir/all] Error 2
make: *** [all] Error 2
More information about the scribus-dev
mailing list