Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qmake command is not available
This post is deleted!
eyllanesc last edited by
@Onayaaa How did you install Qt?
sudo ./configure -prefix /opt/geopsy
You need to run
sudo make && sudo make installafter that.
/optis not where system looks for libraries or binaries. Either install into standard system locations or add
/opt/geopsy/binto your PATH, like this:
you can put this line into
~/.bashrcso it will be always available.
BTW. You can compile and install Qt as local user (without
sudo) - it's easier this way.
And if you don't need any special Qt build or patches, you can just install Qt from Ubuntu itself:
sudo apt install qt5-qmake
with sudo apt-get install qt4-default or qt5-default
i use this code to install geopsy, but when i get into the sudo ./configure -prefix /opt/geopsy the result is always error
Go to opt
• $ cd /opt
• $ sudo mkdir geopsy
• Back to directory of the ANT software
• extract the geopypack
• $ tar xvpzf geopsypack-57items-src-2.4.0.tar.gz • $ ls
• $ sudo ./configure -prefix /opt/geopsy
• $ sudo make install
• Back to home
• $ cd
• $ gedit .bashrc • ====================================
• PATH="$PATH:$GEOPSY" • export GEOPSY
• $ source .bashrc • Final check • $ geopsy
• $ dinver
As already suggested by @sierdzio, stop using sudo until the point of installation. Doing build as root is risky. If something goes wrong you might nuke your system without even noticing before it's too late.
Which exact error do you have now ?