DelphiFAQ Home Search:

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

 

comments7 comments. Current rating: 5 stars (1 votes). Leave comments and/ or rate it.

Question:

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?

Answer:

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:
./configure




Comments:

2006-07-15, 13:55:13
anonymous from Romania  
worked for me too
2007-01-04, 07:34:41
anonymous from United States  
did the trick!
2007-02-15, 04:13:50
anonymous from Spain  
I had the same problem and this solve it

thanks
2007-05-31, 12:18:33
anonymous from Mexico  
It works!, thanks a lot!
2007-06-05, 23:15:19
anonymous from Hong Kong  
rating
It works for me too!!!
2008-02-19, 22:09:00
anonymous from Netherlands  
yipp, worked!
2008-04-26, 19:23:40
anonymous from Canada  
Yes, this worked for me too. I tested it on my Ubuntu 8.04 Desktop Edition and Fedora Core 8. My Fedora Core 8 had gcc-4.1.2 and libstdc++ 4.1.2-33.i386

 

 

Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option.
 
It seems that you are
from Washington, US .

Info/ Feedback on this

Show city and country
Show country only
Hide my location
Leave your comment here:
Please type in the code:
photo Add a picture:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity. The owner of this web site reserves the right to delete such material.