On Wed, May 18, 2011 at 10:44 AM, Southanon Touy Ratsamy
<[email protected]> wrote:
> My flags are empty.
>
> BACKWARD_COMPATIBLE_CREATEREPO_OPTS_FOR_CENTOS=''
>
> Do you think the problem is with my createrepo version?
In ./mak/rpm.m4 you'll find this autoconf macro
# Allows you to create centos repos on fedora
AS_VERSION_COMPARE('0.5.0', [`createrepo --version | awk '{print $NF}'`],
[BACKWARD_COMPATIBLE_CREATEREPO_OPTS_FOR_CENTOS="--checksum=sha"],,)
AC_SUBST(BACKWARD_COMPATIBLE_CREATEREPO_OPTS_FOR_CENTOS)
and the AS_VERSION_COMPARE macro is documented as such:
— Macro: AS_VERSION_COMPARE (version-1, version-2, [action-if-less],
[action-if-equal], [action-if-greater])
Compare two strings version-1 and version-2, possibly containing shell
variables, as version strings, and expand action-if-less,
action-if-equal, or action-if-greater depending upon the result. The
algorithm to compare is similar to the one used by strverscmp in glibc
(see String/Array Comparison).
So on your system, this macro is not doing the write thing. However,
the story does not end here... The macro AS_VERSION_COMPARE ships
with autoconf 2.66 or above so i include a copy of the
AS_VERSION_COMPARE in ./config/autoconf-2.66.m4 and found a way to
load the local copy IF a definition is not already found in the
autoconf installed in the OS.
So without access to your machine, I cannot tell where the exact
problem is, but maybe you can drill in. I build on Fedora 14 64bit
this is strange indeed.
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/