#163 Cannot compile htdig 3.1.6 on Cygwin 1.3.22

open
nobody
htdig (103)
5
2003-05-13
2003-05-13
O. A.
No

Cannot compile htdig 3.1.6 on Cygwin 1.3.22. Running
configure gives the following result:
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++.

I found the fstream.h file in the following directories:
/usr/include/mingw/g++--3/
/usr/include/g++--3/
/usr/include/c++/3.2/backward/

I'm not skilled at c or c++ so I don't know what to do
further.

Mack,
mack@nexc.ro

Discussion

  • Lachlan Andrew
    Lachlan Andrew
    2003-05-17

    Logged In: YES
    user_id=663373

    Try running
    ./configure --includedir=/usr/include/g++-3/
    (However, be aware that there are sometimes problems with
    ht://Dig and gcc version 3.x. Version 2.95 is the
    officially supported version.)

    Please let me know how you get on.

    Cheers,
    Lachlan

     
  • Lachlan Andrew
    Lachlan Andrew
    2003-05-17

    Logged In: YES
    user_id=663373

    Scrap that last suggestion. It has been reported that

    env CPPFLAGS=-Wno-deprecated sh configure

    works. (I'm not sure which shell that person was using.)

    Cheers,
    Lachlan

     
  • O. A.
    O. A.
    2003-05-17

    Logged In: YES
    user_id=611680

    I am using bash. For bash the commands are:
    export CPPFLAGS=-Wno-deprecated
    ./configure

    and it works.

    There were warnings about some deprecated headers in the
    configure.log and I wanted to submit them to this bug, but
    the problem is fixed.

    Thanks for the help.

    Regards,
    Neculai Macarie.