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.
I've been trying to compile newsbeuter-2.3 on a Slackware 11.0
system. I think the problem is an #include <tr1/memory> line. I
have a "boost" package installed from slacky. Have tried
#include <boost/tr1/memory> but compiler can't find that either.
c++ -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -I/usr/local/include -o src/configcontainer.o -c src/configcontainer.cpp
c++ -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -I/usr/local/include -o src/configparser.o -c src/configparser.cpp
c++ -ggdb -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -I/usr/local/include -o src/colormanager.o -c src/colormanager.cpp
In file included from include/formaction.h:6,
from include/feedlist_formaction.h:4,
from src/colormanager.cpp:6:
include/rss.h:12:22: tr1/memory: No such file or directory
In file included from include/formaction.h:6,
from include/feedlist_formaction.h:4,
from src/colormanager.cpp:6:
include/rss.h:84: error: `std::tr1' has not been declared
include/rss.h:84: error: `shared_ptr' has not been declared
include/rss.h:84: error: expected `,' or `...' before '<' token
the TR1 extensions are a relatively recent addition to the g++ library. I'm not sure which version of gcc is included in 11.0, but if its older than 4.3 you almost definitely need a newer g++.
I have gcc-3.4.6 which does not seem to have the TR1 library, which was why I was exploring "boost". I'm building a newer version of Boost-1.38 that should have the TR1 extensions, and that may take as long as 2-3 days. My current boost-1.34.1 does not seem to work eventhough the TR1 stuff is there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.