[Porting coreutils] Problem with configure script
Posted: Sat Oct 20, 2012 2:05 pm
Hi,
I am currently trying to port coreutils to my OS, but something is wrong with the configure script. I have encountered the problem with several versions of coreutils (between 7.5 and 8.9). Concretely, the configure script sticks on "checking for a traditional french locale...". I have built an OS-specific toolchain with GCC 4.4.3 and Newlib 1.20.0.
Here is how I invoke the configure script (from directory build-myos) :
And the output :
I have already ported other programs (namely that is dash, make and nano), and this is the first time I face such a problem.
Thanks in advance for your help.
I am currently trying to port coreutils to my OS, but something is wrong with the configure script. I have encountered the problem with several versions of coreutils (between 7.5 and 8.9). Concretely, the configure script sticks on "checking for a traditional french locale...". I have built an OS-specific toolchain with GCC 4.4.3 and Newlib 1.20.0.
Here is how I invoke the configure script (from directory build-myos) :
Code: Select all
../coreutils-7.5/configure --build=$BUILD --host=$HOST --prefix=$PREFIX --disable-nls
with :
BUILD=i686-linux-gnu (given by gcc -dumpmachine)
HOST=i586-pc-myos
PREFIX=/usr/local/cross
Code: Select all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-pc-myos-strip... i586-pc-myos-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for i586-pc-myos-gcc... i586-pc-myos-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-pc-myos-gcc accepts -g... yes
checking for i586-pc-myos-gcc option to accept ISO C89... none needed
checking dependency style of i586-pc-myos-gcc... gcc3
checking for i586-pc-myos-gcc option to accept ISO C99... -std=gnu99
checking for i586-pc-myos-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether i586-pc-myos-gcc -std=gnu99 and cc understand -c and -o together... yes
checking how to run the C preprocessor... i586-pc-myos-gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether i586-pc-myos-gcc -std=gnu99 needs -traditional... no
checking for i586-pc-myos-ranlib... i586-pc-myos-ranlib
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i586-pc-myos
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... no
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 _LARGEFILE_SOURCE value needed for large files... no
configure: autobuild project... GNU coreutils
configure: autobuild revision... 7.5
configure: autobuild hostname... joe-pc
configure: autobuild timestamp... 20121020T194449Z
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for arpa/inet.h... no
checking for sys/param.h... yes
checking for sys/socket.h... no
checking for dirent.h... yes
checking for errno.h... yes
checking for libgen.h... yes
checking for fcntl.h... yes
checking for float.h... yes
checking for wctype.h... yes
checking for stdio_ext.h... yes
checking for sys/vfs.h... no
checking for sys/fs_types.h... no
checking for netdb.h... no
checking for netinet/in.h... no
checking for termios.h... yes
checking for sys/time.h... yes
checking for iconv.h... yes
checking for stdint.h... (cached) yes
checking for wchar.h... yes
checking for inttypes.h... (cached) yes
checking for math.h... yes
checking for sys/mman.h... no
checking for unistd.h... (cached) yes
checking for sys/statvfs.h... no
checking for sys/select.h... no
checking for utmp.h... no
checking for utmpx.h... no
checking for locale.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for time.h... yes
checking for priv.h... no
checking for utime.h... yes
checking for sys/wait.h... yes
checking for sys/ioctl.h... yes
checking for hurd.h... no
checking for paths.h... yes
checking for stropts.h... no
checking for sys/resource.h... yes
checking for sys/systeminfo.h... no
checking for syslog.h... no
checking for grp.h... yes
checking for pwd.h... yes
checking for OS.h... no
checking whether the preprocessor supports include_next... yes
checking for d_ino member in directory struct... no
checking whether system is Windows or MSDOS... no
checking for long file names... yes
checking for pathconf... no
checking for btowc... yes
checking for canonicalize_file_name... no
checking for resolvepath... no
checking for dup2... yes
checking for fchdir... no
checking for mempcpy... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for __fpending... no
checking for fpurge... yes
checking for __fpurge... yes
checking for __freading... no
checking for ftruncate... no
checking for lchmod... no
checking for fdopendir... no
checking for fstatfs... no
checking for microuptime... no
checking for nanouptime... no
checking for flockfile... no
checking for funlockfile... no
checking for __fsetlocking... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mbrlen... yes
checking for isascii... yes
checking for mprotect... no
checking for fchmod... no
checking for alarm... no
checking for readlink... no
checking for utmpname... no
checking for utmpxname... no
checking for wcscoll... yes
checking for setenv... yes
checking for settimeofday... no
checking for stime... no
checking for sigaction... yes
checking for sigaltstack... no
checking for siginterrupt... no
checking for tzset... yes
checking for pipe... yes
checking for futimes... no
checking for futimesat... no
checking for futimens... no
checking for utimensat... no
checking for vasnprintf... yes
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for wctob... yes
checking for strxfrm... yes
checking for directio... no
checking for nl_langinfo... yes
checking for endgrent... no
checking for endpwent... yes
checking for fchown... no
checking for iswspace... yes
checking for mkfifo... no
checking for setgroups... no
checking for sethostname... no
checking for sync... yes
checking for sysctl... no
checking for sysinfo... no
checking for tcgetpgrp... yes
checking for C/C++ restrict keyword... __restrict
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale...
Thanks in advance for your help.