Hi Brodie,
On Thu, Jul 14, 2005 at 02:17:45PM -0500, Brodie, Kent wrote: *snip* > My *original* setup was: Mailman 2.1.5, htdig 3.1.6, Solaris 10 (yes, > 10), and gcc 3.3.2. > > > For the most part, this worked. I was able to generate the ht > databases, index the archives, and search them. The only issue I > had when building htdig was to manually set the LD_RUN_PATH > environment variable to "/usr/local/lib", which is where my c++ > libraries were. That snippet of gold from the archives was dead > on. Without doing that, you get complaints about libstdc++.so.5 and > such not being able to be found. Honestly, I don't know much about Sol10, but on Sol8 & 9 there was a command for configuring the runtime linkers path called crle (configure runtime linker environment). Its usage is quite self-explanatory. Just add /usr/local/lib to it, e.g. (my sol7 development server) [EMAIL PROTECTED]:~]> crle Configuration file: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib:/opt/openssl/lib:/opt/openssl-0.9.7e/lib:/opt/mysql4/lib:/opt/openldap2/lib:/opt/oracle/client/8.1.7/lib:/opt/subversion/lib:/usr/local/pgsql/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/opt/openssl/lib:/opt/openssl-0.9.7e/lib:/opt/mysql4/lib:/opt/openldap2/lib:/opt/oracle/client/8.1.7/lib:/opt/subversion/lib:/usr/local/pgsql/lib and you are done. > But, after it was all done, I had one issue that I could not get past, > which was the nightly_htdig script (courtesy of mailman) kept blowing > up and core dumping. This script basically checks the lists for > activity, and does a RUNDIG on the archives for the purpose of > updating the indices. It seemed to work, sort of, and generate > results- but it would run for something like 15 minutes and then > dump. And the searchable stuff was quite tiny - only a handful of > pages. Did you analyze the core file with a debugger, e.g. gdb from sunfreeware.com? If you have amounts of harddisc space, open the rundig script with vi, look for the htdig command and add the following before the htdig call: truss -wall -fall -eall -o <where the logfile should go> htdig -s -a -c ... Then you will get some debugging output, which you can take a look at. I don't know much about this dtrace thingie, so I prefer a housewife's iron over some unknown hi-tech utility ... :) > Then, I was made aware of the beta build of htdig-- v3.2.0b6. So, > I grabbed that and started all over. > > > NOTE TO ALL SOLARIS DUDES (or dudettes): THIS WORKS. While I was > experiencing major problems with 3.1.6 on Solaris (including re-doing > the compile a bazillion ways, including stuff like -with-rx, which > seemed to make no difference), compiling, building, and installing > ht://Dig 3.2.0b6 on Solaris 10 works out of the box. And my nightly > htdig run? It only executes for something like 10 seconds. Not > 15 minutes. And no crash. Woohoo! Just as some help, here ist my configure string: LDFLAGS="-L/opt/openssl/lib -lssl -lcrypto" CPPFLAGS="-Wno-deprecated" CXXFLAGS="-Wno-deprecated" ./configure --prefix=/opt/htdig-3.1.6-ssl --with-config-dir=/opt/htdig-3.1.6-ssl/conf --with-database-dir=/opt/htdig-3.1.6-ssl/db/default --with-cgi-bin-dir=/opt/htdig-3.1.6-ssl/bin --with-image-dir=/opt/htdig-3.1.6-ssl/htdocs/images --with-search-dir=/opt/htdig-3.1.6-ssl/htdocs --with-image-url-prefix=/images --with-common-dir=/opt/htdig-3.1.6-ssl/common/default --with-rx > Gcc I used was the package from sunfreeware.com and is the latest > available. [EMAIL PROTECTED]:/data/BUILD/htdig]> pkgparam SMCgcc VERSION 3.3.2 Yours, Martin -- -------------------------------------------------------- arago AG, Institut fuer komplexes Datenmanagement Am Niddatal 3, 60488 Frankfurt/Main, [EMAIL PROTECTED] Tel. 069/405680, Fax 069/40568111, http://www.arago.de --------------------------------------------------------
pgpmAQWc0vGw7.pgp
Description: PGP signature

