LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   compilers and adding/removing programs (https://www.linuxquestions.org/questions/fedora-35/compilers-and-adding-removing-programs-300165/)

spartn119 03-10-2005 06:12 PM

compilers and adding/removing programs
 
hello everyone! i've been downloading tarballs for various programs i want to use, but when compiling i get a error message:
Code:

checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

i can't compile anything i've gotten. Im using FC3 and i've only seen one or two other posts on it. The one where one person replied said to install the default one through the install disks...so i tried that butim missing a bunch of packages and i can't figure out how to install them, so it won't let me run anything off of the CD. Anyone have any advice?
Oh yeah, i forgot to mention that i've used yum to install just about everything having to do with c++

{BBI}Nexus{BBI} 03-10-2005 07:25 PM

Looks like you're still missing some development libraries, installing all devel libraries might help.

spartn119 03-10-2005 08:10 PM

well thats what im trying to find out...how do i go about installing new libraries/finding what libraries needed to be installed?

cyborg_jt 03-15-2005 01:13 AM

hey im getting the same message, I can't compile anything :(

misc 03-15-2005 03:32 AM

You're missing at least the gcc-c++ package.

whansard 03-15-2005 03:59 AM

sometimes you can find out what libraries you need from the readme in whatever you are trying to compile. often not. I just try to configure something, and usually it will tell me what it needs. usually configure will say, so and so file not found. if you're just starting compiling stuff, you'll probably have to google sometimes to find out what package the file is part of.
with most distributions, the actual library or executable stuff is seperate from the header files you need to compile stuff. they will call the package something-devel. You need the same version of devel as the package you have installed for stuff to work.


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