LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2016, 12:03 AM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Sony Vaio Control Center No rule to make target /qmake.conf', needed by 'Makefile'. Stop.


Last week I hit a key on my keyboard and the backlight stopped working. It still lights up when the laptop boots but it doesn't light up like it should when I type any key.This is a Sony SVE 151190X Enhanced E Series.

I'm trying to install the vaio-control-center that I downloaded from Sorce Forge to fix the problem but something is wrong.
What is it that I need?

Code:
[linuxcat@localhost Downloads]$ mkdir ~/.VCC
mkdir: cannot create directory ‘/home/linuxcat/.VCC’: File exists
[linuxcat@localhost Downloads]$ mv vaio-control-center-0.1.tar.bz2 ~/.VCC
[linuxcat@localhost Downloads]$ cd ~/.VCC
[linuxcat@localhost .VCC]$ tar -xjvf vaio-control-center-0.1.tar.bz2
COPYING
Makefile
compile
moc_main_window.cpp
run
ui_main_window.h
vaio-control-center
vaio-control-center.pro
vcc/
vcc/helpers.c
vcc/helpers.h
vcc/main_window.cpp
vcc/main_window.hpp
vcc/main_window.ui
vcc/vaio-control-center.cpp
[linuxcat@localhost .VCC]$ make -j12
make: *** No rule to make target '/usr/share/qt/mkspecs/linux-g++-64/qmake.conf', needed by 'Makefile'.  Stop.
These are the instructions I am following where it starts more than 1/2 way down the page with Old Post:
Try downloading the Vaio Control Center from SourceForge. The article says for this to work, you MUST have QT Core and QT Dev installed. I checked in the konsole and they are already installed.

http://askubuntu.com/questions/47571...io-svf1521dcxw
 
Old 07-03-2016, 12:17 PM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
From your link (emphasis is mine):
Quote:
Note: For this to work, you MUST have QT Core and QT Dev installed!

Edit (inspired by comment by MGodby): Make sure you have qt4-qmake installed. Also make sure that the conf-file is in /usr/share/qt/mkspecs/linux-g++-64/qmake.conf. If need be, make a symlink to the proper location.
On Debain (and Ubuntu) the qmake.conf file is in usr/share/qt4/mkspecs/linux-g++-64/ so you would need to make a symlink. http://packages.ubuntu.com/trusty/am...qmake/filelist

I guess you could try editing the Makefile.

HTH
 
Old 07-04-2016, 01:12 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Original Poster
Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Looks like I'm going to have to go find the qmake .rpm-

Code:
Package qt-1:4.8.7-18.fc24.x86_64 is already installed, skipping.
No package qmake available.
qt4-devel is installed.

Last edited by Ztcoracat; 07-04-2016 at 01:20 AM.
 
Old 07-04-2016, 02:56 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,487

Rep: Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453
have you checked this: http://www.geopsy.org/wiki/index.php...inary_packages
 
Old 07-04-2016, 04:36 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,104

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
May be the the program is confused because of no plain 'qmake' ?

'qt-devel' provides /usr/bin/qmake-qt4 ... see $ rpm -ql qt-devel





-

Last edited by knudfl; 07-04-2016 at 04:38 AM.
 
1 members found this post helpful.
Old 07-04-2016, 03:11 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Original Poster
Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Quote:
Originally Posted by knudfl View Post
May be the the program is confused because of no plain 'qmake' ?

'qt-devel' provides /usr/bin/qmake-qt4 ... see $ rpm -ql qt-devel



-
I did a dnf search for qt-qmake and it returned:
Code:
qt-qmake.x86_64 Qt for Windows Build Environment
Is that what it's complaining about?

Here's a pic of the vaio control center files that came with the tar.bz2 so you can see what I'm looking at.
http://i1052.photobucket.com/albums/...4_14-57-18.png
 
Old 07-05-2016, 07:23 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,104

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
Re #6.
Quote:
qt-qmake.x86_64 Qt for Windows Build Environment
Not the qmake you have installed. And not an original Fedora package, I think.

The default Qt4 qmake, from 'qt-devel' : /usr/bin/qmake-qt4
And qt5, 'qt5-qtbase-devel' provides /usr/bin/qmake-qt5
....

What I mean is that not all software can decide a qmake when the naming is e.g. qmake-qt4.
Suggest : cd /usr/bin/ ; # ln -s qmake-qt4 qmake


-
 
Old 07-06-2016, 12:17 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Original Poster
Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Created a symbolic link like you suggested.

Code:
[linuxcat@localhost bin]$ su
Password: 
[root@localhost bin]#  ln -s qmake-qt4 qmake
[root@localhost bin]#
Code:
[linuxcat@localhost Downloads]$ ls
compile
COPYING
faac-1.28-7.fc24.x86_64.rpm
gstreamer-plugins-bad-nonfree-0.10.23-3.fc24.x86_64.rpm
Makefile
moc_main_window.cpp
run
ui_main_window.h
vaio-control-center
vaio-control-center-0.1.tar.bz2
vaio-control-center.pro
vcc

