[SOLVED] Stuck compiling libc++ - how to apply patch?
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.
The thing is, how do I use it? I've tried searching how to use a patch and found things like "patch -p0 <patchname>' but when I run it the system just sits there doing nothing.
I need it to get discord running, and after seeing the dependency list for libc++ am using sbopkg for the first time ever. Pretty happy so far
You should be using ponce's repo if you're using -current. Regular SBo only is tested against the latest stable (14.2 right now), but ponce maintains a custom repo that tries to keep up with -current. He has a patch for libc++ to deal with xlocale.h up there.
I didn't need a patch when I built it (version 5.0.0) on -current three weeks ago.
Well it doesn't work now I also lost my VPN connection today and random mac address, I've seen this addressed in other questions and will deal with it when I get time.
Code:
3 warnings and 1 error generated.
make[3]: *** [projects/libcxx/lib/CMakeFiles/cxx.dir/build.make:63: projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/algorithm.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:12277: projects/libcxx/lib/CMakeFiles/cxx.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:12252: projects/libcxx/lib/CMakeFiles/install-libcxx.dir/rule] Error 2
make: *** [Makefile:3618: install-libcxx] Error 2
libc++:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?: y
+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo repository for Slackware 14.2
Queue Process: Download, build, and install
libc++:
MD5SUM check for llvm-3.8.0.src.tar.xz ... OK
MD5SUM check for libcxx-3.8.0.src.tar.xz ... OK
MD5SUM check for libcxxabi-3.8.0.src.tar.xz ... OK
Error occurred with build. Please check the log.
+++++++++++++++++++++++++++++++++++++++++++
###########################################
Queue process complete!
###########################################
Press any key to continue:
I'll look into the other recommendations in this thread and report back.
it cannot because you are still using the 14.2 repository with sbopkg (and it looks like you are on current): see the first answer you got in this topic
Quote:
Originally Posted by bassmadrigal
You should be using ponce's repo if you're using -current. Regular SBo only is tested against the latest stable (14.2 right now), but ponce maintains a custom repo that tries to keep up with -current. He has a patch for libc++ to deal with xlocale.h up there.
it cannot because you are still using the 14.2 repository with sbopkg (and it looks like you are on current): see the first answer you got in this topic
Thanks, I know and I will.. as I said in my prior message.. "I'll look into the other recommendations in this thread and report back." Other things going on at the moment.
Special thanks to Orbea in explaining how things actually work.
Also thanks to Bass for the links. I didn't do it that way but have upgraded my sbopkg.conf accordingly, so in the future it will be referencing current. As I mentioned, sbopkg is new to me (normally grabbing a few dependencies is no big deal) but great to know some of the larger packages can be handled automagically.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.