[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex bug (only in rpm?)
From: |
Kevin Dalley |
Subject: |
Re: regex bug (only in rpm?) |
Date: |
24 May 2001 02:51:05 -0700 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
The 4.1.6-3 release is officially an alpha release. The source code
for that release is available from
ftp://alpha.gnu.org/gnu/findutils-4.1.7.tar.gz
I think that this will solve your problem. At least it works
correctly on my machine.
Thanks for your bug report. I hope that this response answers your
question.
Adam Monsen <address@hidden> writes:
> I'm whining (pipe it to grep!) but regex support seems buggy in find 4.1.
> It looks like it's including regex.c v0.12, and a comment in this file
> says "Implements POSIX draft P10003.2/D11.2, except for
> internationalization features." Yet, POSIX character classes, ranges, and
> possibly other features seem to be unsupported in some cases.
>
> This seems quite wrong:
> address@hidden adamm]$ find . -regex '\./[A-Z]+'
> ./Desktop
> ./scripts
> ./bin
> ./movies
> ./ref
> ./tmp
> ./mbox
>
> I installed findutils-4.1.6-3-i386.rpm. The 4.1 tarball gave me the
> following error on make install:
> --------------------8<--------------------
> address@hidden findutils-4.1]$ make install
> for subdir in lib find xargs locate doc testsuite; do \
> echo making install in $subdir ; \
> (cd $subdir; make install); \
> done
> making install in lib
> make[1]: Entering directory `/tmp/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 `}'
> make[1]: *** [nextelem.o] Error 1
> make[1]: Leaving directory `/tmp/findutils-4.1/lib'
> making install in find
> make[1]: Entering directory `/tmp/findutils-4.1/find'
> gcc -c -DHAVE_CONFIG_H -I.. -I../lib -g -O fstype.c
> fstype.c:34:15: not enough arguments for macro "strstr"
> make[1]: *** [fstype.o] Error 1
> make[1]: Leaving directory `/tmp/findutils-4.1/find'
> making install in xargs
> make[1]: Entering directory `/tmp/findutils-4.1/xargs'
> gcc -c -DHAVE_CONFIG_H -I.. -I../lib -g -O xargs.c
> xargs.c:63:15: not enough arguments for macro "strstr"
> make[1]: *** [xargs.o] Error 1
> make[1]: Leaving directory `/tmp/findutils-4.1/xargs'
> making install in locate
> make[1]: Entering directory `/tmp/findutils-4.1/locate'
> gcc -c -DHAVE_CONFIG_H -I.. -I../lib
> -DLOCATE_DB=\"/home/adamm/bin/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 `/tmp/findutils-4.1/locate'
> making install in doc
> make[1]: Entering directory `/tmp/findutils-4.1/doc'
> ../mkinstalldirs /home/adamm/bin/info
> cd .; for file in *.info*; do \
> /usr/bin/install -c -m 644 $file /home/adamm/bin/info/$file; \
> done
> make[1]: Leaving directory `/tmp/findutils-4.1/doc'
> making install in testsuite
> make[1]: Entering directory `/tmp/findutils-4.1/testsuite'
> make[1]: Nothing to be done for `install'.
> make[1]: Leaving directory `/tmp/findutils-4.1/testsuite'
> --------------------8<--------------------
>
> --
>
> Adam Monsen
> Web Programmer, ClassMates.com
> http://adammonsen.com
> W(425)873-1342 ext.1147
> C(206)910-6964
> H(425)204-9184
>
>
> _______________________________________________
> Bug-findutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-findutils
>
--
Kevin Dalley
address@hidden