I will paste some parts as follows:

int main() {
socket()
; return 0; }
configure:1813: checking for t_accept in -lnsl
configure:1832: gcc -o conftest -g -O2   conftest.c -lnsl   1>&5
/tmp/ccaD2J5S.o: In function 
`main':/home/hosea/downloads/htdig/htdig-3.1.6/configure:1828: undefined 
reference to `t_accept'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1821 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char t_accept();

......
.....
.....

configure:2114: c++ -E  conftest.C >/dev/null 2>conftest.out
In file included from 
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/ostream.h:31,
                 from configure:2110:
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/backward_warning.h:32:2:
 warning: #warning This f
ile includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.
1.2 of the C++ standard. Examples include substituting the <X> header for the 
<X.h> header for C++ includes, or <iostream> in
stead of the deprecated header <iostream.h>. To disable this warning use 
-Wno-deprecated.
configure: failed program was:
#line 2109 "configure"
#include "confdefs.h"
#include <ostream.h>
configure:2104: checking for iostream.h
configure:2114: c++ -E  conftest.C >/dev/null 2>conftest.out
In file included from 
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/iostream.h:31,
                 from configure:2110:
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/backward_warning.h:32:2:
 warning: #warning This f
ile includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.
1.2 of the C++ standard. Examples include substituting the <X> header for the 
<X.h> header for C++ includes, or <iostream> in
stead of the deprecated header <iostream.h>. To disable this warning use 
-Wno-deprecated.
configure: failed program was:
#line 2109 "configure"
#include "confdefs.h"
#include <iostream.h>
configure:2142: checking for fstream.h
configure:2152: c++ -E  conftest.C >/dev/null 2>conftest.out
In file included from 
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/fstream.h:31,
                 from configure:2148:
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/backward/backward_warning.h:32:2:
 warning: #warning This f
ile includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.
1.2 of the C++ standard. Examples include substituting the <X> header for the 
<X.h> header for C++ includes, or <iostream> in
stead of the deprecated header <iostream.h>. To disable this warning use 
-Wno-deprecated.
configure: failed program was:
#line 2147 "configure"
#include "confdefs.h"
#include <fstream.h>


Thanks,

hosea




----- Original Message ----
From: Rainer Sokoll <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, February 14, 2007 11:32:14 AM
Subject: Re: [htdig] Problem with htdig Installation htdig on FC5


On Wed, Feb 14, 2007 at 12:58:10AM -0800, Hosea Phiri wrote:
> I have a problem with htdig installation on FC5. I have downloaded 
> htdig-3.1.6. 
> 
> Running ./configure
> 
> Start as if all will go well but finally it displays:
> 
> configure: error: To compile ht://Dig, you will need a C++ library. Try 
> installing libstdc++.
> 
> I then decided to install libstdc++ with:
> 
> yum install libstdc++
> 
> Which did not complain until it finished.
> 
> I then run ./configure again but the same error
> configure: error: To compile ht://Dig, you will need a C++ library. Try 
> installing libstdc++.

Can you post the relevant parts of your config.log?

Rainer

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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


 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to