Erro na instalação. Passo do make -j 8

Post in this forum any question related to the installation on any of the supported platforms (Linux, Mac OS X, Windows)
Post Reply
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

Hello, I'm finishing the installation of Geopsy 3.3.0 on my Ubuntu 16.4. However, when I run the make -j 8 command I have some errors. Could someone please help me to solve this problem?
The error obtained is shown below:

cd mseed/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/mseed/mseed.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/mseed'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/mseed'
cd slink/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/slink/slink.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/slink'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/slink'
cd QGpCoreTools/ && ( test -e Makefile || /opt/Qt5.12.0/5.12.0/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools/QGpCoreTools.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools'
g++ -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DUBUNTU_UNITY -DHAS_OPEN_BLAS -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc -I/opt/Qt5.12.0/5.12.0/gcc_64/include -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtNetwork -I/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore -I. -I/opt/Qt5.12.0/5.12.0/gcc_64/mkspecs/linux-g++ -x c++-header -c src/stable.h -o QGpCoreTools.gch/c++
In file included from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qcborarray.h:43:0,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/QtCore:37,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qcborvalue.h:74:25: warning: missing initializer for member ‘QCborError::c’ [-Wmissing-field-initializers]
QCborError error = {};
^
In file included from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/QtCore:64:0,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.12.0/5.12.0/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:165:61: error: redeclaration ‘constexpr T qbswap(T) [with T = qfloat16]’ differs in ‘constexpr’
template <> inline qfloat16 qbswap<qfloat16>(qfloat16 source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = qfloat16]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:170:52: error: redeclaration ‘constexpr T qbswap(T) [with T = float]’ differs in ‘constexpr’
template <> inline float qbswap<float>(float source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = float]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:175:55: error: redeclaration ‘constexpr T qbswap(T) [with T = double]’ differs in ‘constexpr’
template <> inline double qbswap<double>(double source)
^
/opt/Qt5.12.0/5.12.0/gcc_64/include/QtCore/qendian.h:96:42: error: from previous declaration ‘constexpr T qbswap(T) [with T = double]’
template <typename T> Q_DECL_CONSTEXPR T qbswap(T source);
^
Makefile:1660: recipe for target 'QGpCoreTools.gch/c++' failed
make[1]: *** [QGpCoreTools.gch/c++] Error 1
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.3.0/QGpCoreTools'
Makefile:211: recipe for target 'sub-QGpCoreTools-make_first-ordered' failed
make: *** [sub-QGpCoreTools-make_first-ordered] Error 2
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: Erro na instalação. Passo do make -j 8

Post by admin »

Hi,

You are apparently using Qt 5.12 and the error messages are internal problems inside Qt. I suggest to use at least Qt 5.14. Another question, why do you want to install geopsypack-3.3.0 instead of 3.4.2?

Best regards,

Marc
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Re: Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

My ubuntu is 16.4 LTS, I found it more viable to install a slightly older version so there are no problems. I will follow your suggestion. My other question is the following: after the installation is finished, how do we open the program interface? I thank you for your help.
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: Erro na instalação. Passo do make -j 8

Post by admin »

All the executables are located in /usr/local/Geopsy.org/bin if you used the default configuration. If you add "-prefix" option in configure the base path can be different.
manosmat
Posts: 4
Joined: Thu Sep 08, 2022 1:05 pm

Re: Erro na instalação. Passo do make -j 8

Post by manosmat »

Ola,

I got quite similar issues, the following answers might be helpful to you:

viewtopic.php?t=539
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Re: Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

With Qt 5.14.2 I still get the same error:

cd mseed/ && ( test -e Makefile || /opt/Qt5.14.2/5.14.2/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.4.2/mseed/mseed.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.4.2/mseed'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.4.2/mseed'
cd slink/ && ( test -e Makefile || /opt/Qt5.14.2/5.14.2/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.4.2/slink/slink.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.4.2/slink'
make[1]: Nothing to be done for 'first'.
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.4.2/slink'
cd QGpCoreTools/ && ( test -e Makefile || /opt/Qt5.14.2/5.14.2/gcc_64/bin/qmake -o Makefile /home/lessandro/Downloads/geopsypack-src-3.4.2/QGpCoreTools/QGpCoreTools.pro ) && make -f Makefile
make[1]: Entering directory '/home/lessandro/Downloads/geopsypack-src-3.4.2/QGpCoreTools'
g++ -pipe -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DUBUNTU_UNITY -DHAS_OPEN_BLAS -DOPEN_BLAS_CBLAS -DMAKE_QGPCORETOOLS_DLL -DQT_NO_DEBUG -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc -I/opt/Qt5.14.2/5.14.2/gcc_64/include -I/opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml -I/opt/Qt5.14.2/5.14.2/gcc_64/include/QtNetwork -I/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore -I. -I/opt/Qt5.14.2/5.14.2/gcc_64/mkspecs/linux-g++ -x c++-header -c src/stable.h -o QGpCoreTools.gch/c++
In file included from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qatomic.h:46:0,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qglobal.h:1302,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/QtCore:4,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
# error "Qt requires C++11 support"
^
In file included from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qatomic.h:46:0,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qglobal.h:1302,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/QtCore:4,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qbasicatomic.h:94:13: error: ‘QAtomicOps’ does not name a type
typedef QAtomicOps<T> Ops;
^
In file included from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/QtCore:4:0,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml/QtQmlDepends:3,
from /opt/Qt5.14.2/5.14.2/gcc_64/include/QtQml/QtQml:3,
from src/stable.h:2:
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qbasicatomic.h:97:23: error: ‘QAtomicOpsSupport’ was not declared in this scope
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qglobal.h:121:68: note: in definition of macro ‘Q_STATIC_ASSERT_X’
# define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
^
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qbasicatomic.h:97:51: error: ‘::IsSupported’ has not been declared
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qglobal.h:121:68: note: in definition of macro ‘Q_STATIC_ASSERT_X’
# define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
^
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qglobal.h:121:49: error: non-constant condition for static assertion
# define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
^
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qbasicatomic.h:97:5: note: in expansion of macro ‘Q_STATIC_ASSERT_X’
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/opt/Qt5.14.2/5.14.2/gcc_64/include/QtCore/qbasicatomic.h:97: confused by earlier errors, bailing out
Makefile:1625: recipe for target 'QGpCoreTools.gch/c++' failed
make[1]: *** [QGpCoreTools.gch/c++] Error 1
make[1]: Leaving directory '/home/lessandro/Downloads/geopsypack-src-3.4.2/QGpCoreTools'
Makefile:216: recipe for target 'sub-QGpCoreTools-make_first-ordered' failed
make: *** [sub-QGpCoreTools-make_first-ordered] Error 2
Last edited by Lessandro_Sadala on Wed Oct 19, 2022 2:39 am, edited 1 time in total.
carroll98
Posts: 1
Joined: Thu Sep 22, 2022 4:26 pm

Re: Erro na instalação. Passo do make -j 8

Post by carroll98 »

When installing the program, the installation file does not open for me, perhaps some program will block it, how can I find out? I have monitoring ( Work Time ) installed that can block certain sites and / or applications, this may be the reason, but I do not understand how to check
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Re: Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

Thank you Marc and manosmat.

I realized that the problem was not in the make, but in the directory where I was directing the configuration. Qt was configured in the /opt/Qt folder... and I was performing the make and previous steps for the /usr/local/Geopsy.org directory... After performing all the steps for the /opt/ directory.. .the program worked perfectly.

I only have problems at startup, every time I restart my pc I have to configure the echo $PATH steps and everything, after that I type geopsy and open the program. If I start my pc and type geopsy logo in the terminal it doesn't recognize the command, so I always do the last steps for its operation.
admin
Site Admin
Posts: 841
Joined: Mon Aug 13, 2007 11:48 am
Location: ISTerre
Contact:

Re: Erro na instalação. Passo do make -j 8

Post by admin »

Hi Lessandro,

Where did you insert "PATH=...:$PATH", in which file?
What is your default shell?

Code: Select all

echo $SHELL
will tell you.
manosmat
Posts: 4
Joined: Thu Sep 08, 2022 1:05 pm

Re: Erro na instalação. Passo do make -j 8

Post by manosmat »

I think this happens because you modified the $PATH variable either at your .profile or your .bashrc file. Try to correctly add $PATH of geopsy to the former, for permanent configuration.
Last edited by manosmat on Wed Nov 23, 2022 5:18 am, edited 1 time in total.
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Re: Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

admin wrote: Mon Nov 07, 2022 9:29 am Hi Lessandro,

Where did you insert "PATH=...:$PATH", in which file?
What is your default shell?

Code: Select all

echo $SHELL
will tell you.
/bin/bash
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Re: Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

manosmat wrote: Tue Nov 22, 2022 5:59 pm I think this happens because you modified the $PATH variable either at your .profile or your .bashrc file. Try to correctly add $PATH of geopsy to the former, for permanent configuration.
PATH=/usr/local/Geopsy.org/bin:$PATH
Lessandro_Sadala
Posts: 8
Joined: Tue Apr 26, 2022 3:45 am

Re: Erro na instalação. Passo do make -j 8

Post by Lessandro_Sadala »

I managed to solve this problem by exporting the line above in the .bashrc file. Then I load the file with source ~/.bashrc. Finally, I restarted my pc and typed geopsy in the terminal, opening the soft instantly. Thanks for the clarification dear colleagues.
Post Reply