Hey, Dan.

Hmm... I haven't a clue what's going on with your build.

Here's some more detail on my environment; maybe there's something different that's 
causing problems.

I am using the GNU tools from the Solaris 9 Software Companion CD. gcc is 2.95.3. I 
also used /opt/sfw/bin/gmake, not /usr/ccs/bin/make. libc++ is in /opt/sfw/lib. On my 
system, /usr/local/ is a symlink to /opt/sfw/. 

Here are the exact commands that I used to get the latest snapshot to compile:

tar xzvpf htdig-3.2.0b4-20020929.tar.gzcd htdig-3.2.0b4-20020929./configure 
--disable-shared --enable-tests --prefix=/tmp/htdigperl -pi.bak -e  
's!-I/usr/include!!g' db/Makefile htlib/MakefileLD_RUN_DIR=/usr/local/lib gmake all
LD_RUN_DIR=/usr/local/lib gmake install

I can tar up the binaries and send them to you - the only caveat is it's compiled for 
/tmp so you'll always have to supply a config_dir -- or I can recompile it for a 
specific location (/usr/local/htdig?).


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


>>> "Sixbury, Dan" <[EMAIL PROTECTED]> 10/03/02 05:50PM >>>
Neil,

I started this email earlier today and as of now I believe I have tried the
Geoff patch available, Unloaded gcc3.2 and installed gcc2.95.3, unloaded
gcc2.95.3 / reloaded gcc3.2 tried the configure with the CXX CPP flags, I
feel like I am going in circles on this silly program.  Any advice on what
the hell I am doing wrong here?  I will admit that I haven't done C / C++
programming since college and I am not in a position to do much
troubleshooting if it doesn't work, but it seems like there should be
something that says install A,B, C and it will work guaranteed as opposed to
someone tried one thing to make it work and someone else tried something
else to get it to work...

I really need to get this work since our company has decided to be too cheap
to purchase a search engine and since HtDig will probably work fine, but it
is starting to be a real pain in the ass.  Any help is greatly appreciated.

Dan


I am starting to get really frustrated with HtDig.  :-(  I have removed the
latest / greatest version of gcc 3.2 and installed gcc2.95.3  I have tried
the configure --disabled-shared and then tried using /usr/local/bin/make and
also have tried using the /usr/ucs/bin/make to try to make it.  Now I am
getting the following errors:

c++ -c  -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib
-I../htcommon -I../db/dist -I../include -g -O2 Configuration.cc
In file included from Configuration.cc:13:
htString.h:139: `ostream' was not declared in this scope
htString.h:139: `o' was not declared in this scope
htString.h:139: variable or field `debug' declared void
htString.h:152: ANSI C++ forbids declaration `ostream' with no type
htString.h:152: `ostream' is neither function nor method; cannot be declared
friend
htString.h:152: parse error before `&'
make: *** [Configuration.o] Error 1


***-->> It also seems that everyone has a slightly different twist on making
/ compiling HtDig to get it to work.  When I first installed HtDig, I didn't
have any problems and I was able to install "out of the box, so to speak.",
but that was on an old Solaris 2.6 developer box where the OS and everything
else is out of date.  Now trying to get it to work on Solaris 9 and it seems
that nothing I do can get it to the point of fully compiling and working.  

I think you mention that you are able to get it to compile on Solaris 9 and
I think I looked at your web page article describing the fix... I been
banging my head on this issue and I keep coming up with the same problem
where the make is just not working... What am I missing????


Dan



-----Original Message-----
From: Neil Kohl [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 27, 2002 9:02 AM
To: Sixbury, Dan
Subject: RE: [htdig] HtDig and Solaris 9?


Hi, Dan.

Is this 3.1.6 or one of the 3.2 betas? 

I used gcc/g++ 2.8.1 and solaris make (/usr/ccs/bin/make).

For 3.1.6, it's pretty straightforward; just ./configure --disable-shared.

The 3.2 betas are a little harder. I posted a mini guide to how I got it
compiled on Solaris 8, which should work without change on Sol9:

http://www.geocrawler.com/archives/3/8822/2002/3/0/8136397/ 

Hope this helps,


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


>>> "Sixbury, Dan" <[EMAIL PROTECTED]> 09/26/02 03:55PM >>>
I have been in the process of setting up HtDig on a Solaris 9 server and
seem to be having problems with getting make to work... You may have seen
threads on the mailing list.  Did you use gcc for running make on the htdig
software after the configure?  Did you have to change anything to get the
code to compile?  

thanks,
Dan

-----Original Message-----
From: Neil Kohl [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 12, 2002 8:50 AM
To: Sixbury, Dan; [EMAIL PROTECTED] 
Subject: Re: [htdig] HtDig and Solaris 9?


Solaris does have a bizzarre numbering scheme. Solaris 7, 8 and 9 are also
referred to by Sun as 2.7, 2.8 and 2.9. If you do a uname -r on Solaris 9,
it returns 5.9. Go figure.

I have htdig 3.1.6 running on my development workstation, an Ultra 10
running Solaris 9 and it has been running fine. I've also compiled one of
the 3.2 snapshots and gave it some cursory testing. It appears to be stable
but I haven't had the time to set it up to run against all of our sites (>
60,000 pages). 

Note that this computer doesn't get the same load as our production boxes
which run Solaris 8 and service a few thousand htdig requests each day.


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


>>> "Sixbury, Dan" <[EMAIL PROTECTED]> 09/11/02 12:20PM >>>

I have HtDig running on a Solaris 2.6 server and I am getting ready to build
a server for the sole purpose of running HtDig.  Our Web servers are also on
Solaris 2.6.  I was planning on installing Solaris 9 on the new server to
use for the HtDig tool.  I noticed on the htdig web page it states that
HtDig is supported on Solaris 2.x which would most likely not include
Solaris 9, but there should be some backward compatibility with the new OS
as well.  

Has anyone tried installing HtDig on a solaris 9 server?  Any ideas on
whether it would or wouldn't work?

Thanks,
Dan


-------------------------------------------------------
In remembrance
www.osdn.com/911/ 
_______________________________________________
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf 
_______________________________________________
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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