I've had good luck with htdig 3.1.6 and gcc 2.8.1 and 2.95.3 on Solaris 8 and 9. 
There's info in the FAQ for Solaris and gcc 3.2+:

http://www.htdig.org/FAQ.html#q3.8 

The first compile failure, quoted at the bottom of the message, is failing on 
mkstemp() which is part of the standard C library. Weird. Do you have a libc.a in /lib 
or /usr/lib and a stdlib.h in /usr/include? 


Neil Kohl
Manager, ACP-ASIM Online              
American College of Physicians - American Society of Internal Medicine
[EMAIL PROTECTED]              215.351.2638, 800.523.1546 x2638


>>> <[EMAIL PROTECTED]> 02/09/03 07:07PM >>>
Hello.  I'm still attempting to compile htdig 3.1.6 on Solaris 5.5.  I couldn't find 
gcc 2.95.2 but I tried with 2.95.3 and got the same message.  When I tried with gcc 
3.2 I get an expanded error message.  Could somebody take a look and see if this makes 
sense to them?  Seems like a simple change
in a header file would fix this problem but unfortunately I am not very
familiar with C/C++ and am not sure what to look for.

Thanks,
Mike

c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/local/net/htdig316/conf/htdig.conf\" -I../h
tlib -I../htcommon  -I../db/dist -I../include -g -O2 ExternalParser.cc
In file included from /usr/local/include/c++/3.2/backward/ostream.h:31,
                 from ../htlib/htString.h:19,
                 from Parsable.h:10,
                 from ExternalParser.h:17,
                 from ExternalParser.cc:23:
/usr/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning T
his file 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. Examp
les include substituting the <X> header for the <X.h> header for C++ includes, o
r <sstream> instead of the deprecated header <strstream.h>. To disable this warn
ing use -Wno-deprecated.
ExternalParser.cc: In member function `virtual void
   ExternalParser::parse(Retriever&, URL&)':
ExternalParser.cc:188: `mkstemp' undeclared (first use this function)
ExternalParser.cc:188: (Each undeclared identifier is reported only once for
   each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `ExternalParser.o'
Current working directory /export/home2/net/htdig-3.1.6/htdig
*** Error code 1
make: Fatal error: Command failed for target `all'
mars$



--------------------------------------------------------
"Budd, Sinclair" <[EMAIL PROTECTED]> wrote:
>my experience was that I needed to use  2.95.2   on solaris 2.7  ( not
>2.95.3!)
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
>Sent: Monday, January 20, 2003 8:58 PM
>To: [EMAIL PROTECTED] 
>Subject: [htdig] compile error on Solaris
>
>
>Hello.
>
>I'm trying to install htdig 3.1.6.  The make goes quite a ways 
>before dying with the message below.  I am using gcc 2.95.1 and 
>Solaris 5.5.1.  Can anybody help?  If there are already-compiled
>binaries available for this version & O/S please let me know.
>
>Thanks a lot,
>Mike
>
>
>c++ -c  -DDEFAULT_CONFIG_FILE=\"/usr/local/net/htdig316/conf/htdig.conf\"
>-I../htlib -I../htcommon  -I../db/dist -I../include -g -O2 ExternalParser.cc
>ExternalParser.cc: In method `void ExternalParser::parse(Retriever &, URL
>&)':
>ExternalParser.cc:188: implicit declaration of function `int mkstemp(...)'
>*** Error code 1
>make: Fatal error: Command failed for target `ExternalParser.o'
>Current working directory /export/home2/net/htdig-3.1.6/htdig
>*** Error code 1
>make: Fatal error: Command failed for target `all'






-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com 
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to