Compiling on FC4?

Help
Brian W
2005-08-08
2013-03-21
  • Brian W

    Brian W - 2005-08-08

    Has anyone managed to compile nget on FC4? I've tried ./configure and CXXFLAGS="-flag-to-enable-exceptions" ./configure with no luck. They both result with the following output.

    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    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 for ranlib... ranlib
    checking for ar... ar
    checking for strip... strip
    checking for a BSD-compatible install... /usr/bin/install -c
    checking attempted use of -fomit-frame-pointer on x86... no
    checking for exception handling support... no
    configure: error: exceptions not supported by your compiler,
    if you need a special flag try CXXFLAGS="-flag-to-enable-exceptions" ./configure

    Here's a few details on the packages I have installed:
    uulib-0.5.20-4
    gcc-4.0.1-4.fc4

    Any help would be appreciated.

    --
    Brian

     
    • Brian W

      Brian W - 2005-08-08

      Sometimes it helps to actually read the message printed to the screen..... DOH!!!

      CXXFLAGS="-fexceptions" ./configure

      That did the trick!

      Hopefully this will help someone else.

      --
      Brian

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks