[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling version 0.50



On Mon, 31 Jan 2000, David Rowlands wrote:

> Hello,
> 
> I'm trying to compile version 0.50 under mandrake 7.0 - however the compile fails when trying to compile Xarchon_Problem.cpp with the errors
> Problem.hpp:4: queue: no such file or directoy
> Problem.hpp:5: list: no such file or directoy.
> Problem.hpp is include 2 files called queue and list which don't appear to be on my system.
> Any suggestions?
> 

You are probably missing the standard C++ library (libstdc++) or have a
too old one installed.

list and queue are located (in my RedHat 5.1 Linux box) in
/usr/include/g++ , which is automatically included by gcc / egcs in the
include path.

Check if you have the libstc++ packages (both lib and devel) installed.

The command

rpm -q -a | grep std

should output something like:

libstdc++-2.8.0-8
libstdc++-devel-2.8.0-8

(of course versions may be different and Mandrake systems usually include
the "mdk" string along with the version).

My guess is that you have the first package installed but not the second
(which contains the include files). Get the Mandrake CD, go into the RPMS
directory as root and do a "rpm -i" on the libstdc++-devel-<version>.rpm

Good luck.

.........................................................................
          Felipe Paulo Guazzi Bergo, undergradute in Computer Engineering
        guazzibe@dcc.unicamp.br || bergo@seul.org || bergo@linuxstart.com
                                 Unicamp - Campinas - SP - Brazil - Earth
  
* Simple End User Linux Project - www.seul.org *