Hi everyone, I met a erro on the HP-UX system when I compile with the R-2.15.2.tar.gz. the command and erro are shown as follows, I try many times hope anyone can help me. Thanks! $ cd R-2.15.2 $ bash ./configure --with-readline=no --with-x=no checking build system type... ia64-hp-hpux11.23 checking host system type... ia64-hp-hpux11.23 loading site script './config.site' loading build-specific script './config.site' checking for pwd... /usr/bin/pwd checking whether builddir is srcdir... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether ln -s works... yes checking for bison... no checking for byacc... no checking for ar... ar checking for a BSD-compatible install... tools/install-sh -c checking for sed... /usr/bin/sed checking for which... /usr/bin/which checking for less... no checking for more... /usr/bin/more checking for gtar... no checking for gnutar... no checking for tar... /usr/bin/tar checking for tex... no checking for pdftex... no configure: WARNING: you cannot build PDF versions of the R manuals checking for pdflatex... no configure: WARNING: you cannot build PDF versions of vignettes and help pages checking for makeindex... no checking for makeinfo... no configure: WARNING: you cannot build info or HTML versions of the R manuals checking for texi2dvi... no checking for kpsewhich... no checking for unzip... no checking for zip... no checking for gzip... /usr/contrib/bin/gzip checking for bzip2... /usr/local/bin/bzip2 checking for firefox... no checking for mozilla... /opt/mozilla/mozilla using default browser ... /opt/mozilla/mozilla checking for acroread... no checking for acroread4... no checking for xdg-open... no checking for evince... no checking for xpdf... no checking for gv... no checking for gnome-gv... no checking for ggv... no checking for okular... no checking for kpdf... no checking for open... no checking for gpdf... no checking for kghostview... no configure: WARNING: I could not determine a PDF viewer checking for notangle... false checking for pkg-config... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking how to run the C preprocessor... gcc -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether __attribute__((visibility())) is supported... no checking whether gcc accepts -fvisibility... no checking whether g77 accepts -fvisibility... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking for Objective C++ compiler... trying some possibilities checking whether g++ can compile ObjC++... yes g++ checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking the maximum length of command line arguments... 1536000 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/ccs/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64 checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -p output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU Fortran 77 compiler... (cached) yes checking whether g77 accepts -g... (cached) yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... hpux11.23 dld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... hpux11.23 dld.so checking how to hardcode library paths into programs... immediate checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 static flag -static works... no checking if g77 supports -c -o file.o... yes checking if g77 supports -c -o file.o... (cached) yes checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... hpux11.23 dld.so checking how to hardcode library paths into programs... immediate checking for cos in -lm... yes checking for sin in -lm... yes checking for dlopen in -ldl... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking dl.h usability... yes checking dl.h presence... yes checking for dl.h... yes checking for dlfcn.h... (cached) yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking floatingpoint.h usability... no checking floatingpoint.h presence... no checking for floatingpoint.h... no checking fpu_control.h usability... no checking fpu_control.h presence... no checking for fpu_control.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking whether setjmp.h is POSIX.1 compatible... yes checking whether sigsetjmp is declared... yes checking whether siglongjmp is declared... yes checking for GNU C library with version >= 2... no checking return type of signal handlers... void checking for uint64_t... yes checking for pid_t... yes checking for size_t... yes checking whether SIZE_MAX is declared... no checking for blkcnt_t... yes checking for type of socket length... socklen_t * checking for stack_t... yes checking for intptr_t... yes checking for uintptr_t... yes checking whether byte ordering is bigendian... yes checking for an ANSI C-conforming const... yes checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for inline... inline checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of double... 8 checking size of long double... 16 checking size of size_t... 4 checking whether we can compute C Make dependencies... yes, using gcc -std=gnu99 -MM checking whether gcc -std=gnu99 supports -c -o FILE.lo... yes checking for gcc -std=gnu99 option to support OpenMP... unsupported checking how to get verbose linking output from g77... -v checking for Fortran 77 libraries of g77... -L/usr/local/lib -L/usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2/../../.. -lfrtbegin -lg2c -lm checking how to get verbose linking output from gcc -std=gnu99... -v checking for C libraries of gcc -std=gnu99... -L/usr/local/lib -L/usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2/../../.. checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-mangling scheme... lower case, underscore, extra underscore checking whether g77 appends underscores to external names... yes checking whether g77 appends extra underscores to external names... yes checking whether mixed C/Fortran code can be run... yes checking whether g77 and gcc -std=gnu99 agree on int and double... yes checking whether g77 and gcc -std=gnu99 agree on double complex... yes checking for g77 option to support OpenMP... unsupported checking whether g++ accepts -M for generating dependencies... yes checking for g++ option to support OpenMP... unsupported checking whether we can compute ObjC Make dependencies... no checking for shl_load in -ldld... yes checking for xmkmf... no checking for off_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether alloca is declared... yes checking whether expm1 exists and is declared... yes checking whether hypot exists and is declared... yes checking whether log1p exists and is declared... yes checking whether log2 exists and is declared... yes checking whether log10 exists and is declared... yes checking whether nearbyint exists and is declared... yes checking whether nearbyintl exists and is declared... yes checking whether powl exists and is declared... yes checking whether rint exists and is declared... yes checking whether rintl exists and is declared... yes checking whether va_copy exists and is declared... yes checking for isblank... yes checking for fseeko... yes checking for ftello... yes checking for matherr... no checking whether fcntl exists and is declared... yes checking whether getgrgid exists and is declared... yes checking whether getpwuid exists and is declared... yes checking whether kill exists and is declared... yes checking whether sigaction exists and is declared... yes checking whether sigaltstack exists and is declared... yes checking whether sigemptyset exists and is declared... yes checking whether fdopen exists and is declared... yes checking whether popen exists and is declared... yes checking whether setenv exists and is declared... no checking whether unsetenv exists and is declared... no checking whether getrlimit exists and is declared... yes checking whether getrusage exists and is declared... yes checking whether getpriority exists and is declared... yes checking whether chmod exists and is declared... yes checking whether mkfifo exists and is declared... yes checking whether stat exists and is declared... yes checking whether umask exists and is declared... yes checking whether gettimeofday exists and is declared... yes checking whether utimes exists and is declared... yes checking whether times exists and is declared... yes checking whether access exists and is declared... yes checking whether chdir exists and is declared... yes checking whether execv exists and is declared... yes checking whether ftruncate exists and is declared... yes checking whether getcwd exists and is declared... yes checking whether geteuid exists and is declared... yes checking whether getuid exists and is declared... yes checking whether link exists and is declared... yes checking whether readlink exists and is declared... yes checking whether symlink exists and is declared... yes checking whether sysconf exists and is declared... yes checking whether utime exists and is declared... yes checking whether clock_gettime exists and is declared... yes checking whether timespec_get exists and is declared... no checking for clock_gettime in -lrt... yes checking for putenv... yes checking whether putenv is declared... yes checking for vasprintf... no checking whether vasprintf is declared... no checking for mempcpy... no checking for realpath... yes checking whether realpath is declared... yes checking whether glob exists and is declared... yes checking for isnan... yes checking whether isfinite is declared... yes checking whether isnan is declared... yes checking whether you have IEEE 754 floating-point arithmetic... yes checking whether putenv("FOO") can unset an environment variable... no checking whether putenv("FOO=") can unset an environment variable... no checking for nl_langinfo and CODESET... yes checking for mkdtemp... no checking for strdup... yes checking for strncasecmp... yes checking whether mkdtemp is declared... no checking whether strdup is declared... yes checking whether strncasecmp is declared... yes checking for library containing connect... none required checking for library containing gethostbyname... none required checking for library containing xdr_string... -lnsl checking for __setfpucw... no checking for working calloc... yes checking for working isfinite... yes checking for working log1p... yes checking whether ftell works correctly on files opened for append... yes checking for working sigaction... yes checking whether mktime sets errno... yes checking complex.h usability... yes checking complex.h presence... yes checking for complex.h... yes checking for double complex... yes checking whether C99 double complex is supported... yes checking whether cabs exists and is declared... yes checking whether carg exists and is declared... yes checking whether cexp exists and is declared... yes checking whether clog exists and is declared... yes checking whether csqrt exists and is declared... yes checking whether cpow exists and is declared... yes checking whether ccos exists and is declared... yes checking whether csin exists and is declared... yes checking whether ctan exists and is declared... yes checking whether cacos exists and is declared... yes checking whether casin exists and is declared... yes checking whether catan exists and is declared... yes checking whether ccosh exists and is declared... yes checking whether csinh exists and is declared... yes checking whether ctanh exists and is declared... yes checking for cblas_cdotu_sub in vecLib framework... no checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv... no checking for iconvlist... no checking for iconv... no, consider installing GNU libiconv checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking whether mbrtowc exists and is declared... no checking whether wcrtomb exists and is declared... no checking whether wcscoll exists and is declared... yes checking whether wcsftime exists and is declared... yes checking whether wcstod exists and is declared... yes checking whether mbstowcs exists and is declared... yes checking whether wcstombs exists and is declared... yes checking whether wctrans exists and is declared... no checking whether iswblank exists and is declared... yes checking whether wctype exists and is declared... yes checking whether iswctype exists and is declared... yes configure: error: Support for MBCS locales is required. $ [[alternative HTML version deleted]]