monikashetty / fop-miniscribus

Automatically exported from code.google.com/p/fop-miniscribus
0 stars 0 forks source link

can't build software under linux #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Under Ubuntu 10.10, I tried to build fop_miniscribus.2.0.0 from 
http://code.google.com/p/fop-miniscribus/downloads/detail?name=miniscribus_2.0.0
.tar.gz&can=2&q=
./configure work fine after installing qt4-dev, libxml-dev and libxslt-dev 
packages

But make tool returns the following error:
g++ -c -pipe -O2 -w -D_REENTRANT -DOPENGLINITYES -DQT_NO_DEBUG -DQT_SVG_LIB 
-DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB 
-DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg 
-I/usr/include/qt4 -I. -Ibookmark -Ifoformat -Ipaperformat -Itextapi -Iui 
-I../include -I../modules/apng -I../modules/tidy -I../modules/zip 
-I../modules/ooo -I../modules/xslt -I/usr/include/libxslt 
-I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I../modules/ooo 
-I/usr/X11R6/include -Ibuild/.moc -I. -o build/.obj/Fo_Reader.o 
foformat/Fo_Reader.cpp
foformat/Fo_Reader.cpp: In constructor 
‘ApacheFop::Fo_Reader::Fo_Reader(QString, QObject*)’:
foformat/Fo_Reader.cpp:57: error: call of overloaded ‘QString(int)’ is 
ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: 
QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note: QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:727: note: QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note: QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note: QString::QString(const QChar*)
make[1]: *** [build/.obj/Fo_Reader.o] Error 1

Original issue reported on code.google.com by clement....@gmail.com on 24 Oct 2011 at 1:55

Attachments: