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: 2006.0 Gentoo Linux (gentoo-sources-2.6.15-r1)
Posts: 23
Rep:
cant install opebox, errors help
Code:
Making all in src
make[2]: Entering directory `/home/swooshonln/openbox-2.2.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DNDEBUG -I/usr/X11R6/include -I/usr/inclu
de/freetype2 -I/usr/include/freetype2/config -DLOCALEPATH=\"/usr/local/share/ope
nbox/nls\" -DBUTTONSDIR=\"/usr/local/share/openbox/buttons\" -DDEFAULTMENU=\"/us
r/local/share/openbox/menu\" -DDEFAULTSTYLE=\"/usr/local/share/openbox/styles/mb
dtex\" -g -O2 -I/usr/X11R6/include -Wall -W -MT Configuration.o -MD -MP -MF ".
deps/Configuration.Tpo" \
-c -o Configuration.o `test -f 'Configuration.cc' || echo './'`Configuration.c
c; \
then mv ".deps/Configuration.Tpo" ".deps/Configuration.Po"; \
else rm -f ".deps/Configuration.Tpo"; exit 1; \
fi
Configuration.cc: In member function `void Configuration::save()':
Configuration.cc:77: error: `assert' undeclared (first use this function)
Configuration.cc:77: error: (Each undeclared identifier is reported only once
for each function it appears in.)
Configuration.cc: In member function `void Configuration::create()':
Configuration.cc:104: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `void Configuration::setValue(const
std::string&, bool)':
Configuration.cc:108: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `void Configuration::setValue(const
std::string&, long unsigned int)':
Configuration.cc:120: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `void Configuration::setValue(const
std::string&, long int)':
Configuration.cc:131: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `void Configuration::setValue(const
std::string&, const char*)':
Configuration.cc:142: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `void Configuration::setValue(const
std::string&, const std::string&)':
Configuration.cc:154: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `bool Configuration::getValue(const
std::string&, bool&) const':
Configuration.cc:165: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `bool Configuration::getValue(const
std::string&, long int&) const':
Configuration.cc:183: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `bool Configuration::getValue(const
std::string&, long unsigned int&) const':
Configuration.cc:200: error: `assert' undeclared (first use this function)
Configuration.cc: In member function `bool Configuration::getValue(const
std::string&, std::string&) const':
Configuration.cc:218: error: `assert' undeclared (first use this function)
make[2]: *** [Configuration.o] Error 1
make[2]: Leaving directory `/home/swooshonln/openbox-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/swooshonln/openbox-2.2.3'
make: *** [all] Error 2
root@slacker:/home/swooshonln/openbox-2.2.3#
./configure and "make" run sucessfully. however, when I run 'make install' i get those errors at the end. Any ideas? I have downloaed all the necessary deps listed on the Freshmeat website. (I am running as root)
Last edited by swooshonln; 04-26-2006 at 03:33 PM.
What happens if you type "make check" or "make test"? 'assert' being undeclared means there's some kind of strange issue involving the C library headers. Can you look to see if you have /usr/include/assert.h?
openbox as in icculus.org? Then 2.2.3 is *very* old. I just looked through the source tarball, and there were exactly zero c++-files (which typicall end in .cpp, .cc, .c++, .cxx or something else different from .c). So, grab a newer version.
If you're hell-bent on using that version, have a look inside Configuration.cc; near the top, there should be a bunch of lines saying "#include <something>"; add a line where "something" is "assert.h", and try again. If that doesn't work, go get newer version :P
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.