bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

findutils won't compile under Mandrake


From: Jim Nicholson
Subject: findutils won't compile under Mandrake
Date: Tue, 10 Sep 2002 01:00:25 -0400 (EDT)

First, the Mandrake 8.2 version of locate is missing and whereis is
severely hobbled.  Could someone contact those people to "help" them fix
their "problem".

My problem is that findutils won't play nice with <string.h>
and possibly another header.

System: Mandrake 8.2 w/ updated compiler (gcc 3.2)

Problem: Use of __extension__ in /usr/include/string.h freaks out this
package.  I tried to convince it to use strings.h instead, but, the change
to config.h after ./configure didn't take.  Don't know why.

Bug:
Make fails w/ following message:

address@hidden findutils-4.1]# make
for subdir in lib find xargs locate doc testsuite; do \
  echo making all in $subdir ; \
  (cd $subdir; make all); \
done
making all in lib
make[1]: Entering directory `/home/jim/perl_modules/findutils-4.1/lib'
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O nextelem.c
nextelem.c:35: parse error before "__extension__"
nextelem.c:35: `__len' undeclared here (not in a function)
nextelem.c:35: initializer element is not constant
nextelem.c:35: parse error before "if"
nextelem.c:35: conflicting types for `__retval'
nextelem.c:35: previous declaration of `__retval'
nextelem.c:35: warning: data definition has no type or storage class
nextelem.c:35: parse error before '}' token
make[1]: *** [nextelem.o] Error 1
make[1]: Leaving directory `/home/jim/perl_modules/findutils-4.1/lib'
making all in find
make[1]: Entering directory `/home/jim/perl_modules/findutils-4.1/find'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O fstype.c
fstype.c:33: parse error before "__extension__"
fstype.c:33: `__len' undeclared here (not in a function)
fstype.c:33: initializer element is not constant
fstype.c:33: parse error before "if"
fstype.c:33: conflicting types for `__retval'
fstype.c:33: previous declaration of `__retval'
fstype.c:33: warning: data definition has no type or storage class
fstype.c:33: parse error before '}' token
make[1]: *** [fstype.o] Error 1
make[1]: Leaving directory `/home/jim/perl_modules/findutils-4.1/find'
making all in xargs
make[1]: Entering directory `/home/jim/perl_modules/findutils-4.1/xargs'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O xargs.c
xargs.c:64: parse error before "__extension__"
xargs.c:64: `__len' undeclared here (not in a function)
xargs.c:64: initializer element is not constant
xargs.c:64: parse error before "if"
xargs.c:64: conflicting types for `__retval'
xargs.c:64: previous declaration of `__retval'
xargs.c:64: warning: data definition has no type or storage class
xargs.c:64: parse error before '}' token
xargs.c: In function `main':
xargs.c:255: warning: return type of `main' is not `int'
make[1]: *** [xargs.o] Error 1
make[1]: Leaving directory `/home/jim/perl_modules/findutils-4.1/xargs'
making all in locate
make[1]: Entering directory `/home/jim/perl_modules/findutils-4.1/locate'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib
-DLOCATE_DB=\"/usr/local/var/locatedb\"  -g -O ../find/version.c
make[1]: *** No rule to make target `../lib/libfind.a', needed by
`locate'.  Stop.
make[1]: Leaving directory `/home/jim/perl_modules/findutils-4.1/locate'
making all in doc
make[1]: Entering directory `/home/jim/perl_modules/findutils-4.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jim/perl_modules/findutils-4.1/doc'
making all in testsuite
make[1]: Entering directory
`/home/jim/perl_modules/findutils-4.1/testsuite'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/home/jim/perl_modules/findutils-4.1/testsuite'


Here is the output of my ./configure:
address@hidden findutils-4.1]# ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) $ -E
checking for a BSD compatible install... (cached) $$/usr/bin/install -c
checking for ranlib... (cached) ranlib
checking whether make sets $MAKE... (cached) yes
checking for AIX... no
checking for minix/config.h... (cached) no
checking for POSIXized ISC... no
checking for -lsun... (cached) no
checking for fcntl.h... (cached) yes
checking for string.h... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking whether sys/types.h defines makedev... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for -ldir... (cached) no
checking whether stat file-mode macros are broken... (cached) no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking how to get filesystem type... no
checking for uid_t in sys/types.h... (cached) yes
checking for size_t... (cached) yes
checking for pid_t... (cached) yes
checking for ino_t... (cached) yes
checking for dev_t... (cached) yes
checking for st_blocks in struct stat... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for working const... (cached) yes
checking for memcmp... (cached) yes
checking for memset... (cached) yes
checking for mktime... (cached) yes
checking for stpcpy... (cached) yes
checking for strdup... (cached) yes
checking for strftime... (cached) yes
checking for strspn... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for fchdir... (cached) yes
checking for getcwd... (cached) yes
checking for strerror... (cached) yes
checking for -lintl... (cached) yes
checking for strftime... (cached) yes
checking for vprintf... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for -lsun... (cached) no
checking for -lseq... (cached) no
checking for getmntent... (cached) yes
checking whether closedir returns void... (cached) no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating find/Makefile
creating xargs/Makefile
creating locate/Makefile
creating doc/Makefile
creating testsuite/Makefile
creating config.h






reply via email to

[Prev in Thread] Current Thread [Next in Thread]