DelphiFAQ Home Search:

InterBase, MS-SQL, mysql, Oracle
C#, C++, Delphi, Java,
JavaScript, perl, php, Visual Basic, VBScript
Apache, Network, Shell
Web Publishing
JavaScript, perl CGI, VBScript, Web Hosting
Apache, File Types, Internet Explorer,
Network, Printing, Processes
Outside the Cube
Auto, Computer Hardware,
Finances, Dating Scams,
Household, Male Dating Scammers,
Other Scams, Travel

Featured Article

I try to install ht://Dig, get error message 'Try installing libstdc++'


I want to install ht://Dig on my hosted web site. So I downloaded the latest version (3.1.6) and ran the configure script.
I get the following error message:
checking for fstream.h... no
configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++.

It appears that file fstream.h is missing? What can I do?


You probably use an older version of the gcc compiler. You need to set two environment variables - flags for the C++ compiler:

export CPPFLAGS=-Wno-deprecated
export CXXFLAGS=-Wno-deprecated

Then run configure:

Generated 12:02:04 on Apr 8, 2020