[SOLVED] no luck with libc++ on -current: xlocale.h missing
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.
no luck with libc++ on -current: xlocale.h missing
I tried to install libc++ from SBO which is now a dependency for discord. I'm on -current.
I found libc++ has a dependency on Sphinx, which in turn has 10 named dependencies (plus one subdependency) in the .info file, plus 5 unnamed dependencies. I built & installed all of these.
The build breaks with
Code:
[ 50%] Building CXX object projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/algorithm.cpp.o
In file included from /tmp/SBo/llvm-3.8.0/projects/libcxx/src/algorithm.cpp:11:
In file included from /tmp/SBo/llvm-3.8.0/projects/libcxx/include/random:1646:
In file included from /tmp/SBo/llvm-3.8.0/projects/libcxx/include/istream:163:
In file included from /tmp/SBo/llvm-3.8.0/projects/libcxx/include/ostream:138:
In file included from /tmp/SBo/llvm-3.8.0/projects/libcxx/include/ios:216:
/tmp/SBo/llvm-3.8.0/projects/libcxx/include/__locale:39:11: fatal error: 'xlocale.h' file not found
# include <xlocale.h>
^~~~~~~~~~~
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?:
Does anyone know what package "xlocale.h" belongs to? Or how to compile libc++?
things are changed since last august: you don't need to explicitly install libc++ in slackware current now, as it has been already included as part of the llvm package (on december 22nd).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.