[pcre-dev] [Bug 1434] New: README is wrong about --with-pcre…

Top Page
Delete this message
Author: Tony Reix
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1434] New: README is wrong about --with-pcregrep-bufsize=50K
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1434
           Summary: README is wrong about  --with-pcregrep-bufsize=50K
           Product: PCRE
           Version: 8.34
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: work:tiny
          Severity: bug
          Priority: low
         Component: Documentation
        AssignedTo: ph10@???
        ReportedBy: tony.reix@???
                CC: pcre-dev@???



README file says that default buffer size can be changed by:

--with-pcregrep-bufsize=50K

K is not understood by ./configure.
Rather, it should be said all numeric, like:

--with-pcregrep-bufsize=51200


So, README should be changed, and ./configure should fail if given 50K .



$ ./configure --with-pcregrep-bufsize=50K ; make ; make test
....
./configure: line 18914: test: 50K: integer expression expected
....

Buffer size for pcregrep ........ : 50K


  CC       pcregrep-pcregrep.o
pcregrep.c:161:23: erreur: fixed-point types not supported for this target
pcregrep.c:162:24: erreur: fixed-point types not supported for this target
pcregrep.c: In function ‘help’:
pcregrep.c:924:56: erreur: fixed-point types not supported for this target
make[1]: *** [pcregrep-pcregrep.o] Erreur 1
make[1]: quittant le répertoire «
/home/reixt/FromOldPC/FromOldPC/Projets/LinuxOnPower/Tools/PCRE/pcre-8.34 »
make: *** [all] Erreur 2
make  check-am
make[1]: entrant dans le répertoire «
/home/reixt/FromOldPC/FromOldPC/Projets/LinuxOnPower/Tools/PCRE/pcre-8.34 »
  CC       pcregrep-pcregrep.o
pcregrep.c:161:23: erreur: fixed-point types not supported for this target
pcregrep.c:162:24: erreur: fixed-point types not supported for this target
pcregrep.c: In function ‘help’:
pcregrep.c:924:56: erreur: fixed-point types not supported for this target
make[1]: *** [pcregrep-pcregrep.o] Erreur 1
make[1]: quittant le répertoire «
/home/reixt/FromOldPC/FromOldPC/Projets/LinuxOnPower/Tools/PCRE/pcre-8.34 »
make: *** [check] Erreur 2



  CC       pcregrep-pcregrep.o
In file included from pcregrep.c:47:0:
config.h:252:26: error: fixed-point types not supported for this target
 #define PCREGREP_BUFSIZE 50K
                          ^


When using --with-pcregrep-bufsize=51200 , everything is OK.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email