[SOLVED] Sony Vaio Control Center No rule to make target /qmake.conf', needed by 'Makefile'. Stop.
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
moc_main_window.cpp:14:2: error: #error "This file was generated using the moc from 4.7.2. It"
Please read the 'Makefile' : Options = make all, make mocclean, etc.
'make mocclean' will delete the (year 2011) qt-4.7.2 generated file.
... And some action should theoretically generate a new moc_main_window.cpp with moc v4.8.7, from vcc/{files}
this is how it works: target is a file to create, prerequisite (or dependency) which should be available to be able to create the current target and rule (or receipt) is the command to construct the target itself.
in general you execute make all, which will create all you need including its dependencies.
Running make all gives me errors.
Trying the commands that you used knudfl returns no such file or dir.
Code:
[linuxcat@localhost Downloads]$ make all
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
[linuxcat@localhost Downloads]$ cd .VCC/ && qmake-qt4 && mocclean && make
bash: cd: .VCC/: No such file or directory
[linuxcat@localhost Downloads]$ cd ~/.VCC && qmake-qt4 && mocclean && make
bash: mocclean: command not found
[linuxcat@localhost .VCC]$
Thank you for your time but I'm just not getting it:-
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #25.
cd .VCC/ && ./run : Where 'run' is one line = ./vaio-control-center
Please read the file 'run'.
About $ make install : Please try, and the reply probably is "Nothing to be done for 'install' ".
If you want 'vaio-control-center' in a system PATH, suggest : # cp vaio-control-center /usr/local/bin/
[root@localhost Downloads]# ./run
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
open_file: can't open /sys/devices/platform/sony-laptop/battery_charge_limiter: No such file or directory
[root@localhost Downloads]# ./vaio-control-center
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
open_file: can't open /sys/devices/platform/sony-laptop/battery_charge_limiter: No such file or directory
[root@localhost Downloads]# cd .VCC/ && ./run
bash: cd: .VCC/: No such file or directory
Running 'make install' gave me exactly what you said it would. Nothing to be done for install.
I read the run file and the only argument that is in it is:
#./vaio-control-center
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #27.
You have "extra errors" :
"Authentication Rejected, reason : None of the authentication protocols specified are supported .. "
... may be because of running the start command as root.
Please try : $ ./run (i.e. as unprivileged user.)
Quote:
can't open /sys/devices/platform/sony-laptop/battery_charge_limiter: No such file or directory
Obviously a missing part of "vaio-control-center", or a missing auxiliary application.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.