Click to See Complete Forum and Search --> : gcc not working (another one)


diamond.23
01-22-2001, 12:24 AM
Along the same lines as: http://www.linuxnewbie.org/ubb/Forum14/HTML/000702.html

I am attempting to install ntop, but it says my gcc cannot create executables. This occurs becuase it cant find even stdio.c!

Heres the interesting bit:
# rpm -qa | grep libstdc++
libstdc++-2.96-69
libstdc++-2.96-69

but i cant rpm -e it! I would like to reinstall a version of libstdc, please help?

klamath
01-22-2001, 01:13 AM
If you would read my post in the reference thread, I said that you won't need libstdc++, because that is a C++ library, while stdio.h is part of the Standard C Library. Install glibc2-dev or libc6-dev, depending on your distro.

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)

diamond.23
01-23-2001, 10:57 PM
Phase two of installation:

checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

now what?