[Scribus] Error compiling sxwim on Solaris 10

Rainer Heilke rheilke
Fri Jan 28 15:30:52 CET 2005


This gets it past sxwim, thanks. :-) What XML package should I install?

However, now it fails here:

if /bin/bash ../../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/sfw/include/freetype2 
-I/usr/sfw/include -I/usr/local/qt/include  -I../../../../scribus 
-DDOCDIR=\"/usr/local/share/scribus/doc/\" 
-DICONDIR=\"/usr/local/share/scribus/icons/\" 
-DTEMPLATEDIR=\"/usr/local/share/scribus/templates/\" 
-DLIBDIR=\"/usr/local/lib/scribus/\" 
-DPLUGINDIR=\"/usr/local/lib/scribus/plugins/\" -DQT_THREAD_SUPPORT  
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common  -MT 
oodrawimp.lo -MD -MP -MF ".deps/oodrawimp.Tpo" -c -o oodrawimp.lo 
oodrawimp.cpp; \
then mv -f ".deps/oodrawimp.Tpo" ".deps/oodrawimp.Plo"; else rm -f 
".deps/oodrawimp.Tpo"; exit 1; fi
In file included from /usr/sfw/include/freetype2/freetype/freetype.h:51,
                 from ../../../../scribus/scribusdoc.h:45,
                 from ../../../../scribus/scribusview.h:34,
                 from ../../../../scribus/scribus.h:51,
                 from oodrawimp.h:6,
                 from oodrawimp.cpp:1:
/usr/sfw/include/freetype2/freetype/config/ftconfig.h:65:1: warning: 
"SIZEOF_LONG" redefined
In file included from ../../../../scribus/scfonts.h:11,
                 from ../../../../scribus/scribusdoc.h:36,
                 from ../../../../scribus/scribusview.h:34,
                 from ../../../../scribus/scribus.h:51,
                 from oodrawimp.h:6,
                 from oodrawimp.cpp:1:
../../../../config.h:140:1: warning: this is the location of the 
previous definition
In file included from oodrawimp.cpp:8:
../../../../config.h:140:1: warning: "SIZEOF_LONG" redefined
In file included from /usr/sfw/include/freetype2/freetype/freetype.h:51,
                 from ../../../../scribus/scribusdoc.h:45,
                 from ../../../../scribus/scribusview.h:34,
                 from ../../../../scribus/scribus.h:51,
                 from oodrawimp.h:6,
                 from oodrawimp.cpp:1:
/usr/sfw/include/freetype2/freetype/config/ftconfig.h:65:1: warning: 
this is the location of the previous definition
oodrawimp.cpp: In constructor `OODPlug::OODPlug(ScribusApp*, QString)':
oodrawimp.cpp:89: error: parse error before numeric constant
oodrawimp.cpp:90: error: base operand of `->' is not a pointer
oodrawimp.cpp:91: error: base operand of `->' is not a pointer
oodrawimp.cpp:92: error: base operand of `->' is not a pointer
oodrawimp.cpp:93: error: type `int' argument given to `delete', expected
   pointer
make[6]: *** [oodrawimp.lo] Error 1
make[6]: Leaving directory 
`/export/home/rheilke/Scribus/scribus/plugins/fileloader/oodraw'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
`/export/home/rheilke/Scribus/scribus/plugins/fileloader/oodraw'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/export/home/rheilke/Scribus/scribus/plugins/fileloader'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/rheilke/Scribus/scribus/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/rheilke/Scribus/scribus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/rheilke/Scribus'
make: *** [all] Error 2


It looks like I still have some work ahead of me... Any ideas?

Rainer

Riku Leino wrote:

> You could try commenting out from the config.h lines:
>
> #define HAVE_XML 1
> #define HAVE_XML26 1
>
> and see if it builds without those. You'll lose most of the get text 
> importers with this (and probably something else i cannot now remember).
> Another option would be to comment out sxwim makefile from 
> configure.in and redo the build process.
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus






More information about the scribus mailing list