I am trying to get htdig-3.2.0b3/htdig-3.2.0b2 htdig works on solaris 2.6 sparc. The compiiler is sun workshop c/c++ 5.0. Any one got htdig ever compiled on Solaris ? Thanks for your pointer 1. htdig-3.2.0b3 failed at bt_compare.c becuase of invalid compiler option for -MD. Seems to me it need depend files generated by make. but there is no make depend in the Makefile gengerated by configure. ---------------------------------------------- root> CC=cc CXX=CC ./confgure ... snip creating db.h creating db_config.h db_config.h is unchanged Now you must run 'make' followed by 'make install' root> make Making all in db make[1]: Entering directory `/export/buildsrc/sfw/htdig-3.2.0b3/db' /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -I/usr/local/include -g -c bt_compare.c mkdir .libs cc -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -D_REENTRANT -I/usr/local/include -g -Wp,-MD,.deps/bt_compare.pp -c bt_compare.c -KPIC -DPIC -o bt_compare.o command line: fatal: invalid arg for option M D: No such file or directory cc: acomp failed for bt_compare.c make[1]: *** [bt_compare.lo] Error 1 make[1]: Leaving directory `/export/buildsrc/sfw/htdig-3.2.0b3/db' make: *** [all-recursive] Error 1 ---------------------------------------------- 2. htdig-3.2.0b2 find a link reggarding to following error at http://lists.sourceforge.net/archives//autoopencas-commit/2000-October/000572.html Is there a work around with this compling problem ? ---------------------------------------------- root> cat configure.tj rm config.status config.cache CC=cc CXX=CC ./configure root> root> sh configure.tj creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking whether make sets ${MAKE}... (cached) yes checking host system type... sparc-sun-solaris2.6 checking build system type... sparc-sun-solaris2.6 checking for ranlib... ranlib checking for gcc... cc ... snip ... creating config.h config.h is unchanged root_tjy@ns281> make Making all in db make[1]: Entering directory `/export/buildsrc/sfw/htdig-3.2.0b2/db' cd dist ; if [ -f Makefile ] ; then make PACKAGE=htdig all ; fi make[2]: Entering directory `/export/buildsrc/sfw/htdig-3.2.0b2/db/dist' CC -c -O -I. -I./../include -D_REENTRANT -I/usr/local/include ../cxx/cxx_app.cpp "./../include/db_cxx.h", line 724: Error: A typedef name cannot be used in an elaborated type specifier.. "../cxx/cxx_app.cpp", line 130: Error: A typedef name cannot be used in an elaborated type specifier.. 2 Error(s) detected. make[2]: *** [cxx_app.o] Error 2 make[2]: Leaving directory `/export/buildsrc/sfw/htdig-3.2.0b2/db/dist' make[1]: *** [all] Error 2 make[1]: Leaving directory `/export/buildsrc/sfw/htdig-3.2.0b2/db' make: *** [all-recursive] Error 1 ---------------------------------------------- -- T.J. Yang [EMAIL PROTECTED] _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/htdig-dev
