QT version is not properly installed, please run make install - linux

I installed QT-creator from a downloaded copy of qt-creator-linux-x86-opensource-2.6.1.bin using
sudo ./qt-creator-linux-x86-opensource-2.6.1.bin
in Ubuntu 11.04
I tried to add QT versions in QT-Creator/Build/QT-versions configuration and it asked for a qmake executable.
I installed it using:
sudo apt-get install qt4-devel
which deployed qmake in /usr/bin/qmake
I selected it in QT-Creator/Build/QT-versions configuration as manual, Qt-4.7.2 (System) /usr/bin/qmake-qt4 but QT version is not properly installed, please run make install message appears and I can't use it in QT-Creator/Build/Kits configuration.
How can I solve the problem and configure qmake for Qt-creator use in project creation?

This solved the problem for me on recent Ubuntu version:
sudo apt-get install qt5-default

Just so this no longer shows up as unanswered:
To install all qt-devel libraries, use
sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui

In Linux Mint 18.3 (32 bit) it also solved the problem:
sudo apt-get install qt5-default
So that Qt5 (5.5.1) was installed ready-to-use as a kit in QtCreator.
Although to install the Qt 5.9.0 version I had to explicitly download the package from https://download.qt.io/official_releases/qt/5.9/5.9.0/single/ (2 Gb unpacked) .
Then I had to run this command in terminal:
cd /home/username/Downloads/qt-everywhere-opensource-src-5.9.0
Then this command:
./configure
Then this
make

I was having this problem even after sudo apt-get install qt5-default (it was already installed).
However the version of QMake I had pointed to was in the Linux Processor SDK (02.00.02.11)
I fixed it by sourcing the environment setup before running qtcreator. The following shell script did it for me:
source /opt/ti/processor-sdk-linux-am335x-evm-02.00.02.11/linux-devkit/environment-setup
# substitute the location where the SDK is installed.
~/Qt5.9.0/Tools/QtCreator/bin/qtcreator -block
# substitute the location where QTCreator is installed

Related

Can't exec qmake

I'm using Ubuntu v.14.04 LTS
I had on my computer qt 5.5 but I needed an other version. Then I tried to install qt 5.7.1.
After a few issues because I didn't delate qt5.5 before installing the new one, I saw on a forum that I had to delate the file qt in /usr/lib/x86_64-linux-gnu.
I tried to reinstall qt5.7.1 but the error message apears: qmake: could not exec 'usr/lib/x86_64-linux-gnu/qt5/bin/qmake' because the install is not creating any qt5 file in usr/lib/x86_64-linux-gnu/
Then I tried the command line : sudo apt-get install qt5-qmake but it says everything is already update.
I lauched the command sudo apt-get --reinstall install qt5-qmake, and then qmake has worked.
But when i launch on my app i have the same issue than before:
Project MESSAGE: Qt version 5.2.1
Project ERROR: Unsupported Qt version, 5.5+ is required
every results correspond to a 5.2.1 version : https://image.noelshack.com/fichiers/2017/29/4/1500551296-capture-du-2017-07-20-13-36-09.png
I have launch " sudo dpkg -i qt5-qmake_5.7.1+dfsg-2ubuntu4~1_amd64.deb" that i had downloaded. But it says i have dependencies problems in qt5-qmake:amd644 =>
in qtchooser (=> 55....) whereas mine is 39...
and in libstdc++6 (>=4.9) whereas mine is 4.8.4...

Regarding to installation of Gsreamer 1.8.0 in ubuntu

Can any one give me the proper guidelines for gstreamer(1.8.0) installation in Ubuntu version 16.04??
Through command line
For installing gstreamer1.0 you can use:
sudo apt-get install libgstreamer1.0-* gstreamer1.0-tools gstreamer1.0-libav*
Depending on what are your needs, you probably are going to need other modules that are not installed in the previous command. I would consider adding:
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
Using next command:
sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
After you have installed all the plugins you can verify the installation using:
gst-inspect-1.0

unable to run mksdcard sdk tool ubuntu 16.04 64bit

I downloded android studio and I tried to install on ubuntu 16.04 64 bit but it has "unable to run mksdcard sdk tool" error.
I checked all solutions but they produce errors too.
Seems that the only package you need is lib32stdc++6 for ubuntu 16.04
sudo apt-get install lib32stdc++6
I just stumbled upon this issue myself.
I guess that you found this topic from 2015?
Well, the given solution is a bit outdated but still pertinent: the 64bit Ubuntu 16.04 is indeed missing the 32bits version of the libraries and the
lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 libraries advised to be installed seems to have been removed from the official repos.
However You can still get them with using this command:
sudo apt-get install libz1:i386 libncurses5:i386 libbz2-1.0:i386 libstdc++6:i386
Then the installer should work just fine
Hope it will be of any help.
take a look at https://developer.android.com/studio/install.html
Select Linux...
Required libraries for 64-bit machines:
If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
If you are running 64-bit Fedora, the command is:
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
For Ubuntu 18.04 and above versions, the following will work
sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Ubuntu18.04

