New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

linuxmint13 problem

General discussion

linuxmint13 problem

Postby northcamel » Sun Dec 09, 2012 5:10 pm

A few days ago, I complie goldendict successful.
but when I download the latest version form git and then qmake&&make,
it turned out the following mistakes.
qmake&&make from Source code, 2.7MB in sourceforge is OK

g++ -c -pipe -rdynamic -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\" -DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML_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/QtXml -I/usr/include/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -Iqtsingleapplication/src -I/usr/include/hunspell -I/usr/include/qt4/phonon_compat -Ibuild -Ibuild -o build/config.o config.cc
config.cc: In function ‘Config::Programs Config::{anonymous}::makeDefaultPrograms()’:
config.cc:202:120: error: no matching function for call to ‘Config::Program::Program(bool, Config::Program::Type, const char [33], const char [9], const char [15])’
config.cc:202:120: note: candidates are:
config.hh:350:3: note: Config::Program::Program(bool, Config::Program::Type, const QString&, const QString&, const QString&, QString)
config.hh:350:3: note: candidate expects 6 arguments, 5 provided
config.hh:347:3: note: Config::Program::Program()
config.hh:347:3: note: candidate expects 0 arguments, 5 provided
config.hh:333:8: note: Config::Program::Program(const Config::Program&)
config.hh:333:8: note: candidate expects 1 argument, 5 provided
config.cc:203:119: error: no matching function for call to ‘Config::Program::Program(bool, Config::Program::Type, const char [33], const char [7], const char [16])’
config.cc:203:119: note: candidates are:
config.hh:350:3: note: Config::Program::Program(bool, Config::Program::Type, const QString&, const QString&, const QString&, QString)
config.hh:350:3: note: candidate expects 6 arguments, 5 provided
config.hh:347:3: note: Config::Program::Program()
config.hh:347:3: note: candidate expects 0 arguments, 5 provided
config.hh:333:8: note: Config::Program::Program(const Config::Program&)
config.hh:333:8: note: candidate expects 1 argument, 5 provided
config.cc:204:136: error: no matching function for call to ‘Config::Program::Program(bool, Config::Program::Type, const char [33], const char [9], const char [32])’
config.cc:204:136: note: candidates are:
config.hh:350:3: note: Config::Program::Program(bool, Config::Program::Type, const QString&, const QString&, const QString&, QString)
config.hh:350:3: note: candidate expects 6 arguments, 5 provided
config.hh:347:3: note: Config::Program::Program()
config.hh:347:3: note: candidate expects 0 arguments, 5 provided
config.hh:333:8: note: Config::Program::Program(const Config::Program&)
config.hh:333:8: note: candidate expects 1 argument, 5 provided
make: *** [build/config.o] Error 1
northcamel
 
Posts: 2
Joined: Sun Dec 09, 2012 5:05 pm

Re: linuxmint13 problem

Postby Abs62 » Sun Dec 09, 2012 5:56 pm

Fixed in git.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: linuxmint13 problem

Postby zandgreen » Sun Dec 09, 2012 5:59 pm

have you installed all the necessary packages? here is the post by racachaquero i've found at the forum:


qt4-qmake libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev libqt4-dev g++ libxtst-dev libphonon-dev

libqt4-webkit-dev (if you don't install this one, you'll get the error The waiter is receiving).

python-dev python-bzutils libbz2-dev (if you don't install those, you'll get another error).

And that's it! After that it should compile correctly without errors.
zandgreen
 
Posts: 3
Joined: Wed Dec 05, 2012 2:19 am

Re: linuxmint13 problem

Postby northcamel » Sun Dec 09, 2012 6:13 pm

zandgreen wrote:have you installed all the necessary packages? here is the post by racachaquero i've found at the forum:


qt4-qmake libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev libqt4-dev g++ libxtst-dev libphonon-dev

libqt4-webkit-dev (if you don't install this one, you'll get the error The waiter is receiving).

python-dev python-bzutils libbz2-dev (if you don't install those, you'll get another error).

And that's it! After that it should compile correctly without errors.



Thanks for your help. But I have installed the above packages.And a week ago I complied successfully.So I think it is the problem of the source code.

Now the problem is fixed. :lol: :lol: :lol:
northcamel
 
Posts: 2
Joined: Sun Dec 09, 2012 5:05 pm


Return to General

Who is online

Users browsing this forum: No registered users and 51 guests