Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Daniel on January 10, 2002, 09:16:20 PM

Title: What is STL ?
Post by: Daniel on January 10, 2002, 09:16:20 PM
[root@linux01 /botirc]# ./configure                                             loading cache ./config.cache
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for STL support... no
configure: error: Sorry, you need STL support with your compiler
[root@linux01 /botirc]#


Hi! i tried to install the apps from redhat.com u wrote on your FAQ

But now i sais something with STL ??

Daniel
Title: Re: What is STL ?
Post by: Dan Brown on January 10, 2002, 09:21:44 PM
No idea--try checking the docs that came with the software you're trying to compile.
Title: Re: What is STL ?
Post by: Damien Curtain on January 10, 2002, 11:51:33 PM
Dan Brown wrote:
>
> No idea--try checking the docs that came with the software
> you're trying to compile.

Its the standard template library which is a component of the c++ standard library.

Comes from the libstdc++-devel package IIRC.
--
 Damien
Title: Re: What is STL ?
Post by: Daniel on January 11, 2002, 12:32:20 AM
[root@linux01 /root]# rpm -ivh libstdc++-devel-2.96-85.i386.rpm
Preparing...                ########################################### [100%]
package libstdc++-devel-2.96-85 is already installed
[root@linux01 /root]# rpm -q libstdc++-devel
libstdc++-devel-2.96-85
[root@linux01 /root]# rpm -q libstdc++-devel
libstdc++-devel-2.96-85
[root@linux01 /root]# rpm -q libstdc++-devel
libstdc++-devel-2.96-85
[root@linux01 /root]# rpm -e --nodeps libstdc++-devel
[root@linux01 /root]# rpm -ivh libstdc++-devel-2.96-85.i386.rpm
Preparing...                ########################################### [100%]
   1:libstdc++-devel        ########################################### [100%]
[root@linux01 /root]# cd /
[root@linux01 /]# cd irdbot
bash: cd: irdbot: No such file or directory
[root@linux01 /]# cd ircbot
bash: cd: ircbot: No such file or directory
[root@linux01 /]# ls
bin  boot  bot  botirc  cool  dev  epona-1.4.8  etc  home  ircbot2  lib  lost+found  mnt  opendcd  opt  proc  root  sbin  service  tmp  usr  var
[root@linux01 /]# cd botirc
[root@linux01 /botirc]# ls
aclocal.m4  config.cache  configure     doc       LICENSE      NEWS    scripts  STLport-4.5b8-1.i386.rpm    STRUCTURE
confdefs.h  config.log    configure.in  examples  Makefile.in  README  source   STLport-4.5b8-1.i386.rpm.1
[root@linux01 /botirc]# ./configure
loading cache ./config.cache
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for STL support... no
configure: error: Sorry, you need STL support with your compiler
[root@linux01 /botirc]#


Dont work!!