[Kst] build problems...

Matthew D Truch matt at truch.net
Wed Dec 1 23:21:18 CET 2004


I cannot compile kst if I use the following ./configure command:

./configure --prefix=`kde-config --prefix` --enable-final

I *can* compile if I use:

./configure --prefix=`kde-config --prefix` --disable-debug
-or-
./configure --prefix=`kde-config --prefix`

Is --enable-final deprecated?

Attached is the error (and a ton of warnings) where it fails.  

-- 
"In space, no one can hear you scream."
--------------------------
Matthew Truch
Department of Physics
Brown University
matt at truch.net
http://matt.truch.net/
-------------- next part --------------
g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include   -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 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kst.all_cpp.o `test -f 'kst.all_cpp.cpp' || echo './'`kst.all_cpp.cpp
In file included from kst.all_cpp.cpp:2:
kstiface_impl.cpp: In member function `virtual QString
   KstIfaceImpl::createHistogram(const QString&, const QString&, double,
   double, int, int, const QColor&)':
kstiface_impl.cpp:1151: warning: unused parameter `const QColor&color'
In file included from kst.all_cpp.cpp:2:
kstiface_impl.cpp: In member function `virtual QString
   KstIfaceImpl::createPowerSpectrum(const QString&, const QString&, bool,
   bool, int, const QString&, double, const QString&, const QColor&)':
kstiface_impl.cpp:1223: warning: unused parameter `const QColor&color'
In file included from kst.all_cpp.cpp:4:
/usr/lib/qt/include/qmutex.h: In member function `bool
   KstWaitCondition::wait(QMutex*, long unsigned int)':
/usr/lib/qt/include/qmutex.h:68: error: `QMutexPrivate*QMutex::d' is private
kstwaitcondition_unix.cpp:289: error: within this context
/usr/lib/qt/include/qmutex.h:68: error: `QMutexPrivate*QMutex::d' is private
kstwaitcondition_unix.cpp:307: error: within this context
/usr/lib/qt/include/qmutex.h:68: error: `QMutexPrivate*QMutex::d' is private
kstwaitcondition_unix.cpp:309: error: within this context
In file included from kst.all_cpp.cpp:16:
kstviewlabel.cpp: In member function `virtual void
   KstViewLabel::save(QTextStream&, const QString&)':
kstviewlabel.cpp:107: warning: unused parameter `QTextStream&ts'
kstviewlabel.cpp:107: warning: unused parameter `const QString&indent'
In file included from kst.all_cpp.cpp:17:
kstviewobjectfactory.cpp: In static member function `static
   KstViewObjectFactory* KstViewObjectFactory::self()':
kstviewobjectfactory.cpp:25: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:18:
kstviewobject.cpp: In member function `virtual void KstViewObject::rename()':
kstviewobject.cpp:978: warning: `getText' is deprecated (declared at
   /opt/kde/include/klineeditdlg.h:81)
In file included from kst.all_cpp.cpp:26:
kstplugindialog_i.cpp: In static member function `static KstPluginDialogI*
   KstPluginDialogI::globalInstance()':
kstplugindialog_i.cpp:53: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:27:
kstplotdialog_i.cpp:42:1: warning: "LABEL_PRECISION" redefined
In file included from kst.all_cpp.cpp:14:
kst2dplot.cpp:58:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:28:
kstfitdialog_i.cpp: In static member function `static KstFitDialogI*
   KstFitDialogI::globalInstance()':
kstfitdialog_i.cpp:47: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:29:
kstfilterdialog_i.cpp: In static member function `static KstFilterDialogI*
   KstFilterDialogI::globalInstance()':
kstfilterdialog_i.cpp:46: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:32:
kstdatamanager_i.cpp: In member function `void KstObjectItem::applyFilter(int)
   ':
kstdatamanager_i.cpp:222: warning: unused parameter `int id'
kstdatamanager_i.cpp: In member function `void
   KstDataManagerI::contextMenu(QListViewItem*, const QPoint&, int)':
kstdatamanager_i.cpp:560: warning: `setTitle' is deprecated (declared at
   /opt/kde/include/kpopupmenu.h:199)
In file included from kst.all_cpp.cpp:33:
kstvectordialog_i.cpp:37:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:26:
kstplugindialog_i.cpp:43:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:33:
kstvectordialog_i.cpp:38:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:26:
kstplugindialog_i.cpp:44:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:33:
kstvectordialog_i.cpp: In static member function `static KstVectorDialogI*
   KstVectorDialogI::globalInstance()':
kstvectordialog_i.cpp:46: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:34:
ksteqdialog_i.cpp:39:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:33:
kstvectordialog_i.cpp:37:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:34:
ksteqdialog_i.cpp:40:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:33:
kstvectordialog_i.cpp:38:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:34:
ksteqdialog_i.cpp: In static member function `static KstEqDialogI*
   KstEqDialogI::globalInstance()':
ksteqdialog_i.cpp:48: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:35:
ksthsdialog_i.cpp:38:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:34:
ksteqdialog_i.cpp:39:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:35:
ksthsdialog_i.cpp:39:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:34:
ksteqdialog_i.cpp:40:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:35:
ksthsdialog_i.cpp: In static member function `static KstHsDialogI*
   KstHsDialogI::globalInstance()':
ksthsdialog_i.cpp:50: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:36:
kstpsddialog_i.cpp:37:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:35:
ksthsdialog_i.cpp:38:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:36:
kstpsddialog_i.cpp:38:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:35:
ksthsdialog_i.cpp:39:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:36:
kstpsddialog_i.cpp: At global scope:
kstpsddialog_i.cpp:41: error: redefinition of `const QString&defaultTag'
ksthsdialog_i.cpp:42: error: `const QString&defaultTag' previously declared
   here
kstpsddialog_i.cpp: In static member function `static KstPsdDialogI*
   KstPsdDialogI::globalInstance()':
kstpsddialog_i.cpp:48: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:38:
kstimagedialog_i.cpp:37:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:36:
kstpsddialog_i.cpp:37:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:38:
kstimagedialog_i.cpp:38:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:36:
kstpsddialog_i.cpp:38:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:38:
kstimagedialog_i.cpp: In static member function `static KstImageDialogI*
   KstImageDialogI::globalInstance()':
kstimagedialog_i.cpp:46: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:48:
ksteventmonitor_i.cpp:34:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:38:
kstimagedialog_i.cpp:37:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:48:
ksteventmonitor_i.cpp:35:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:38:
kstimagedialog_i.cpp:38:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:48:
ksteventmonitor_i.cpp: In static member function `static KstEventMonitorI*
   KstEventMonitorI::globalInstance()':
ksteventmonitor_i.cpp:43: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:52:
kstmatrixdialog_i.cpp:32:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:48:
ksteventmonitor_i.cpp:34:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:52:
kstmatrixdialog_i.cpp:33:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:48:
ksteventmonitor_i.cpp:35:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:52:
kstmatrixdialog_i.cpp: At global scope:
kstmatrixdialog_i.cpp:37: error: conflicting types for `
   KStaticDeleter<KstMatrixDialogI> _cuInst'
kstimagedialog_i.cpp:42: error: previous declaration as `
   KStaticDeleter<KstImageDialogI> _cuInst'
kstmatrixdialog_i.cpp: In static member function `static KstMatrixDialogI*
   KstMatrixDialogI::globalInstance()':
kstmatrixdialog_i.cpp:41: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:57:
kstcurvedialog_i.cpp:33:1: warning: "DIALOGTYPE" redefined
In file included from kst.all_cpp.cpp:52:
kstmatrixdialog_i.cpp:32:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:57:
kstcurvedialog_i.cpp:34:1: warning: "DTYPE" redefined
In file included from kst.all_cpp.cpp:52:
kstmatrixdialog_i.cpp:33:1: warning: this is the location of the previous definition
In file included from kst.all_cpp.cpp:57:
kstcurvedialog_i.cpp: At global scope:
kstcurvedialog_i.cpp:37: error: redefinition of `const QString&defaultTag'
kstpsddialog_i.cpp:41: error: `const QString&defaultTag' previously declared
   here
kstcurvedialog_i.cpp:40: error: conflicting types for `
   KStaticDeleter<KstCurveDialogI> _cuInst'
kstmatrixdialog_i.cpp:37: error: previous declaration as `
   KStaticDeleter<KstMatrixDialogI> _cuInst'
kstcurvedialog_i.cpp: In static member function `static KstCurveDialogI*
   KstCurveDialogI::globalInstance()':
kstcurvedialog_i.cpp:44: warning: `setObject' is deprecated (declared at
   /opt/kde/include/kstaticdeleter.h:85)
In file included from kst.all_cpp.cpp:61:
kst.cpp: At global scope:
kst.cpp:85: error: redefinition of `const QString&defaultTag'
kstcurvedialog_i.cpp:37: error: `const QString&defaultTag' previously declared
   here
kst.cpp: In member function `void KstApp::initActions()':
kst.cpp:602: warning: `stringToKey' is deprecated (declared at
   /opt/kde/include/kaccel.h:363)
kst.cpp:613: warning: `stringToKey' is deprecated (declared at
   /opt/kde/include/kaccel.h:363)
kst.cpp:625: warning: `stringToKey' is deprecated (declared at
   /opt/kde/include/kaccel.h:363)
kst.cpp: In member function `void KstApp::slotFilePrint()':
kst.cpp:1085: warning: `fromPage' is deprecated (declared at
   /opt/kde/include/kprinter.h:328)
kst.cpp: In member function `QString KstApp::windowName(bool, const QString&,
   bool)':
kst.cpp:1596: warning: `getText' is deprecated (declared at
   /opt/kde/include/klineeditdlg.h:81)
kst.cpp:1598: warning: `getText' is deprecated (declared at
   /opt/kde/include/klineeditdlg.h:81)
In file included from datawizard.cpp:57,
                 from kst.all_cpp.cpp:72:
datawizard.ui.h: At global scope:
datawizard.ui.h:9: error: redefinition of `const QString&defaultTag'
kst.cpp:85: error: `const QString&defaultTag' previously declared here
datawizard.ui.h: In member function `virtual void DataWizard::finished()':
datawizard.ui.h:399: warning: comparison between signed and unsigned integer
   expressions
datawizard.ui.h:421: warning: comparison between signed and unsigned integer
   expressions
datawizard.ui.h:671: warning: comparison between signed and unsigned integer
   expressions
kstviewwindow.h: In member function `QString KstViewWindow::createPlot(const
   QString&, bool) [with T = Kst2DPlot]':
kstiface_impl.cpp:608:   instantiated from here
kstviewwindow.h:131: warning: `getText' is deprecated (declared at
   /opt/kde/include/klineeditdlg.h:81)
kstiface_impl.cpp:608:   instantiated from here
kstviewwindow.h:149: warning: `getText' is deprecated (declared at
   /opt/kde/include/klineeditdlg.h:81)
make[4]: *** [kst.all_cpp.o] Error 1
make[4]: Leaving directory `/mnt/hda4/home/submm/src/kst-1.0.1_pre1/kst/kst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/hda4/home/submm/src/kst-1.0.1_pre1/kst/kst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/hda4/home/submm/src/kst-1.0.1_pre1/kst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hda4/home/submm/src/kst-1.0.1_pre1'
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20041201/994fc9c5/attachment.pgp


More information about the Kst mailing list