LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-26-2006, 03:22 PM   #1
swooshonln
LQ Newbie
 
Registered: Apr 2006
Location: USA
Distribution: 2006.0 Gentoo Linux (gentoo-sources-2.6.15-r1)
Posts: 23

Rep: Reputation: 15
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.
 
Old 04-26-2006, 05:07 PM   #2
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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?

What version of gcc are you using?

Peace...
 
Old 04-26-2006, 05:08 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
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

hth --Jonas
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NDISWrapper Install Errors Megatog615 Slackware 7 02-19-2006 01:40 PM
Need help with serious errors during install? BajaNick Linux - General 4 01-09-2005 01:46 PM
Network Install errors during the install steve_f60 Linux - General 0 07-13-2004 05:25 PM
Errors during install of Mandrake 9 dmen Linux - Newbie 3 10-21-2003 06:38 PM
Getting errors on Install cyberkatis Linux - Software 1 02-07-2002 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration