[root@air092 root]# cd htdig-3.1.6
[root@air092 htdig-3.1.6]# ls
acconfig.h  config.cache  contrib   htdoc     htsearch                    libstdc++-3.3.2-1.i386.rpm        Makefile.in
aclocal.m4  CONFIG.in     COPYING   htfuzzy   include                     libstdc++-devel-3.2.2-5.i386.rpm  mkinstalldirs
ChangeLog   config.log    db        htlib     installdir                  lookfor                           README
confdefs.h  configure     htcommon  htmerge   install-sh                  makedp.in
CONFIG      configure.in  htdig     htnotify  libstdc++-3.2.2-5.i386.rpm  Makefile.config.in
[root@air092 htdig-3.1.6]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
configuring ht://Dig version 3.1.6
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
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 ranlib... ranlib
checking for ar... /usr/bin/ar
checking for sh... /bin/sh
checking for sed... /bin/sed
checking for sort... /bin/sort
checking for find... /usr/bin/find
checking for gunzip... /bin/gunzip
checking for tar... tar
checking for acroread... /usr/local/bin/acroread
checking for sendmail... /usr/sbin/sendmail
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for socket in -lsocket... no
checking for t_accept in -lnsl... no
checking for deflate in -lz... no
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking how to run the C++ preprocessor... c++ -E
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for getopt.h... yes
checking for strings.h... yes
checking for zlib.h... no
checking for alloca.h... yes
checking for sys/select.h... yes
checking for wait.h... yes
checking for sys/wait.h... yes
checking for malloc.h... (cached) yes
checking for ostream.h... no
checking for iostream.h... no
checking for fstream.h... no
configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++.
[root@air092 htdig-3.1.6]#
 
 
 
-------------------------------------------
 
 
 
[root@air092 htdig-3.1.6]# rpm -qa
hwdata-0.75-1
filesystem-2.2.1-3
chkconfig-1.3.8-1
db4-4.0.14-20
elfutils-libelf-0.76-3
gdbm-1.8.0-20
glib2-2.2.1-1
hdparm-5.2-4
libattr-2.2.0-1
mingetty-1.01-1
mount-2.11y-9
pcre-3.9-10
setserial-2.17-12
slang-1.4.5-16
termcap-11.0.1-16
lvm-1.0.3-12
ncurses-5.3-4
psmisc-21.2-4
redhat-release-9-3
usbutils-0.9-10
words-2-21
zlib-1.1.4-8
info-4.3-5
ed-0.2-31
gawk-3.1.1-9
coreutils-4.5.3-19
grub-0.93-4
readline-4.3-5
pyxf86config-0.3.5-1
rpm-4.2-0.69
dev-3.3.2-5
authconfig-4.3.4-1
sysklogd-1.4.1-12
tar-1.13.25-11
util-linux-2.11y-9
vim-minimal-6.1-29
initscripts-7.14-1
cyrus-sasl-2.1.10-4
openldap-2.0.27-8
passwd-0.68-3
kbd-1.08-4
apmd-3.0.2-18
attr-2.2.0-1
bind-utils-9.2.1-16
crontabs-1.10-5
dhclient-3.0pl1-23
devlabel-0.26.08-3
dosfstools-2.8-6
ethtool-1.6-5
ftp-0.17-17
hesiod-3.0.2-26
iptables-1.2.7a-2
lftp-2.6.3-3
libtool-libs-1.4.3-5
lockdev-1.0.0-23
lokkit-0.50-22
lsof-4.63-4
mailx-8.1.1-28
man-1.5k-6
mt-st-0.7-10
mtr-0.52-2
ntsysv-1.3.8-1
pax-3.0-6
pinfo-0.6.6-4
procmail-3.22-9
aspell-0.33.7.1-21
python-optik-1.4-2
rdist-6.1.5-26
rhnlib-1.0-4
dump-0.4b28-7
rsh-0.17-14
setuptool-1.12-1
specspo-9.0-1
statserial-1.1-32
talk-0.17-20
stunnel-4.04-3
tcsh-6.12-4
time-1.7-21
traceroute-1.4a12-9
utempter-0.5.2-16
vixie-cron-3.0.1-74
wget-1.8.2-9
freetype-2.1.3-6
libjpeg-6b-26
libtiff-3.5.7-11
curl-7.9.8-5
hwcrypto-1.0-14
perl-Filter-1.29-3
webalizer-2.01_10-11
m4-1.4.1-13
perl-DateManip-5.40-30
perl-HTML-Parser-3.26-17
perl-URI-1.21-7
perl-XML-Parser-2.31-15
perl-XML-Dumper-0.4-25
perl-libxml-enno-1.02-29
perl-XML-Twig-3.09-3
PyXML-0.7.1-9
redhat-menus-0.38-1
bind-9.2.1-16
libIDL-0.8.0-7
libcap-1.10-15
libvorbis-1.0-7
ntp-4.1.2-0.rc1.2
binutils-2.13.90.0.18-9
glibc-kernheaders-2.4-8.10
libmng-1.0.4-3
cipe-1.4.5-16
iptraf-2.7.0-6
libtabe-devel-0.2.6-3
net-snmp-5.0.6-17
perl-DB_File-1.804-88
perl-DBD-MySQL-2.1021-3
perl-NKF-1.71-10
postgresql-libs-7.3.2-3
postgresql-7.3.2-3
screen-3.9.13-5
skkdic-20030211-1
comps-9-0.20030313
tomcat4-4.1.24-full.2jpp
tomcat4-admin-webapps-4.1.24-full.2jpp
gpg-pubkey-db42a60e-37ea5438
glibc-common-2.3.2-27.9
bash-2.05b-20.1
kernel-2.4.20-20.9
glibc-devel-2.3.2-27.9
httpd-manual-2.0.40-21.5
mod_ssl-2.0.40-21.5
nfs-utils-1.0.1-3.9
openssh-clients-3.5p1-6.9
pam_smb-1.1.6-9.9
php-ldap-4.2.2-17.2
postfix-1.1.12-1
tcpdump-3.7.2-1.9.1
xinetd-2.3.11-1.9.0
openssl-0.9.7a-20
perl-CGI-2.81-88.3
mysql-server-3.23.58-1.9
courier-imap-1.7.3-32psa.rh9
psa-proftpd-1.2.8-rh9.build031023.13
psa-logrotate-3.6.6-3.rh9
psa-6.0.2-rh9.build031023.13
perl-Font-AFM-1.18-22psa
perl-HTML-Format-1.23-22psa
perl-MLDBM-2.01-22psa
perl-Apache-ASP-2.49-22psa
mod_webapp-4.1.24-3psa.rh9
php-pgsql-4.2.2-17.2
XFree86-libs-data-4.3.0-2
XFree86-libs-4.3.0-2
XFree86-Mesa-libGL-4.3.0-2
linkchecker-1.9.5-1
htdig-3.2.0-19.20030601
libgcc-3.3.2-1
libstdc++-devel-3.2.2-5
setup-2.5.25-1
basesystem-8.0-2
bzip2-libs-1.0.2-8
cracklib-2.7-21
e2fsprogs-1.32-6
expat-1.95.5-2
glib-1.2.10-10
gmp-4.1.2-2
iputils-20020927-2
libacl-2.2.3-1
losetup-2.11y-9
mktemp-1.5-18
net-tools-1.60-12
popt-1.8-0.69
shadow-utils-4.0.3-6
newt-0.51.4-1
libtermcap-2.0.8-35
iproute-2.4.7-7
MAKEDEV-3.3.2-5
less-378-7
raidtools-1.00.3-2
rootfiles-7.2-6
hotplug-2002_04_01-17
cracklib-dicts-2.7-21
file-3.39-9
cpio-2.5-3
findutils-4.1.7-9
grep-2.5.1-7
ash-0.3.8-8
gzip-1.3.3-9
modutils-2.4.22-8
procps-2.0.11-6
python-2.2.2-26
sed-4.0.5-1
pam-0.75-48
kudzu-0.99.99-1
SysVinit-2.84-13
mkinitrd-3.4.42-1
vim-common-6.1-29
which-2.14-5
kernel-2.4.20-8
cyrus-sasl-md5-2.1.10-4
libuser-0.51.7-1
usermode-1.67-2
acl-2.2.3-1
at-3.1.8-33
bc-1.06-12
bzip2-1.0.2-8
cyrus-sasl-plain-2.1.10-4
diffutils-2.8.1-6
dos2unix-3.1-15
elfutils-0.76-3
finger-0.17-16
gpm-1.19.3-27
autofs-3.1.7-36
krbafs-1.1.1-9
lha-1.14i-9
groff-1.18.1-20
libwvstreams-3.70-8
logrotate-3.6.8-1
lrzsz-0.12.20-16
mailcap-2.1.13-1
make-3.79.1-17
man-pages-1.53-3
mtools-3.9.8-7
netconfig-0.8.14-2
nss_ldap-202-5
pam_krb5-1.60-1
parted-1.6.3-11
pciutils-2.1.10-7
fbset-2.1-13
logwatch-4.3.1-2
ppp-2.4.1-10
pspell-0.12.2-16
pyOpenSSL-0.5.1-8
rdate-1.3-2
reiserfs-utils-3.6.4-5
rmt-0.4b28-7
rpm-python-4.2-0.69
rsync-2.5.5-4
slocate-2.6-8
star-1.5a08-4
sudo-1.6.6-3
tcp_wrappers-7.6-34
portmap-4.0-54
quota-3.06-9
telnet-0.17-25
tmpwatch-2.8.4-5
unix2dos-2.2-19
vconfig-1.6-2
anacron-2.3-25
zip-2.3-16
fontconfig-2.1-9
libpng-1.2.2-16
libxml2-2.5.4-1
gd-1.8.4-11
mod_perl-1.99_07-5
mod_python-3.0.1-3
libxslt-1.0.27-3
mpage-2.5.3-3
perl-HTML-Tagset-3.03-28
perl-Parse-Yapp-1.05-30
perl-libwww-perl-5.65-6
perl-libxml-perl-0.07-28
perl-XML-Encoding-1.01-23
perl-XML-Grove-0.46alpha-25
pnm2ppa-1.04-7
4Suite-0.11.1-13
htmlview-2.0.0-10
atk-1.2.0-2
fam-2.6.8-9
comps-extras-8.0.94-1
libogg-1.0-4
libxml-1.8.17-8
sox-12.17.3-11
cpp-3.2.2-5
gcc-3.2.2-5
h2ps-2.06-8
libpcap-0.7.2-1
libtabe-0.2.6-3
perl-DBI-1.32-5
perl-File-MMagic-1.16-3
perl-DBD-Pg-1.21-2
postgresql-server-7.3.2-3
sharutils-4.2.1-14
talk-server-0.17-20
j2sdk-1.4.1_01-fcs
tomcat4-webapps-4.1.24-full.2jpp
up2date-3.1.23.2-1
glibc-2.3.2-27.9
krb5-libs-1.2.7-14
httpd-2.0.40-21.5
php-4.2.2-17.2
openssh-3.5p1-6.9
gnupg-1.2.1-4
lv-4.49.4-9.9.1
nscd-2.3.2-27.9
openssh-server-3.5p1-6.9
php-imap-4.2.2-17.2
php-mysql-4.2.2-17.2
rhpl-0.93.4-1
unzip-5.50-33
mailman-2.1.1-4
perl-5.8.0-88.3
mysql-3.23.58-1.9
psa-qmail-1.03-rh9.build031020.22
psa-courier-imap-add-6.0.2-rh9.build031020.22
psa-proftpd-xinetd-1.2.8-rh9.build031023.13
psa-locale-6.0.2-rh9.build031020.22
frontpage-5.0-32psa.rh9
perl-FreezeThaw-0.43-22psa
perl-HTML-Tree-3.16-22psa
perl-MLDBM-Sync-0.30-22psa
psa-qmail-rblsmtpd-0.70-rh9.build031020.22
psa-tomcat-configurator-6.0.2-rh9.build031020.22
XFree86-Mesa-libGLU-4.3.0-2
ImageMagick-5.5.7-10
mysql-devel-3.23.58-1.9
gcc-c++-3.2.2-5
libstdc++-3.2.2-5
[root@air092 htdig-3.1.6]#
 
 
 
-------------------------------------------
 
 
 
[root@air092 htdig-3.1.6]# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[root@air092 htdig-3.1.6]# c++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[root@air092 htdig-3.1.6]#
 
 
 
--------------------------------------------
 
I'm absolutely a newbie.
 
I have installed gcc-c++-3.2.2-5  and libstdc++-3.2.2-5 with 2 simple rpm without any more.

I do not understand. I' have libstdc++-3.2.2-5 installed. I see it in rpm listing. Please. Help me.