[Scribus] Scribus-1.3.3.5-1 build problem on Zenwalk-4.0
Craig Bradney
cbradney
Sun Nov 26 15:04:17 CET 2006
On Sunday 26 November 2006 14:55, R S Ananda Murthy wrote:
> Hello,
>
> I am trying to create scribus-1.3.3.5 package for Zenwalk-4.0, which has
> the following:
>
> * Kernel: Linux-2.6.18.1 with suspend2 support
> * Development: GCC-3.4.6, Python-2.4.3, Perl-5.8.8, GTK+2-2.10.6,
> JRE-1.5.0.08
> * X Window System: Xorg-7.1.0, Mesa-6.5
>
>
> This is the configure summary:
>
> Configuration Summary:
>
> Libraries:
> Freetype2 installed: Yes
> Fontconfig found: Yes
> CUPS installed: Yes
> LittleCMS installed: Yes
> libtiff installed: Yes
> Libxml2 installed: Yes
> Python installed: Yes
> Configuration options:
> Debugging enabled: No
> cairo enabled: No (If you don't know you need this, ignore it)
> Other details:
> GhostScript 8.15 was found at /usr/bin/gs
>
> Good - your configure finished. Start make now
>
> When I start make it continues for some time and then stops with the
> error message given below:
>
> /usr/lib/qt/bin/moc ./mspinbox.h -o mspinbox.moc
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libart-2.0
> -I/usr/include/freetype2 -I/usr/lib/qt/include -I.
> -DDOCDIR=\"/usr/share/doc/scribus-1.3.3.5/\"
> -DICONDIR=\"/usr/share/scribus/icons/\"
> -DSAMPLESDIR=\"/usr/share/scribus/samples/\"
> -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\"
> -DTEMPLATEDIR=\"/usr/share/scribus/templates/\"
> -DLIBDIR=\"/usr/lib/scribus/\" -DPLUGINDIR=\"/usr/lib/scribus/plugins/\"
> -DSHAREDIR=\"/usr/share/scribus/\" -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 -g -O2 -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> -MT mspinbox.o -MD -MP -MF ".deps/mspinbox.Tpo" -c -o mspinbox.o
> mspinbox.cpp; \
> then mv -f ".deps/mspinbox.Tpo" ".deps/mspinbox.Po"; else rm -f
> ".deps/mspinbox.Tpo"; exit 1; fi
> mspinbox.cpp: In member function `virtual int
> MSpinBox::mapTextToValue(bool*)':
> mspinbox.cpp:252: error: no matching function for call to
> `FunctionParser::AddConstant(QString&, double)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> mspinbox.cpp:253: error: no matching function for call to
> `FunctionParser::AddConstant(QString&, double)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> mspinbox.cpp:254: error: no matching function for call to
> `FunctionParser::AddConstant(QString&, double)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> mspinbox.cpp:255: error: no matching function for call to
> `FunctionParser::AddConstant(QString&, double)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> mspinbox.cpp:256: error: no matching function for call to
> `FunctionParser::AddConstant(QString&, double)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> mspinbox.cpp:257: error: no matching function for call to
> `FunctionParser::AddConstant(QString&, double)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> mspinbox.cpp: In member function `void
> MSpinBox::setFPConstants(FunctionParser&)':
> mspinbox.cpp:381: error: no matching function for call to
> `FunctionParser::AddConstant(const QString&, double&)'
> fparser.h:46: note: candidates are: bool
> FunctionParser::AddConstant(const std::string&, double)
> make[3]: *** [mspinbox.o] Error 1
> make[3]: Leaving directory `/home/anand/scribus-1.3.3.5/scribus'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/anand/scribus-1.3.3.5/scribus'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/anand/scribus-1.3.3.5'
> make: *** [all] Error 2
>
> What could be the problem? What should I do to solve this?
Two problems, one, libtiff is mandatory as of 1.3.3.5, and it doesnt look like
the include dirs are set up correctly as fparser.h is in the source.
Craig
More information about the scribus
mailing list