[htdig] Compiling under Digital unix


Subject: [htdig] Compiling under Digital unix
From: Jason Carvalho (J.Carvalho@Cranfield.ac.uk)
Date: Tue Feb 08 2000 - 04:50:42 PST


Hi - I am trying to compile HtDig under Digital Unix 4.0E

With htdig 3.1.4, when I run configure, I get the following error:

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

libstdc++ is installed and used on this machine, which is what is
confusing me.
Here are the last few lines of "config.log" :

configure:2018: checking for sys/select.h
configure:2028: c++ -E conftest.C >/dev/null 2>conftest.out
configure:2056: checking for fstream.h
configure:2066: c++ -E conftest.C >/dev/null 2>conftest.out
In file included from
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/2.95.2/../../../../include/g++-3/streambuf.h:36,
                 from
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/2.95.2/../../../../include/g++-3/iostream.h:31,
                 from
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/2.95.2/../../../../include/g++-3/fstream.h:30,
                 from configure:2062:
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0e/2.95.2/../../../../include/g++-3/libio.h:30:
_G_config.h: No such file or directory
configure: failed program was:
#line 2061 "configure"
#include "confdefs.h"
#include <fstream.h>

I also tried compiling htdig 3.1.3. This time ./configure completes
sucessfully, but when I run "make" I get the following error: (the
last few lines)

o txn.o txn_auto.o txn_rec.o xa.o xa_db.o xa_map.o
test ! -f /usr/bin/ranlib || /usr/bin/ranlib libdb.a
gcc -o db_archive db_archive.o err.o getlong.o libdb.a
/usr/bin/ld:
Object file format error in: db_archive.o: read_cur_obj_info: bad file
magic number(0x457f)
collect2: ld returned 1 exit status
*** Exit 1
Stop.
*** Exit 1
Stop.

I have looked in the FAQ and mailing list archives but no-one seems to
have a definite answer to this. If anyone can help me in any way, I
would be very grateful.

Many Thanks

Jason Carvalho

-- 
---------------------------------
Jason Carvalho
Web Analyst
Cranfield University
Email: J.Carvalho@Cranfield.ac.uk
Tel:   01234 750111  x2159
---------------------------------

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Feb 08 2000 - 04:51:58 PST