Slackware 14.2 multilib - Telepathy-Qt fails to build - Error 2: recipe for target 'all' failed
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Slackware 14.2 multilib - Telepathy-Qt fails to build - Error 2: recipe for target 'all' failed
Hello i was trying to install the current version of the package Telepathy-Qt available here. All dependencies seem to be satisfied. When i begin building the package i encounter:
Code:
[ 11%] Building CXX object TelepathyQt/CMakeFiles/telepathy-qt4-service.dir/base-channel.cpp.o
In file included from /tmp/SBo/telepathy-qt-0.9.6.1/TelepathyQt/base-channel.cpp:29:0:
/tmp/SBo/telepathy-qt-0.9.6.1/TelepathyQt/future-internal.h:26:47: fatal error: TelepathyQt/_gen/future-constants.h: No such file or directory
compilation terminated.
TelepathyQt/CMakeFiles/telepathy-qt4-service.dir/build.make:182: recipe for target 'TelepathyQt/CMakeFiles/telepathy-qt4-service.dir/base-channel.cpp.o' failed
make[2]: *** [TelepathyQt/CMakeFiles/telepathy-qt4-service.dir/base-channel.cpp.o] Error 1
CMakeFiles/Makefile2:5232: recipe for target 'TelepathyQt/CMakeFiles/telepathy-qt4-service.dir/all' failed
make[1]: *** [TelepathyQt/CMakeFiles/telepathy-qt4-service.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
The Multilib Way, with all respect for Eric's hard work, is basically just dumping Slackware (i586) and Slackware x86_64 in the same bin and mixing energetically the result.
Simplify your life and create (secondary) clean installations for both Slackware (i586) and Slackware x86_64, then compile on them as you wish.
Quote:
Originally Posted by glupa4e
Any idea what i could be missing or doing wrong?
The fantasy that you can dump two different operating systems in the same partition, and even to do compilations.
Last edited by Darth Vader; 07-04-2017 at 04:22 PM.
glupa4e, could you try editing the SlackBuild so it says 'make -j1' at line 89 instead of just 'make'?
And if that still fails, could you please put the complete log on a pastebin site somewhere?
(_gen/future-constants.h should have been created as the second thing built by the MakeFile, and base-channel.cpp.o should not be built until much later, "54%" according to my test build.)
glupa4e, could you try editing the SlackBuild so it says 'make -j1' at line 89 instead of just 'make'?
And if that still fails, could you please put the complete log on a pastebin site somewhere?
(_gen/future-constants.h should have been created as the second thing built by the MakeFile, and base-channel.cpp.o should not be built until much later, "54%" according to my test build.)
Hi 55020,
i tried what you suggested. The build failed again. Full log of the error can be found as you wished here.
thanks!
Ok I've just built telepathy-qt-0.9.6.1 on 14.2 with multilib, and it built ok just like RadicalDreamer on -current.
My only suggestion is to make sure you have a full, clean, up-to-date installation. I wonder what version of make you have installed? And your log shows that you have out-of-date versions of python (2.7.11) and pkg-config (0.29.1). Both these packages and many more have been patched in the 14.2 stable branch.
Hi phenixia2003,
i am sorry i have no idea what those commits mean and how i could patch my installation. Could you help me understand what i need to do?
Ok I've just built telepathy-qt-0.9.6.1 on 14.2 with multilib, and it built ok just like RadicalDreamer on -current.
My only suggestion is to make sure you have a full, clean, up-to-date installation. I wonder what version of make you have installed? And your log shows that you have out-of-date versions of python (2.7.11) and pkg-config (0.29.1). Both these packages and many more have been patched in the 14.2 stable branch.
Hi 55020,
when i initially installed Slackware 14.2 64 i performed a full installation. I do not know what you mean by clean but after the initial installation i have done some upgrades but as i am having problems (some packages fail to build) i do not upgrade everything.
So you say i have outdated packages. Could you please point me how to check for the version of the packages i have and where to download a recent version for those ones. I found nothing what you listed on slackware.uk.
when i initially installed Slackware 14.2 64 i performed a full installation. I do not know what you mean by clean but after the initial installation i have done some upgrades but as i am having problems (some packages fail to build) i do not upgrade everything.
So you say i have outdated packages. Could you please point me how to check for the version of the packages i have and where to download a recent version for those ones. I found nothing what you listed on slackware.uk.
Do you use slackpkg? If so,
Code:
slackpkg update && slackpkg upgrade-all
should ensure that everything is up-to-date. If you have removed packages after installing, you can try:
Code:
slackpkg install slackware64
which will bring up a list of anything from a full installation that is not on your system.
EDIT: I forgot to mention, you should also check /etc/slackpkg/blacklist, as anything in that file will be ignored when you run slackpkg.
Last edited by montagdude; 07-07-2017 at 01:12 PM.
Hi phenixia2003,
i am sorry i have no idea what those commits mean and how i could patch my installation. Could you help me understand what i need to do?
I don't need telepathy-qt nor any of the prerequisites as far as I know, but it sure looks like your HOWTO will work just fine.
The prerequisites look harmless-enough to install on Slackware64 14.2 + Multilib ... I am simply too lazy to install and maintain the additional Packages
Q1: Based on the $-prompt, you execute your SBo SlackBuilds as a non-root user.
Does that always work ?
I did not know I could execute SBo SlackBuilds as non-root. If so, I am changing my evil, log in as root ways in order to execute SBo SlackBuilds !
Q2: ( OT, LQ Question ) How did you embed the patch.txt file links in the body of your Post without an attachment list below your signature ?
That is a very nice format -- very clean and easy to follow.
Thanks again !
-- kjh
Last edited by kjhambrick; 07-08-2017 at 10:12 AM.
Reason: grammar
Q1: Based on the $-prompt, you execute your SBo SlackBuilds as a non-root user.
No, SeB's post shows the SlackBuild itself being patched by a non-root user before execution, but it doesn't show how SeB executes the SlackBuild.
Despite that, you can, if you want to, use fakeroot to run SBo SlackBuilds as a non-root user.
Quote:
Originally Posted by kjhambrick
Does that always work ?
I did not know I could execute SBo SlackBuilds as non-root. If so, I am changing my evil, log in as root ways in order to execute SBo SlackBuilds !
No, it doesn't always work. I wouldn't describe using root as evil, and I wouldn't particularly recommend using fakeroot. (Specifically, I use it when I review submissions and updates so you don't have to.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.