Ä°nstallation Problem

Post in this forum any question related to the installation on any of the supported platforms (Linux, Mac OS X, Windows)
muratbeyhan
Posts: 7
Joined: Thu Jun 05, 2008 8:31 am
Contact:

Ä°nstallation Problem

Postby muratbeyhan » Thu Jun 05, 2008 11:02 am

I have tried to install sesarray-src-2.0.0-snapshot-20080530 on Mandriva 2008 64 bit Linux.

Actually I have upgraded QT version from 3 to 4

System is using Qt version 4.3.4 in /usr/lib/qt4/lib64

following error has occurred during the installation. Are there any people faced about this problem and How could I solve this.
Any help will be appreciated

In file included from qtbguitools.cpp:31:
qtbguitools.h:35:22: error: qtbtrace.h: No such file or directory
qtbguitools.cpp:32:28: error: qtbpackageinfo.h: No such file or directory
qtbguitools.cpp:40: error: expected constructor, destructor, or type conversion before ‘(’ token
qtbguitools.cpp: In function ‘void Qtb::setWidgetColor(QWidget*, QColor)’:
qtbguitools.cpp:44: error: ‘QTB_TRACE’ was not declared in this scope
qtbguitools.cpp: In function ‘QColor Qtb::widgetColor(QWidget*)’:
qtbguitools.cpp:52: error: ‘QTB_TRACE’ was not declared in this scope
make[2]: *** [../.obj/release/qtbguitools.o] Error 1
make[2]: Leaving directory `/usr/local/sesarray-src-2.0.0-snapshot-20080530/src/qtbguitools/src'
make[1]: *** [first] Error 2
make[1]: Leaving directory `/usr/local/sesarray-src-2.0.0-snapshot-20080530/src/qtbguitools'
make: *** [qtbguitools] Error 2

Murat

admin
Site Admin
Posts: 417
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Postby admin » Thu Jun 05, 2008 12:25 pm

Hi Murat,

Can you post the complete output of these commands?

cd /usr/local/sesarray-src-2.0.0-snapshot-20080530/
make -n config
make


You get errors while compiling qtbguitools library. All errors are related to missing files that are normally provided by qtbtools library. There is probably another error in qtbtools.

Marc

muratbeyhan
Posts: 7
Joined: Thu Jun 05, 2008 8:31 am
Contact:

Postby muratbeyhan » Thu Jun 05, 2008 1:33 pm

Dear Marc,

I have followed different way to install the packages.

Actually the system has include the version of qt3. I have installed qt4 but the qt3 is still keeping by the system because of the some dependences. But as a user (not root) I have declared the path of the qt4 binary in .bash_profile so when I run following command
qmake -v as a user the I obtain following results from the system



[murat@l101550a sesarray-src-2.0.0-snapshot-20080530]$ qmake -v
QMake version 2.01a
Using Qt version 4.3.4 in /usr/lib/qt4/lib64

********a part of bash_profile of the user murat****************

PATH=/usr/lib/qt4/bin:$PATH:$HOME/bin
export PATH
QTDIR=/usr/lib/qt4
export QTDIR
unset USERNAME

************************************************************************


then I configure the packages by following command

./configure

then I have used the following commands in order to install packages in to the system.

make
make install

I have collected the information about configuration and making process into two files and I have attached them to this message. May be you can find What I'm doing wrong or What is the problem related my installation process.
Thanks.
Murat
Attachments
make_install.txt
(94.95 KiB) Downloaded 746 times
make.txt
(637.73 KiB) Downloaded 778 times
configure.txt
(16.62 KiB) Downloaded 802 times

admin
Site Admin
Posts: 417
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Postby admin » Thu Jun 05, 2008 1:51 pm

Dear Murat,

From the ./configure output it is obvious that lrelease software has a problem. The configure scripts provide the correct arguments to lrelease, what is your lrelease version? (it should be 4.3.4 or the same number as qmake).

If you don't want to loose time you can safely skip this error:

make -i install


How did you solve the first error you submitted? Obviously this is not the same.

muratbeyhan
Posts: 7
Joined: Thu Jun 05, 2008 8:31 am
Contact:

Postby muratbeyhan » Thu Jun 05, 2008 2:25 pm

Dear Marc,
I have checked lrelease and the system has including it.

[murat@l101550a sesarray-src-2.0.0-snapshot-20080530]$ which lrelease
/usr/lib/qt3/bin/lrelease

[murat@l101550a sesarray-src-2.0.0-snapshot-20080530]$ which qmake
/usr/lib/qt4/bin/qmake

[murat@l101550a sesarray-src-2.0.0-snapshot-20080530]$ qmake -v
QMake version 2.01a
Using Qt version 4.3.4 in /usr/lib/qt4/lib64

[murat@l101550a sesarray-src-2.0.0-snapshot-20080530]$ lrelease -version
lrelease version 3.3.8
but because of the conflict Qt3 and Qt4 I think its is the version belongs to QT3

I have searched it on the system and the result :

[root@l101550a bin]# find / -name lrelease -print
/usr/lib/qt3/bin/lrelease
/root/qt-x11-opensource-src-4.2.3/tools/linguist/lrelease
there are two places include it.

and also I have tried to ignore making process but the following warnings occurred.
cp lang/gpsignal.es.qm /usr/local/sesarray/share/lang
cp: cannot stat `lang/gpsignal.es.qm': No such file or directory
make[1]: [install_lang] Error 1 (ignored)
cp lang/gpsignal.fr.qm /usr/local/sesarray/share/lang
cp: cannot stat `lang/gpsignal.fr.qm': No such file or directory
make[1]: [install_lang] Error 1 (ignored)
cp lang/gpsignal.it.qm /usr/local/sesarray/share/lang
cp: cannot stat `lang/gpsignal.it.qm': No such file or directory
make[1]: [install_lang] Error 1 (ignored)
cp lang/gpsignal.de.qm /usr/local/sesarray/share/lang
cp: cannot stat `lang/gpsignal.de.qm': No such file or directory
make[1]: [install_lang] Error 1 (ignored)
make[1]: Leaving directory `/usr/local/sesarray-src-2.0.0-snapshot-20080530/src/gpsignal'
but the system installed the programs and I sent you snapshot of the screen which is showing the geopsy program.
I wish I could use the program without any problem.
Thank you very much...
Regards....
Murat

admin
Site Admin
Posts: 417
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Postby admin » Thu Jun 05, 2008 2:45 pm

lrelease should have version 4.3.4... normally it is included in your Qt package together with qmake.

muratbeyhan
Posts: 7
Joined: Thu Jun 05, 2008 8:31 am
Contact:

Re: Ä°nstallation Problem

Postby muratbeyhan » Fri Apr 12, 2013 1:08 pm

Dear Friend,
Nowadays I have updated my Linuz system to mageia2. then I downloaded full version of geopsy then When I install I have faced following problem

/usr/lib/qt4/bin/uic src/WaveformConsole.ui -o ui/ui_WaveformConsole.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/AGC.o src/AGC.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/ChronogramWindow.o src/ChronogramWindow.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/Correlations.o src/Correlations.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/CustomAsciiFormatsEditor.o src/CustomAsciiFormatsEditor.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/CutSignal.o src/CutSignal.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/DecimateAmplitude.o src/DecimateAmplitude.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/ExportFileType.o src/ExportFileType.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/ExportPick.o src/ExportPick.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/FFTW.o src/FFTW.cpp
src/FFTW.cpp:27:19: fatal error: fftw3.h: No such file or directory
compilation terminated.
make[2]: *** [release/FFTW.o] Error 1
make[2]: Leaving directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make: *** [sub-geopsy-make_default-ordered] Error 2

then I'm not sure but I have copy FFTW.h to fftw3.h then configure runned withoud any problem I see following message
Configure warangpsd
Configure waranmon
Configure waranmond
Configure waranrouted


GeopsyPack is now configured for building, Just run 'make'.
Once everything is built, you must run either

$ su -c make install, if root privileges are needed;
or
$ make install, if user permissions are sufficient.

The current configuration options are stored in 'configure.cache'.
To change the configuration, run './configure [options]'.

then I tried to make

make
then following problem occured

cd geopsy/ && make -f Makefile
make[1]: Entering directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make -f Makefile.Release
make[2]: Entering directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/FFTW.o src/FFTW.cpp
src/FFTW.cpp: In member function ‘virtual void FFTW::forward(int, double*)’:
src/FFTW.cpp:51:3: error: ‘fftw_plan’ was not declared in this scope
src/FFTW.cpp:51:13: error: expected ‘;’ before ‘plan’
src/FFTW.cpp:53:21: error: ‘plan’ was not declared in this scope
src/FFTW.cpp:53:44: error: ‘fftw_execute_r2r’ was not declared in this scope
src/FFTW.cpp:55:25: error: ‘fftw_destroy_plan’ was not declared in this scope
src/FFTW.cpp: At global scope:
src/FFTW.cpp:48:6: warning: unused parameter ‘nSamples’ [-Wunused-parameter]
src/FFTW.cpp: In member function ‘virtual void FFTW::backward(int, double*)’:
src/FFTW.cpp:62:3: error: ‘fftw_plan’ was not declared in this scope
src/FFTW.cpp:62:13: error: expected ‘;’ before ‘plan’
src/FFTW.cpp:64:21: error: ‘plan’ was not declared in this scope
src/FFTW.cpp:64:44: error: ‘fftw_execute_r2r’ was not declared in this scope
src/FFTW.cpp:66:25: error: ‘fftw_destroy_plan’ was not declared in this scope
src/FFTW.cpp: At global scope:
src/FFTW.cpp:59:6: warning: unused parameter ‘nSamples’ [-Wunused-parameter]
src/FFTW.cpp: In member function ‘virtual void FFTW::forward(int, QGpCoreTools::Complex*)’:
src/FFTW.cpp:73:3: error: ‘fftw_plan’ was not declared in this scope
src/FFTW.cpp:73:13: error: expected ‘;’ before ‘plan’
src/FFTW.cpp:75:21: error: ‘plan’ was not declared in this scope
src/FFTW.cpp:75:28: error: ‘fftw_complex’ was not declared in this scope
src/FFTW.cpp:75:42: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:75:67: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:75:76: error: ‘fftw_execute_dft’ was not declared in this scope
src/FFTW.cpp:77:25: error: ‘fftw_destroy_plan’ was not declared in this scope
src/FFTW.cpp: At global scope:
src/FFTW.cpp:70:6: warning: unused parameter ‘nSamples’ [-Wunused-parameter]
src/FFTW.cpp:70:6: warning: unused parameter ‘samples’ [-Wunused-parameter]
src/FFTW.cpp: In member function ‘virtual void FFTW::backward(int, QGpCoreTools::Complex*)’:
src/FFTW.cpp:84:3: error: ‘fftw_plan’ was not declared in this scope
src/FFTW.cpp:84:13: error: expected ‘;’ before ‘plan’
src/FFTW.cpp:86:21: error: ‘plan’ was not declared in this scope
src/FFTW.cpp:86:28: error: ‘fftw_complex’ was not declared in this scope
src/FFTW.cpp:86:42: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:86:67: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:86:76: error: ‘fftw_execute_dft’ was not declared in this scope
src/FFTW.cpp:88:25: error: ‘fftw_destroy_plan’ was not declared in this scope
src/FFTW.cpp: At global scope:
src/FFTW.cpp:81:6: warning: unused parameter ‘nSamples’ [-Wunused-parameter]
src/FFTW.cpp:81:6: warning: unused parameter ‘samples’ [-Wunused-parameter]
src/FFTW.cpp: In member function ‘virtual void FFTW::manyForward(int, int, QGpCoreTools::Complex*)’:
src/FFTW.cpp:95:3: error: ‘fftw_plan’ was not declared in this scope
src/FFTW.cpp:95:13: error: expected ‘;’ before ‘plan’
src/FFTW.cpp:99:21: error: ‘plan’ was not declared in this scope
src/FFTW.cpp:99:28: error: ‘fftw_complex’ was not declared in this scope
src/FFTW.cpp:99:42: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:99:67: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:99:76: error: ‘fftw_execute_dft’ was not declared in this scope
src/FFTW.cpp:101:25: error: ‘fftw_destroy_plan’ was not declared in this scope
src/FFTW.cpp: At global scope:
src/FFTW.cpp:92:6: warning: unused parameter ‘howmany’ [-Wunused-parameter]
src/FFTW.cpp:92:6: warning: unused parameter ‘nSamples’ [-Wunused-parameter]
src/FFTW.cpp:92:6: warning: unused parameter ‘samples’ [-Wunused-parameter]
src/FFTW.cpp: In member function ‘virtual void FFTW::manyBackward(int, int, QGpCoreTools::Complex*)’:
src/FFTW.cpp:108:3: error: ‘fftw_plan’ was not declared in this scope
src/FFTW.cpp:108:13: error: expected ‘;’ before ‘plan’
src/FFTW.cpp:112:21: error: ‘plan’ was not declared in this scope
src/FFTW.cpp:112:28: error: ‘fftw_complex’ was not declared in this scope
src/FFTW.cpp:112:42: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:112:67: error: expected primary-expression before ‘)’ token
src/FFTW.cpp:112:76: error: ‘fftw_execute_dft’ was not declared in this scope
src/FFTW.cpp:114:25: error: ‘fftw_destroy_plan’ was not declared in this scope
src/FFTW.cpp: At global scope:
src/FFTW.cpp:105:6: warning: unused parameter ‘howmany’ [-Wunused-parameter]
src/FFTW.cpp:105:6: warning: unused parameter ‘nSamples’ [-Wunused-parameter]
src/FFTW.cpp:105:6: warning: unused parameter ‘samples’ [-Wunused-parameter]
src/FFTW.cpp: In member function ‘bool FFTW::loadWisdom(QString)’:
src/FFTW.cpp:124:54: error: ‘fftw_import_wisdom_from_string’ was not declared in this scope
make[2]: *** [release/FFTW.o] Error 1
make[2]: Leaving directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make: *** [sub-geopsy-make_default-ordered] Error 2
[root@localhost geopsypack-57items-src-2.5.0]#



Please help me of course to make trick to copy FFTW.h to fftw3.h may be not right.
If any solution it will be appreciated.
[root@localhost geopsypack-57items-src-2.5.0]# rpm -qa |grep gcc
gcc-4.6.3-2.mga2
gcc-gfortran-4.6.3-2.mga2
gcc-cpp-4.6.3-2.mga2
libgcc1-4.6.3-2.mga2
gcc-c++-4.6.3-2.mga2
It has these packages in operating system

Regards.

muratbeyhan
Posts: 7
Joined: Thu Jun 05, 2008 8:31 am
Contact:

Re: Ä°nstallation Problem

Postby muratbeyhan » Tue Apr 16, 2013 11:05 am

these are the error mesages when I faced please let you help to me
regards


make[2]: Entering directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../lib/qt4/mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtScript -I../../../include -Isrc -Iui -I../include -Irelease -Iui -o release/FFTW.o src/FFTW.cpp
src/FFTW.cpp:27:19: fatal error: fftw3.h: No such file or directory
compilation terminated.
make[2]: *** [release/FFTW.o] Error 1
make[2]: Leaving directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make[1]: *** [release] Error 2
make[1]: Leaving directory `/usr/local/geopsypack-57items-src-2.5.0/geopsy'
make: *** [sub-geopsy-make_default-ordered] Error 2

admin
Site Admin
Posts: 417
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: Ä°nstallation Problem

Postby admin » Sun May 05, 2013 5:23 pm

There must be a package available for Mandriva that contain fftw library. Install the rpm package first and then restart geopsy compilation.


Return to “Installation”

Who is online

Users browsing this forum: No registered users and 1 guest