Dart throwing errors on linux: GLIBC_2.14 GLIBC_2.15 not found

I'm running Debian 7.2 on Google Compute Engine (Though I suspect Centos, Red Hat, and Amazon Linux AMI all have the same problem). After downloading the 64-bit Linux version of the Dart SDK from this page, any dart command I run, for example, dart --version, will output the following error:
./editor/dart/dart-sdk/bin/dart: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by ./editor/dart/dart-sdk/bin/dart)
./editor/dart/dart-sdk/bin/dart: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./editor/dart/dart-sdk/bin/dart)
Update: October 2014: Dart can now be installed on Debian with apt-get:
Instructions summarized from the dart website:
# Enable HTTPS for apt.
sudo apt-get update
sudo apt-get install apt-transport-https
# Get the Google Linux package signing key.
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
# Set up the location of the stable repository.
sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
sudo apt-get update
# Finally, install the dart package!
sudo apt-get install dart
Instructions for building the binary yourself:
This problem appears to be caused by Google compiling against an edge version of GLIBC (>= 2.15) which is not generally supported on Linux outside of Ubuntu 12 (Precise Pangolin).
First of all, do not attempt to download an experimental version of GLIBC or EGLIBC. I was able to get dart to work using that method, but the rest of my machine fell apart. Updating GLIBC is a recipe for madness.
Instead, the best solution is building dart from source. Despite the GLIBC version requirements of the binary, the source itself has no such requirements. There are wiki pages for installing from source on debian, centos/fedora/red hat/amazon, ubuntu, and other linux versions.
Here is an overview of those steps, which I can confirm works on Debian 7.2. The centos/fedora/redhat steps appear to be the same except they use yum instead of apt-get.
Install subversion and the required build tools:
sudo apt-get -y update
sudo apt-get -y install subversion
sudo apt-get -y install make
sudo apt-get -y install g++
sudo apt-get -y install openjdk-6-jdk
Check out google's depot tools and add gclient to your path
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
export PATH=$PATH:`pwd`/depot_tools
Download the dart source at the desired branch.
Replace 1.2 with whatever branch you wish to build. You can see a list of available versions here. In general, the latest numbered branch is best.
gclient config http://dart.googlecode.com/svn/branches/1.2/deps/all.deps
gclient sync
gclient runhooks
Move into the new dart directory
cd dart
Do only A or B below:
Note: For 32bit, use the --arch=ia32 flag instead.
A. Build the entire Dart SDK including pub, dart2js, dart, etc.:
tools/build.py --mode=release --arch=x64 create_sdk
B. Build just the dart executable:
tools/build.py --mode=release --arch=x64 runtime
The dart executable is now at either out/ReleaseX64/dart or out/ReleaseX64/dart-sdk/bin/dart you can do a smoke test by printing the version
dart/out/ReleaseX64/dart --version
The output should be something like Dart VM version: 1.2.0 (Mon Mar 3 03:06:20 2014) on "linux_x64".
How to help fix this issue
This was much more painful than it needed to be, since the binary clearly doesn't need to be built using GLIBC >= 2.15. If you wish to draw attention to this issue, please star this dart bug.

Error message when setting up ADT in Linux

I installed Ubuntu 11.10, installed GNOME 3 (replaced Unity), installed Eclipse from the Ubuntu Software Center, installed the android sdk and ADT.
Now when I start eclipse I get a message saying:
Failed to get ADB version : Cannot run program
/home/ayush/android-sdk/platform-tools/adb":java.io.IOException:error=2,
No such file or directory
What is causing this error and how do I fix it?
The command to install IA32 libraries on Ubuntu is:
apt-get install ia32-libs
sudo dpkg --add-architecture i386
sudo apt-get update
apt-get install ia32-libs
Before that please check your ubuntu version. if you are running with 64 bits, you need to install a linux emulator, IA32 bit I thinks. Verify on Google.
after that, your ADB can run easily on ubuntu.
I'm using Fedora 17 and I got the same error as the poster:
[2013-08-29 21:44:08 - adb] Unexpected exception 'Cannot run program
"/home/el/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb":
error=2, No such file or directory' while attempting to get adb version from
'/home/el/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb'
I know this works if you are using Fedora 17/18 (login as root)
yum install redhat-lsb.i686
And then restart the IDE and the errors no longer show.
I had the exact same error as you had, but on my Ubuntu 12.04 LTS version.
The following avoided that error for me:
1) Install 'adb' and 'fastboot' provided by the following third-party PPA.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
2) Replace the copy of 'adb' and 'fastboot' provided by the official Android SDK with those installed from the above step:
cp /usr/bin/adb <path-to-your-adt-sdk-package>/sdk/platform-tools/adb
cp /usr/bin/fastboot <path-to-your-adt-sdk-package>/sdk/platform-tools/fastboot
3) Restart(re-execute) your eclipse binary.
Full credits:
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
They have the binaries for 12.10, 11.10 and 11.04 as well.
Don't try to install ia32-libs, this library has been obsoleted.
So, you should install these libraries:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
Cheers

Resources