From: Gregory H. <gh...@ca...> - 2005-01-21 22:51:06
|
> Date: Fri, 21 Jan 2005 23:07:51 +0100 > From: Martin Allert <al...@ar...> > To: Gregory Hicks <ghicks> > Subject: Re: [htdig] configure: error: cannot compute sizeof (unsigned long long int), 77 > > > > Hello Gregory, > > > This is my configure string for htdig-3.1.6-ssl: > This is what I did... setenv LDFLAGS "-L/usr/local/ > LDFLAGS="-L/opt/openssl/lib -lssl -lcrypto" CPPFLAGS="-Wno-deprecated" CXXFLAGS="-Wno-deprecated" ./configure --prefix=/opt/htdig-3.1.6-ssl metis% setenv LDFLAGS '-L/usr/local/ssl/lib -l ssl -l crypto' metis% setenv CPPFLAGS "-Wno-deprecated" metis% setenv CXXFLAGS "-Wno-deprecated" metis% cd incoming/htdig/htdig-3.2.0b6 metis% ./configure --prefix=/usr/local/apache-1.3.9 --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 > > This is my configure string for htdig-3.2.0b5: > > ./configure --prefix=/opt/htdig-3.2.0b5 --enable-bigfile --with-common-dir=/ > opt/htdig-3.2.0b5/common --with-database-dir=/opt/htdig-3.2.0b5/db --with-ssl=/o > pt/openssl --with-zlib --without-apache --with-cgi-bin-dir=/opt/htdig-3.2.0b5/bi > n --with-image-dir=/opt/htdig-3.2.0b5/htdocs/images > > I use this gcc version (sunfreeware.com): > > [root@blop:/data/BUILD/htdig2/htdig-3.2.0b5]> gcc -v > Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.3.2/specs > Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls > Thread model: posix > gcc version 3.3.2 My gcc version (from sunfreeware.com): metis% gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.1/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.3.1 Still same error... > > Did you also install the SunOS Header Files (SUNWhea)? Also the config.log > output shows, that you are obviously missing a C++ Compiler (see the > "#ifdef __cplusplus" statement). So if you install the g++ compiler you will > be fine. Additionally, if you set the CFLAGS variable before invoking configure, > you need to set the CPPFLAGS and the CXXFLAGS variable also (see above). > > Yours, > > Martin > > -- > > -------------------------------------------------------- > arago AG, Institut fuer komplexes Datenmanagement > Am Niddatal 3, 60488 Frankfurt/Main, al...@ar... > Tel. 069/405680, Fax 069/40568111, http://www.arago.de > -------------------------------------------------------- > > On Fri, Jan 21, 2005 at 01:48:15PM -0800, Gregory Hicks wrote: > > Greetings: > > > > I am trying to configure htdig-3.2.0b6 on a Solaris 8 box with gcc 3.3.1 and > > getting this error: > > > > configure: error: cannot compute sizeof (unsigned long long int), 77 > > See `config.log' for more details. > > > > (When I tried to configure htdig-3.1.6, the configure script could not find > > libstdc++ even though it exists: > > > > /usr/local/lib: > > libncurses++.a* libstdc++.la* libstdc++.so.5.0.5* > > libstdc++.a libstdc++.so@ libsupc++.a > > libstdc++.a.2.10.0 libstdc++.so.5@ libsupc++.la* > > > > and /usr/local/lib IS in LD_LIBRARY_PATH...) > > > > Here are the last contents of config.log: > > > > MAKEINFO='${SHELL} /home/ghicks/incoming/htdig/htdig-3.2.0b6/missing --run > > makeinfo' > > MV='/bin/mv' > > OBJEXT='o' > > PACKAGE='htdig' > > PACKAGE_BUGREPORT='' > > PACKAGE_NAME='' > > PACKAGE_STRING='' > > PACKAGE_TARNAME='' > > PACKAGE_VERSION='' > > PATH_SEPARATOR=':' > > PERL='/bin/perl' > > RANLIB='ranlib' > > RRDTOOL='' > > SEARCH_DIR='${prefix}/htdocs/htdig' > > SEARCH_FORM='search.html' > > SED='/usr/xpg4/bin/sed' > > SENDMAIL='/usr/lib/sendmail' > > SET_MAKE='' > > SHELL='/bin/bash' > > STRIP='strip' > > TAR='tar' > > TESTS_FALSE='' > > TESTS_TRUE='#' > > TIME='/bin/time' > > TIMEV='/bin/time' > > USER='ghicks' > > VERSION='3.2.0b6' > > YACC='yacc' > > ac_ct_AR='ar' > > ac_ct_CC='gcc' > > ac_ct_CXX='g++' > > ac_ct_F77='g77' > > ac_ct_RANLIB='ranlib' > > ac_ct_STRIP='strip' > > am__fastdepCC_FALSE='' > > am__fastdepCC_TRUE='#' > > am__fastdepCXX_FALSE='' > > am__fastdepCXX_TRUE='#' > > am__include='include' > > am__leading_dot='.' > > am__quote='' > > bindir='${exec_prefix}/bin' > > build='sparc-sun-solaris2.8' > > build_alias='' > > build_cpu='sparc' > > build_os='solaris2.8' > > build_vendor='sun' > > datadir='${prefix}/share' > > exec_prefix='NONE' > > extra_ldflags='' > > host='sparc-sun-solaris2.8' > > host_alias='' > > host_cpu='sparc' > > host_os='solaris2.8' > > host_vendor='sun' > > includedir='${prefix}/include' > > infodir='${prefix}/info' > > install_sh='/home/ghicks/incoming/htdig/htdig-3.2.0b6/install-sh' > > libdir='${exec_prefix}/lib' > > libexecdir='${exec_prefix}/libexec' > > localstatedir='${prefix}/var' > > mandir='${prefix}/man' > > oldincludedir='/usr/include' > > prefix='/usr/local/apache-1.3.9' > > program_transform_name='s,x,x,' > > sbindir='${exec_prefix}/sbin' > > sharedstatedir='${prefix}/com' > > subdirs='' > > sysconfdir='${prefix}/etc' > > target_alias='' > > > > ## ----------- ## > > ## confdefs.h. ## > > ## ----------- ## > > > > #define HAVE_ALLOCA 1 > > #define HAVE_ALLOCA_H 1 > > #define HAVE_ALLOCA_H 1 > > #define HAVE_ARPA_INET_H 1 > > #define HAVE_DIRENT_H 1 > > #define HAVE_DLFCN_H 1 > > #define HAVE_FCNTL_H 1 > > #define HAVE_FLOAT_H 1 > > #define HAVE_INTTYPES_H 1 > > #define HAVE_LANGINFO_H 1 > > #define HAVE_LIBINTL_H 1 > > #define HAVE_LIBNSL 1 > > #define HAVE_LIBSOCKET 1 > > #define HAVE_LIBZ 1 > > #define HAVE_LIMITS_H 1 > > #define HAVE_LOCALE_H 1 > > #define HAVE_MALLOC_H 1 > > #define HAVE_MEMORY_H 1 > > #define HAVE_NETDB_H 1 > > #define HAVE_NETINET_IN_H 1 > > #define HAVE_STDBOOL_H 1 > > #define HAVE_STDBOOL_H 1 > > #define HAVE_STDDEF_H 1 > > #define HAVE_STDLIB_H 1 > > #define HAVE_STDLIB_H 1 > > #define HAVE_STRINGS_H 1 > > #define HAVE_STRINGS_H 1 > > #define HAVE_STRING_H 1 > > #define HAVE_STRING_H 1 > > #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 > > #define HAVE_SYSLOG_H 1 > > #define HAVE_SYS_FILE_H 1 > > #define HAVE_SYS_IOCTL_H 1 > > #define HAVE_SYS_SOCKET_H 1 > > #define HAVE_SYS_STAT_H 1 > > #define HAVE_SYS_TIMEB_H 1 > > #define HAVE_SYS_TIME_H 1 > > #define HAVE_SYS_TYPES_H 1 > > #define HAVE_SYS_WAIT_H 1 > > #define HAVE_SYS_WAIT_H 1 > > #define HAVE_UNISTD_H 1 > > #define HAVE_UNISTD_H 1 > > #define HAVE_WAIT_H 1 > > #define HAVE_WCHAR_H 1 > > #define HAVE_WCTYPE_H 1 > > #define HAVE_ZLIB_H > > #define HAVE__BOOL 1 > > #define HAVE__BOOL 1 > > #define PACKAGE "htdig" > > #define PACKAGE_BUGREPORT "" > > #define PACKAGE_NAME "" > > #define PACKAGE_STRING "" > > #define PACKAGE_TARNAME "" > > #define PACKAGE_VERSION "" > > #define STDC_HEADERS 1 > > #define STDC_HEADERS 1 > > #define TIME_WITH_SYS_TIME 1 > > #define TIME_WITH_SYS_TIME 1 > > #define VERSION "3.2.0b6" > > #endif > > #ifdef __cplusplus > > extern "C" void std::exit (int) throw (); using std::exit; > > > > configure: exit 1 > > > > And the console output: > > > > checking for a BSD-compatible install... ./install-sh -c > > checking whether build environment is sane... yes > > checking for gawk... gawk > > checking whether make sets $(MAKE)... yes > > checking whether to enable maintainer-specific portions of Makefiles... no > > checking for g++... g++ > > checking for C++ compiler default output file name... a.out > > checking whether the C++ compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C++ compiler... yes > > checking whether g++ accepts -g... yes > > checking for style of include used by make... GNU > > checking dependency style of g++... none > > checking for gcc... gcc > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ANSI C... none needed > > checking dependency style of gcc... none > > checking how to run the C preprocessor... gcc -E > > checking for egrep... egrep > > checking for AIX... no > > checking for flex... no > > checking for lex... lex > > checking for yywrap in -lfl... no > > checking for yywrap in -ll... yes > > checking lex output file root... lex.yy > > checking whether yytext is a pointer... no > > checking for bison... no > > checking for byacc... no > > checking for a BSD-compatible install... ./install-sh -c > > checking whether ln -s works... yes > > checking whether make sets $(MAKE)... (cached) yes > > checking build system type... sparc-sun-solaris2.8 > > checking host system type... sparc-sun-solaris2.8 > > [...snip...] > > checking whether stat file-mode macros are broken... no > > checking for stdbool.h that conforms to C99... (cached) yes > > checking for _Bool... (cached) yes > > checking for an ANSI C-conforming const... yes > > checking for inline... inline > > checking for off_t... yes > > checking for size_t... yes > > checking for struct stat.st_blksize... yes > > checking whether time.h and sys/time.h may both be included... (cached) yes > > checking whether struct tm is in sys/time.h or time.h... time.h > > checking for unsigned long long int... yes > > checking size of unsigned long long int... > > > > Any thoughts on what to modify? I don't have a clue. > > > > Regards, > > Gregory Hicks > > > > > > ------------------------------------------------------------------- > > Gregory Hicks | Principal Systems Engineer > > Cadence Design Systems | Direct: 408.576.3609 > > 555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3400 > > San Jose, CA 95134 | Internet: gh...@ca... > > > > I am perfectly capable of learning from my mistakes. I will surely > > learn a great deal today. > > > > "A democracy is a sheep and two wolves deciding on what to have for > > lunch. Freedom is a well armed sheep contesting the results of the > > decision." - Benjamin Franklin > > > > "The best we can hope for concerning the people at large is that they > > be properly armed." --Alexander Hamilton > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > ht://Dig general mailing list: <htd...@li...> > > ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html > > List information (subscribe/unsubscribe, etc.) > > https://lists.sourceforge.net/lists/listinfo/htdig-general ------------------------------------------------------------------- Gregory Hicks | Principal Systems Engineer Cadence Design Systems | Direct: 408.576.3609 555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3400 San Jose, CA 95134 | Internet: gh...@ca... I am perfectly capable of learning from my mistakes. I will surely learn a great deal today. "A democracy is a sheep and two wolves deciding on what to have for lunch. Freedom is a well armed sheep contesting the results of the decision." - Benjamin Franklin "The best we can hope for concerning the people at large is that they be properly armed." --Alexander Hamilton |