[Scribus] Compile from scr rpm failed
Mikhail Ramendik
mr
Sat Jun 25 19:42:55 CEST 2005
Hello,
I am using ASP Linux 9, closely based on Red Hat 9. I took the source RPM for
Fedora and tried to compile that. But I have failed. The resulting message is
attached below.
Is there any way I can compile and run Scribus on my system? I can go from the
source tarball if this can make things better.
==
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/freetype2
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include -I../../../scribus
-I/usr/include/python2.2 -DDOCDIR=\"/usr/share/scribus/doc/\"
-DICONDIR=\"/usr/share/scribus/icons/\"
-DSCRIPTSDIR=\"/usr/share/scribus/scripts/\"
-DTEMPLATEDIR=\"/usr/share/scribus/templates/\"
-DLIBDIR=\"/usr/lib/scribus/\" -DPLUGINDIR=\"/usr/lib/scribus/plugins/\"
-DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -g
-march=pentium4 -mcpu=pentium4 -mmmx -msse -msse2 -mfpmath=sse
-fomit-frame-pointer -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -MT cmddialog.lo -MD -MP -MF
".deps/cmddialog.Tpo" -c -o cmddialog.lo cmddialog.cpp; \
then mv -f ".deps/cmddialog.Tpo" ".deps/cmddialog.Plo"; else rm -f
".deps/cmddialog.Tpo"; exit 1; fi
In file included from cmddialog.cpp:1:
cmddialog.h:10: `scribus_newdocdia__doc__' was not declared in this scope
cmddialog.h:11: ISO C++ forbids declaration of `PyDoc_STRVAR' with no type
cmddialog.h:11: initializer list being treated as compound expression
cmddialog.h:21: `scribus_filedia__doc__' was not declared in this scope
cmddialog.h:22: ISO C++ forbids declaration of `PyDoc_STRVAR' with no type
cmddialog.h:22: redefinition of `int PyDoc_STRVAR'
cmddialog.h:11: `int PyDoc_STRVAR' previously defined here
cmddialog.h:22: initializer list being treated as compound expression
cmddialog.h:48: `scribus_messdia__doc__' was not declared in this scope
cmddialog.h:49: ISO C++ forbids declaration of `PyDoc_STRVAR' with no type
cmddialog.h:49: redefinition of `int PyDoc_STRVAR'
cmddialog.h:22: `int PyDoc_STRVAR' previously defined here
cmddialog.h:49: initializer list being treated as compound expression
cmddialog.h:87: `scribus_valdialog__doc__' was not declared in this scope
cmddialog.h:88: ISO C++ forbids declaration of `PyDoc_STRVAR' with no type
cmddialog.h:88: redefinition of `int PyDoc_STRVAR'
cmddialog.h:49: `int PyDoc_STRVAR' previously defined here
cmddialog.h:88: initializer list being treated as compound expression
cmddialog.cpp: In function `PyObject* scribus_filedia(PyObject*, PyObject*,
PyObject*)':
cmddialog.cpp:28: warning: deprecated conversion from string constant to
`char*
'
cmddialog.cpp: In function `PyObject* scribus_messdia(PyObject*, PyObject*,
PyObject*)':
cmddialog.cpp:51: warning: deprecated conversion from string constant to
`char*
'
cmddialog.cpp: In function `PyObject* scribus_valdialog(PyObject*,
PyObject*)':
cmddialog.cpp:64: warning: deprecated conversion from string constant to
`char*
'
cmddialog.cpp:65: warning: deprecated conversion from string constant to
`char*
'
make[5]: *** [cmddialog.lo] Error 1
make[5]: Exiting
`/usr/src/asplinux/BUILD/scribus-1.2.1/scribus/plugins/scriptplugin'
make[4]: *** [all-recursive] Error 1
make[4]: Exiting
`/usr/src/asplinux/BUILD/scribus-1.2.1/scribus/plugins/scriptplugin'
[etc, recursive exit]
--
Yours, Mikhail Ramendik
More information about the scribus
mailing list