Re: FC-5 question about gcc, g++



Peter Horst wrote:
I'm trying to compile nmap on a FC-5 system, latest kernel, gcc version:

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)

The nmap configure script fails, saying that I don't have a c++
compiler. If I use ./configure CXX=/usr/bin/gcc it'll get part of the
way through then choke at:

checking whether we are using the GNU C++ compiler... no
checking whether /usr/bin/gcc accepts -g... no
checking dependency style of /usr/bin/gcc... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

What am I missing? Thanks much.

Do you have g++ installed? Seems like not.

which g++ should output /usr/bin/g++ if it doesn't then "yum install
gcc-c++"


--
If swimming is so good for your figure, how do you explain whales?

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Ahead Of Me In Line
    ... because the person speaking only sees the way someone else is affecting ... So you're saying my desire to choke the living shit out of them is ... he is saying you should take some interest in that person first to see ... Then choke the shit out of them. ...
    (rec.food.cooking)
  • Re: Olympic Games @ 64%
    ... : wwd wrote: ... is that saying they expect them to choke? ... Its funny, ...
    (rec.sport.hockey)
  • Stalling at idle ( stop light etc.)
    ... Instead of me saying everything I tried, I'd like help from this NG on what ... I should check or fix. ... Choke is OK. ... Highway driving fine. ...
    (rec.autos.makers.vw.aircooled)
  • Re: Protecting The Ckt Board On A New Furnace From Lightning & Volt. Transients: How ?
    ... A responsible post does not just suggest a solution. ... Saying "A choke is sufficient" is ... >> Every incoming wire must earth surges before that wire can ...
    (alt.home.repair)