[CentOS] apr buildconf fails

Sun Jun 15 02:38:58 UTC 2014
Tim Dunphy <bluethundr at gmail.com>

Guys,


I'm trying to install apr-util on centos 5.7. And it's failing with a
python error:


buildconf: generating 'make' outputs ...
Traceback (most recent call last):
  File "build/gen-build.py", line 230, in <module>
    main()
  File "build/gen-build.py", line 56, in main
    h_deps[os.path.basename(fname)] = extract_deps(fname, legal_deps)
  File "build/gen-build.py", line 198, in extract_deps
    inc = _re_include.match(line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
buildconf: rebuilding rpm spec file
[root at uszmpaplp005lc apr-util-1.5.1]# build/gen-build.py
Traceback (most recent call last):
  File "build/gen-build.py", line 230, in <module>
    main()
  File "build/gen-build.py", line 56, in main
    h_deps[os.path.basename(fname)] = extract_deps(fname, legal_deps)
  File "build/gen-build.py", line 198, in extract_deps
    inc = _re_include.match(line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
[root at uszmpaplp005lc apr-util-1.5.1]# /root/apr-1.5.1/buildconf
buildconf: checking installation...
buildconf: python version 2.7 (ok)
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.22 (ok)
buildconf: copying libtool helper files using /usr/bin/libtoolize
buildconf: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
buildconf: creating include/arch/unix/apr_private.h.in ...
buildconf: creating configure ...
buildconf: generating 'make' outputs ...
Traceback (most recent call last):
  File "build/gen-build.py", line 230, in <module>
    main()
  File "build/gen-build.py", line 56, in main
    h_deps[os.path.basename(fname)] = extract_deps(fname, legal_deps)
  File "build/gen-build.py", line 198, in extract_deps
    inc = _re_include.match(line).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
buildconf: rebuilding rpm spec file


I was wondering if anyone had any advice they could give on how to get past
this error.

Thanks
Tim

-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B