Re: libstdc++ compilation problem with Redhat Enterprise server

David Dyer-Bennet <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
Jim <[email protected]> writes:

> On Wed, 15 Dec 2004, Steve Farmer wrote:
> 
> > When trying to compile htdig on Redhat Enterprise server
> > (./configure) I get the following message
> >
> > configure: error: To compile ht://Dig, you will need a C++
> > library. Try installing libstdc++.
> 
> Take a look at http://www.htdig.org/FAQ.html#q3.8 and see if the advice
> there helps.

Sorry to add to such an old thread.  However, I had this same problem
with Debian 3.1 ("Sarge"), the current stable distribution.  And that
version includes GCC version 3.3.5; the FAQ says this shouldn't be
needed after GCC version 3.2.0b5.

My compile is just running for the first time, so I don't for-sure
know this fixed my problem, but it at least got me past the configure
test for fstream.h.   

Also, the compile is generating a warning 

    cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC

for each of a large number of files compiled.  No other errors, so
this may well be harmless, but the FAQ should probably be updated to
give a wider range of versions that question applies to, and to warn
people about this warning and say it's harmless (if it really is; as I
say, I don't know that yet). 

(Yes, there's a Debian package for htdig.  That's what I'm actually
using for my production htdig work on my server.  I'm doing a build
from source as practice for building on a Solaris server that I don't
yet have access to, so I'm better prepared when I *get* access.)
-- 
David Dyer-Bennet, <mailto:[email protected]>, <http://www.dd-b.net/dd-b/>
RKBA: <http://noguns-nomoney.com/> <http://www.dd-b.net/carry/>
Pics: <http://dd-b.lighthunters.net/> <http://www.dd-b.net/dd-b/SnapshotAlbum/>
Dragaera/Steven Brust: <http://dragaera.info/>  Much of which is still down


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.