[linuxcat@localhost Downloads]$ make -j12
make: *** No rule to make target '/usr/share/qt/mkspecs/linux-g++-64/qmake.conf', needed by 'Makefile'.  Stop.
[linuxcat@localhost Downloads]$ make
make: *** No rule to make target '/usr/share/qt/mkspecs/linux-g++-64/qmake.conf', needed by 'Makefile'.  Stop.
[root@localhost Downloads]# ./vaio-control-center
bash: ./vaio-control-center: /lib/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
What's missing? A qmake configuration file?
 
Old 07-06-2016, 01:22 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,104

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
Re #8.
Quote:
No rule to make target '/usr/share/qt/mkspecs/linux-g++-64/qmake.conf'
# mkdir -p /usr/share/qt/mkspecs/linux-g++-64
cd /usr/share/qt/mkspecs/linux-g++-64/
# ln -s /usr/lib64/qt4/mkspecs/linux-g++-64/qmake.conf



-

Last edited by knudfl; 07-06-2016 at 01:24 PM.
 
1 members found this post helpful.
Old 07-06-2016, 05:21 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Original Poster
Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Code:
[root@localhost linuxcat]# mkdir -p /usr/share/qt/mkspecs/linux-g++-64
[root@localhost linuxcat]# cd /usr/share/qt/mkspecs/linux-g++-64/
[root@localhost linux-g++-64]#  ln -s /usr/lib64/qt4/mkspecs/linux-g++-64/qmake.conf
[root@localhost linux-g++-64]#
Now re-run make -j12 throws an error-:
Quote:
[linuxcat@localhost Downloads]$ make -j12
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ivcc -I. -I. -o main_window.o vcc/main_window.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ivcc -I. -I. -o vaio-control-center.o vcc/vaio-control-center.cpp
make: g++: Command not found
Makefile:225: recipe for target 'main_window.o' failed
make: *** [main_window.o] Error 127
make: *** Waiting for unfinished jobs....
make: g++: Command not found
Makefile:230: recipe for target 'vaio-control-center.o' failed
make: *** [vaio-control-center.o] Error 127
Why?

Last edited by Ztcoracat; 07-06-2016 at 05:28 PM.
 
Old 07-06-2016, 06:42 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,104

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
Quote:
make: g++: Command not found
Please use the "file" search : # dnf provides */g++

Installing the c++ compiler : # dnf install gcc-c++
 
1 members found this post helpful.
Old 07-07-2016, 06:52 AM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Original Poster
Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Thank You.

Code:
Running transaction
  Installing  : libstdc++-devel-6.1.1-3.fc24.x86_64                         1/2 
  Installing  : gcc-c++-6.1.1-3.fc24.x86_64                                 2/2 
  Verifying   : gcc-c++-6.1.1-3.fc24.x86_64                                 1/2 
  Verifying   : libstdc++-devel-6.1.1-3.fc24.x86_64                         2/2 

Installed:
  gcc-c++.x86_64 6.1.1-3.fc24        libstdc++-devel.x86_64 6.1.1-3.fc24
I don't understand what these error mean.

Code:
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ivcc -I. -I. -o moc_main_window.o moc_main_window.cpp
moc_main_window.cpp:14:2: error: #error "This file was generated using the moc from 4.7.2. It"
 #error "This file was generated using the moc from 4.7.2. It"
  ^~~~~
moc_main_window.cpp:15:2: error: #error "cannot be used with the include files from this version of Qt."
 #error "cannot be used with the include files from this version of Qt."
  ^~~~~
moc_main_window.cpp:16:2: error: #error "(The moc has changed too much.)"
 #error "(The moc has changed too much.)"
  ^~~~~
Makefile:233: recipe for target 'moc_main_window.o' failed
make: *** [moc_main_window.o] Error 1
make: *** Waiting for unfinished jobs....
?
 
Old 07-07-2016, 06:55 AM   #13
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,487

Rep: Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453
probably you need to check which qt version is recommended
 
Old 07-07-2016, 07:03 AM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,906
Blog Entries: 14

Original Poster
Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Code:
Installed Packages
qt.x86_64                        1:4.8.7-18.fc24                        @updates
[linuxcat@localhost ~]$ dnf list installed qt-devel
Last metadata expiration check: 2 days, 16:12:43 ago on Mon Jul  4 14:47:31 2016.
Installed Packages
qt-devel.x86_64                     1:4.8.7-18.fc24                     @updates
The man that wrote the article didn't say which version of qt is recommended.
All he said is that "For this to work, you MUST have QT Core and QT Dev installed."
 
Old 07-07-2016, 07:16 AM   #15
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,487

Rep: Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453Reputation: 3453
here you can find some tips, probably usable. http://www.linuxquestions.org/questi...st-qt4-775969/
Also probably another version of qt will work.
 
  


Reply

Tags
sony-vaio-control-center


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] make: *** No rule to make target `caodv/caodv_rquueue.o', needed by `ns'. Stop. maitanaji Linux - Newbie 5 07-18-2014 07:50 AM
MAKEFILE ERROR:' make: *** No rule to make target `MacroCompletudeExe', needed by all ssica Linux - Newbie 5 04-23-2012 11:56 AM
Error in Makefile:No rule to make target `g++',needed by... stop karthik.c Programming 5 03-09-2009 01:55 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 08:25 AM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration