Автор Гілка: Помилка при збиранні пакету під SUSE11.3  (Прочитано 1786 раз)

Greend

  • Гість
Доброго дня усім!
Під SUSE11.3 (х64), встановлену на ноуті, потрібно зкомпілювати GromacsGUI 0.5. Я все роблю по мануалу:

"GromacsGUI 0.5.2
(c) Reza Salari 2007 2008
resal81@yahoo.com

Prerequisites
=============
You should have "Qt 4.3.x" (both lib and devel packages) and "Qwt 5.0.2" (both lib and devel packages) installed. You can use your linux distribution online repositories to find these packages. In OpenSuse, these packages can be easily downloaded and installed through Yast or Smart or Zypper.


How to Compile
==============
1) Open grogui.pro and edit options based on your system. Normally you only have to make sure that path to Qwt files is correct:
-- in DEPENDPATH and INCLUDEPATH edit "/usr/include/qwt" to point to the directory containing header files of Qwt.
-- if the Qwt lib (.so file) has been installed in a directory which is not in your search path, you can point to that directory with: LIBS += L/path/to/qwtlibdirectory/
2) qmake
3) make
4) ./grogui".

Проте на стадії make відбувається збій:
"...# make
Makefile:526: warning: overriding commands for target `qrc_main.cpp'
Makefile:430: warning: ignoring old commands for target `qrc_main.cpp'
Makefile:544: warning: overriding commands for target `qrc_mdi.cpp'
Makefile:448: warning: ignoring old commands for target `qrc_mdi.cpp'
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o plotwidget.o src/plotwidget.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o finddialog.o src/finddialog.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o iconprovider.o src/iconprovider.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o aboutgrogui.o src/aboutgrogui.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o addpopupitem.o src/addpopupitem.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o commands.o src/commands.cpp
In file included from include/commands.h:4:0,
from src/commands.cpp:1:
ui/ui_commands.h: In member function ‘void Ui_CommandsClass::retranslateUi(QWidget*)’:
ui/ui_commands.h:7562:10: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
In file included from include/commands.h:4:0,
from src/commands.cpp:1:
ui/ui_commands.h: In member function ‘void Ui_CommandsClass::setupUi(QWidget*)’:
ui/ui_commands.h:1221:10: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
src/commands.cpp: In member function ‘void Commands::assignHashTables()’:
src/commands.cpp:86:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o dirbrowser.o src/dirbrowser.cpp
src/dirbrowser.cpp: In member function ‘QModelIndex DirBrowser::indexAt(const QPoint&) const’:
src/dirbrowser.cpp:161:1: warning: no return statement in function returning non-void
src/dirbrowser.cpp: At global scope:
src/dirbrowser.cpp:158:13: warning: unused parameter ‘point’
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o editor.o src/editor.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o executor.o src/executor.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o groguihelp.o src/groguihelp.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o logger.o src/logger.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o main.o src/main.cpp
In file included from include/qconsole.h:4:0,
from include/mainwindow.h:9,
from src/main.cpp:1:
include/myprocess.h: In constructor ‘MyProcess::MyProcess(QObject*)’:
include/myprocess.h:15:39: error: ‘stdin’ was not declared in this scope
include/myprocess.h:15:44: error: ‘fileno’ was not declared in this scope
include/myprocess.h: In member function ‘virtual void MyProcess::setupChildProcess()’:
include/myprocess.h:20:29: error: ‘stdin’ was not declared in this scope
include/myprocess.h:20:34: error: ‘fileno’ was not declared in this scope
make: *** [main.o] Error 1

ННіяк не збагну, що ж я такого ще не довстановив: qt4, qwt, make gcc стоять... Дякую за допомогу!!!!

Відсутній DalekiyObriy

  • Літератор
  • ******
  • дописів: 1929
  • Карма: +5/-0
щось там не зовсім кошерно, можете спробувати додати
#include <stdio.h>до include/myprocess.h, якщо проблема є результатом зміни включення хедерів десь вище, це може допомогти, але чесно кажучі шансів мало...
Fedora 35 (x86-64)

greend

  • Гість
Дякую за пораду. скористався нею, але от що вийшло:
Biowulf-asus:/home/demchuk/Work/Scisoft/gui_withplotting # make
Makefile:526: warning: overriding commands for target `qrc_main.cpp'
Makefile:430: warning: ignoring old commands for target `qrc_main.cpp'
Makefile:544: warning: overriding commands for target `qrc_mdi.cpp'
Makefile:448: warning: ignoring old commands for target `qrc_mdi.cpp'
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o plotwidget.o src/plotwidget.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o finddialog.o src/finddialog.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o iconprovider.o src/iconprovider.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o aboutgrogui.o src/aboutgrogui.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o addpopupitem.o src/addpopupitem.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o commands.o src/commands.cpp
In file included from include/commands.h:4:0,
                 from src/commands.cpp:1:
ui/ui_commands.h: In member function ‘void Ui_CommandsClass::retranslateUi(QWidget*)’:
ui/ui_commands.h:7562:10: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
In file included from include/commands.h:4:0,
                 from src/commands.cpp:1:
ui/ui_commands.h: In member function ‘void Ui_CommandsClass::setupUi(QWidget*)’:
ui/ui_commands.h:1221:10: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
src/commands.cpp: In member function ‘void Commands::assignHashTables()’:
src/commands.cpp:86:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o dirbrowser.o src/dirbrowser.cpp
src/dirbrowser.cpp: In member function ‘QModelIndex DirBrowser::indexAt(const QPoint&) const’:
src/dirbrowser.cpp:161:1: warning: no return statement in function returning non-void
src/dirbrowser.cpp: At global scope:
src/dirbrowser.cpp:158:13: warning: unused parameter ‘point’
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o editor.o src/editor.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o executor.o src/executor.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o groguihelp.o src/groguihelp.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o logger.o src/logger.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o main.o src/main.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o mainwindow.o src/mainwindow.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o mdichild.o src/mdichild.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o mdphighlighter.o src/mdphighlighter.cpp
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include -I. -Iinclude -Iui -I/usr/include/qwt -I. -o mdpconfig.o src/mdpconfig.cpp
src/mdpconfig.cpp: In constructor ‘MdpConfig::MdpConfig(QWidget*, QDir)’:
src/mdpconfig.cpp:19:39: error: cannot call constructor ‘QStringList::QStringList’ directly
src/mdpconfig.cpp:19:39: error:   for a function-style cast, remove the redundant ‘::QStringList’
make: *** [mdpconfig.o] Error 1

Цікаво, що ж тепер не так?....

greend

  • Гість
і ще одне.... як написано на сайті проги,
1. For compiling GromacsGUI, you need both Qt4 (>4.3.x) and Qwt (>5.x) and their devel packages.

2. Use your distribution package manager to install these packages. They are usually called like these: libqt4, libqt4-dev, libqwt5-qt4 and libqwt5-qt4-dev.

так от libqt4, libqt4-dev я найшов і встановив, а от щодо останніх двух, то замість libqwt5-qt4 в репах я найшов лише libqwt5, а от лібдевів (libqwt5-qt4-dev) взагалі таких немає - встановив тільки qwt-dev.
Може причина бути в такій несумісності? і чи можна це якось виправити сімлінками? (якщо так, то напишіть будь ласка зразок такої команди!!!). Буду дуже вдячний за допомогу!!!

Відсутній piktor

  • Видавець
  • *******
  • дописів: 3396
  • Карма: +0/-0
В різних дистрах пакунки по різному називаються, тому я ставив по суті всі бібліотеки та деви, що зі схожою назвою - спрацьовувало. Щоправда, мета в мене була попростіша - supertux 0.3.3  :)
Всим, хто тоне й не знає,
За що вхопитись,
Хто вже з останніх
Вибився сил:
Попереджаю - я не колода,
Попереджаю - я крокодил.

Відсутній DalekiyObriy

  • Літератор
  • ******
  • дописів: 1929
  • Карма: +5/-0
і ще одне.... як написано на сайті проги,
1. For compiling GromacsGUI, you need both Qt4 (>4.3.x) and Qwt (>5.x) and their devel packages.

2. Use your distribution package manager to install these packages. They are usually called like these: libqt4, libqt4-dev, libqwt5-qt4 and libqwt5-qt4-dev.

так от libqt4, libqt4-dev я найшов і встановив, а от щодо останніх двух, то замість libqwt5-qt4 в репах я найшов лише libqwt5, а от лібдевів (libqwt5-qt4-dev) взагалі таких немає - встановив тільки qwt-dev.
Може причина бути в такій несумісності? і чи можна це якось виправити сімлінками? (якщо так, то напишіть будь ласка зразок такої команди!!!). Буду дуже вдячний за допомогу!!!
Cкоріш за все сирці GromacsGUI старенькі і відмовляються компілюватися через новіший gcc або qt, схоже тут треба руцями правити сирці або (що напевне простіше, якщо ви не програміст) спробувати знайти вже зібраний пакунок для вашого дистрибутиву.
Fedora 35 (x86-64)

greend

  • Гість
зрозуміло.. дякую за поради. Проте на офіційному сайті нажаль викладені лише сирці проги. І наскільки я розумію,,, прог адесь 2009 року випуску, тобто не така вже й старенька, а от такі лажі. Шкода ал ене смертельно. Ще раз дякую за поради!