[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

cannot compile 3.1.x on SGI



Hi all,



I'm finally giving in. I've tried to compile htdig 3.1.2 thru 3.1.6 on an SGI running IRIX 6.5.22, and I can't get it to work.



I have gcc-3.3 installed (precompiled binaries from freeware.sgi.com). libstdc++ is there (according to SGI's "inst" anyway). I did read the FAQs. I tried with and without LD_RUN_DIR, LD_LIBRARY_PATH, LDFLAGS, and several other options. I even looked into the "regex" problems that seem to have some folks in a bind. I cannot get past the ./configure step if I use gcc. It always ends with:



configure: error: To compile ht://Dig, you will need a C++ library. Try installing libstdc++.



libstdc++ is located in the "convenient" location /usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.3/.



However, if I use SGI's compilers, the configuration step works just fine (apparently anyway). It's when I try to run smake, make, or gmake that I run into this error:



cc-1174 cc: WARNING File = ./../db_stat/db_stat.c, Line = 14

  The variable "sccsid" was declared but never referenced.



  static const char sccsid[] = "@(#)db_stat.c   8.41 (Sleepycat) 10/3/98";

                    ^



        cc -n32 -o db_stat -L/usr/lib32 db_stat.o err.o getlong.o libdb.a 

        CC -n32 -c  -DDEFAULT_CONFIG_FILE=\"/v2/w3c/htdig/conf/htdig.conf\" -I../htlib -I../htcommon  -I../db/dist -I../include -g Configuration.cc

        CC -n32 -c  -DDEFAULT_CONFIG_FILE=\"/v2/w3c/htdig/conf/htdig.conf\" -I../htlib -I../htcommon  -I../db/dist -I../include -g Connection.cc

cc-1020 CC: ERROR File = htString.h, Line = 195

  The identifier "va_list" is undefined.



  extern char *vform(char *, va_list);

                             ^



1 error detected in the compilation of "Connection.cc".

*** Error code 2 (bu21)

*** Error code 1 (bu21)





This happens regardless of the htdig version I'm working on.



I've been digging through the sourceforge and geocrawler (where they still exist) messages trying to find any resolution to this, but have come up empty handed.



I'd try to install the SGI pre-compiled 3.1.6, except I don't have enough space on my system drive to carry the htdig databases. So far, I've been unable to determine how to have the software on one drive, and the database (common, conf, and db) on another drive. This is probably a separate issue, but it's the very reason I'm trying to compile and install to my own target directory.



Does anyone have a suggestion I can sink my teeth into?



Thanks,



   Michiel.











_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ht://Dig general mailing list: <htdig-general@xxxxxxxxxxxxxxxxxxxxx>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

[Site Home]     [Bugtraq]     [Books]     [Photo]
[Yosemite]     [Yosemite News]     [MIPS Linux]     [Linux Resources]

Powered by Linux